I have coded a bunch of EOL, ETL and EGL scripts and I can run them one by one using custom ant script launch.xml. It works perfectly in Eclipse, but I need to run it multiple times (~300) with some variable parameters passed from bash console or external program.
The question is how to run the ant script from bash console?
When I type in bash:
ant -buildfile launch.xml
/path/netmodel/trunk/EOL-ETL-EGL-whole-chain/launch.xml:19: Problem: failed to create task or type epsilon.emf.register
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Unfortunately, I was unable to capture the commands that Eclipse executes when clicking on the build button. Epsilon Book says nothing about this case.
I include my launch.xml, although it contains only standard Epsilon entries.
You cannot run Ant tasks intended for Eclipse from a vanilla Ant installation. You need to run an Eclipse headless build, using the antRunner entry point. I haven't needed to do this yet, but I think these articles should be useful:
Thank you for the suggestion. I will definitely try this option. For the current deadline I went through hell of changing the values and clicking it out manually in Eclipse. Personally, I think that this automatization of running an Ant script with Epsilon chain is very important and I am happy to help to contribute this.
However, if others have some ideas, I am happy to read them.
To support running Epsilon's EMF-specific ANT tasks outside Eclipse, we'd probably need to write a build file that assembles a fat jar from the bin folders of the Epsilon core plugins and also injects a copy of the required EMF libraries. We've gone some way towards doing this in  but it needs a bit more work to pick up the EMF libraries.