OCL to Java [message #911247] |
Tue, 11 September 2012 04:30  |
Eclipse User |
|
|
|
Hi,
I am working to create ecore models programmatically and creating multiple different xmi (Ecore's instantiation) programatically and using setting delegates to fetch the derived values in java. This process is quite time taking as delegates are not thread safe.
In JUNO, are delegates thread safe?
Is there any functionality available to prgramtically generate java compiled version of Ecore model and then instantiate java compiled version to fetch the derived values?
Regards,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: OCL to Java [message #941450 is a reply to message #911971] |
Fri, 12 October 2012 10:25  |
Eclipse User |
|
|
|
Hi
I've just pushed an updated code generator tom GIT master that is
between 3 and 30 times faster than the Ecore-based or Pivot-based
interpreters.
The code generated approach is nominally thread-safe; ant suggestions on
tools that might improve on 'reasonable endeavours'?
Testing of the code generator is currently limited to about 30
constraints used during editor validation and four speed benchmarks, so
it's not yet ready for a formal release.
Expect further non-trivial speed-ups once the current direct OCL to
Java with Acceleo is prefaced by some QVTo strategic analyses to resolve
Common SubExpressions, Potential Types and Null/Invalid handling.
An N-build should be available at
http://www.eclipse.org/modeling/mdt/downloads/?project=ocl soon
(tomorrow); it's available now at
https://hudson.eclipse.org/hudson/job/buckminster-mdt-ocl-tools-kepler-master/lastSuccessfulBuild/artifact/.
Come to the Fast, Faster and Super-Fast queries talk at EclipseCon
Europe to hear more.
Regards
Ed Willink
On 12/09/2012 18:18, Ed Willink wrote:
>> and what is the possibility for early intermediate release?
> Quite good. The new evaluation is much better, and uses no Kepler-only
> technology. I'll aim at getting it out for EclipseCon Europe. (late
> October).
|
|
|
Powered by
FUDForum. Page generated in 0.05451 seconds