Skip to main content



      Home
Home » Modeling » Epsilon » Calling EOL from Java
Calling EOL from Java [message #572036] Fri, 31 July 2009 09:52
Eclipse UserFriend
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: Wed Jul 02 23:32:01 EDT 2025

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

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

Back to the top