To be honest, your best bet is to capture OCL in separate text files (one
for each class with file extension .ocl), and then link them using URLs to
the appropriate model elements. It depends on what you intend on doing with
the OCL. For example, if you wish to generate executable assertions in Java,
then you can use the Dresden OCL parser with an XMI file exported from Rose.
Check out http://www.klasse.nl (Jos Warmer's site) for example OCL files and
links to OCL tools and resources. Also bear in mind that OCL 2.0 is not far
away, and tool support is likely to be much better when UML 2.0 is finally
ratified.
I know Stuart Kent (pUML) and his colleagues have been working on an
executable language based on OCL which fits in with the OMG's initiative on
model-driven architecture. Big things are in the pipeline, so stick with OCL
because it is about to become a lot more important!
Best of luck
Jason Gorman
http://www.precisexp.org
----- Original Message -----
From: "Henrique Narciso" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 4:25 PM
Subject: (ROSE) Using OCL with ROSE
>
> Hi,
> I would like to use OCL in some models of Rose, can anyone tell me what
> I have to do?
> Thanks
> ************************************************************************
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Admin.Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *
> * To: [EMAIL PROTECTED]
> * Subject:<BLANK>
> * Body: unsubscribe rose_forum
> *
> *************************************************************************
>
>
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************