Skip to main content


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
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: Fri Sep 20 02:57:39 GMT 2024

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

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

Back to the top