My Java application is started by running a set of commands that are present in a batch file (.bat file). And I imported this into Eclipse workbench. How do I execute the batch file from Eclipse. Similar to the one in command line, I directly give "path:\myBatchfile.bat". Is there any way I can do directly from Eclipse.
+10
A:
You can call your .bat file using the External Tools feature (in the Run menu).
Csaba_H
2009-07-07 04:39:37
A:
Or, you could create an ant build file, which can call external applications.
This will give you the advantage to call the .bat not only from Eclipse, but other IDE's, or from command line (on any machine).
Mercer Traieste
2009-07-07 06:15:55