In a windows environment we have an eclipse project (written in Java) that contains multiple run configurations. The run configurations contain the complete set of needed libraries and resource directories.
While in eclipse it is easy to execute the classes in run and debug mode from the run configurations.
We use ANT to compile the project into a JAR file for production purposes.
Once we have the JAR file created, executing it requires typing the complete java.exe command (including all classpath info) into the command prompt.
We generally end up creating bat files to avoid having to type this every time.
The question is, is there a simple way to have eclipse or ANT generate these bat files directly from the run configurations?