Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-ocl.dev] ODA and OCL Console

Ed,

I've just confirmed myself that everything seems to work OK, except for the unfortunate new dependency on Xtext, the much greater memory requirement, and the fact that I had to increase the PermGen space (-XX:MaxPermSize=128M) in order to use it at all. :P

To try it yourself, you'll need to do the following:

1. Install BIRT (and restart).
2. Install the Extended Library examples using the EMF examples installer.
3. From a runtime workspace, create a new project and a new library model using the EXTLibrary Model example editor.
4. Create a new Report project, switch to the Report Design perspective, and create a report.
5. From the Data Explorer view, create a new data source, selecting the "EMF Ecore Data Source" type.
6. Select the model you created in step 3 as the resource and press 'Finish'.
7. Create a new data set for the data source you created in step 5/6.
8. Now, in the data set editor, you can select a Context Type and type an OCL _expression_ to see the syntax highlighting and content assist. If you switch to the Preview Results page, you should see the results of your query.

Cheers,

Kenn

On Tue, Feb 1, 2011 at 3:57 PM, Ed Willink <ed@xxxxxxxxxxxxx> wrote:
Hi Kenn

Now that M5 is out, there should be clean build that demonstrates OCL within ODA.

Could you provide a simple example so that

a) I can use it with the old LPG-based console
and check that the migration to the Essential OCL Xtext console is not a disaster

b) see whether I can give it a mention in my Enrich Your Models with OCL tutorial.

   Regards

       Ed
_______________________________________________
mdt-ocl.dev mailing list
mdt-ocl.dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mdt-ocl.dev


Back to the top