Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Calling EOL from Java
Calling EOL from Java [message #572036] Fri, 31 July 2009 13:52
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Hi all,

I'm currently playing with running Epsilon (specifically an EOL file) from
Java, using the org.eclipse.epsilon.examples.standalone examples provided
by Epsilon as a starting point, and I've just come into a little stumbling

I find that when I call a specific EOL operation (as per the example in
org.eclipse.epsilon.examples.standalone.eol), it successfully executes
only when the EOL operation definition does not make calls to other EOL
operations. A code snippet is below:

-- overriden method of EpsilonStandaloneExample in
protected Object execute(IEolExecutableModule module) throws
EolRuntimeException {
// get third operation defined in the EOL file, and execute it
EolOperation operation = module.getDeclaredOperations().get(3);
operation.execute(null, parameters, module.getContext());

Am I doing something wrong or I need to somehow explicitly load all used
operations first?

Any pointers would be greatly appreciated.


Previous Topic:[EGL] [newbie] Multiple input models problem
Next Topic:Calling EOL from Java
Goto Forum:

Current Time: Sun Nov 29 17:43:21 GMT 2015

Powered by FUDForum. Page generated in 0.10588 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software