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 name
Messages: 92
Registered: July 2009
Member
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
point.

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
org.eclipse.epsilon.examples.standalone
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.

Best,

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


Current Time: Tue Sep 16 13:34:29 GMT 2014

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

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