I have downloaded JUNO and ecore file seems working fine in Eclipse JUNO OCL console. I took an dynamic instance of subclass and opertaion worked fine.
I have an application written in netbeans IDE using old jar files. My application also has similar functionality of OCL console, but even after i have replaced all old jar files with new one(JUNO) but still it is giving same error. Do you know which jar files i need to replace in order to have the same effect in my application.
My application was using old jar files but now i have added new jar files but error is still there.
I am again running into same problem. I have updated jar files from JUNO. The ecore i gave ealrier works fine but i have created new which works fine in JUNO ocl console but in my application it does not work.
In JUNO OCL console i get the results from overriden method but in my application it is still results are from method in super class.
Please guide me which jar files i need to get from JUNO?
The new Pivot-based OCL is used within interactive (Xtext-based)
tooling. It coexists with the legacy approaches since the new stuff has
new org.eclipse.ocl.examples... package names. You need to use these in
your application. The API is fairly similar but not identical and as yet
On 22/03/2012 06:19, ModelGeek Mising name wrote:
> I am again running into same problem. I have updated jar files from
> JUNO. The ecore i gave ealrier works fine but i have created new which
> works fine in JUNO ocl console but in my application it does not work.
> In JUNO OCL console i get the results from overriden method but in my
> application it is still results are from method in super class.
> Please guide me which jar files i need to get from JUNO?
i have added all org.eclipse.ocl.examples... jar files but it does not work... As you have mentioned that Pivot-based OCL is used so do i need to change the code for evalution like i am using following code for evaluation
oclDelegateURI = OCLDelegateDomain.OCL_DELEGATE_URI_PIVOT;
(oclDelegateURI, new OCLInvocationDelegateFactory.Global());
(oclDelegateURI, new OCLSettingDelegateFactory.Global());
(oclDelegateURI, new OCLValidationDelegateFactory.Global());
but i getting the error
any idea? what is wrong here, i am not using uml model here then why it is looking for UML package?