Hi,
Did anyone manage to open .bat files from
ant? I'm trying to open the
tomcat console through ant tasks.
I'm doing this:
I also tried this with no success:
The error is:
start-tomcat:
[exec] The CATALINA_HOME environment variable is not defined correctly
[exec] This environment variable is needed to run this program
This is a little strange though since TOMCAT_HOME is defined correctly (i also set another env var CATALINA_HOME, no luck).
I have no problem opening tomcat6.exe though, even if it doesn't show the window, but the process is there when i open windows task manager.
Can anyone help? Thanks.
Edit: i'm using jdk 1.6, tomcat 6 and ant 1.7 from eclipse ganymede, but it doesn't work when i run the task outside of eclipse either.