RE: Run ant with java from Powershell

2011-02-09 Thread Mikael Petterson
2011 13:47 To: Ant Users List Subject: Re: Run ant with java from Powershell I have no notion of ANT_HOME. Ant is only in jars in other products like: webtest or eclipse. I only have the location where anr jars are: MY_ANT_JAR_LOCATION I can do: java -classpath "%MY

RE: Run ant with java from Powershell

2011-02-09 Thread Mikael Petterson
Hi, Simplest thing would be to use: -Original Message- From: Gabriel Petrovay [mailto:gabipetro...@gmail.com] Sent: den 9 februari 2011 13:47 To: Ant Users List Subject: Re: Run ant with java from Powershell I have no notion of ANT_HOME. Ant is only in jars in other products like

Re: Run ant with java from Powershell

2011-02-09 Thread Gabriel Petrovay
I have no notion of ANT_HOME. Ant is only in jars in other products like: webtest or eclipse. I only have the location where anr jars are: MY_ANT_JAR_LOCATION I can do: java -classpath "%MY_ANT_JAR_LOCATION%\ant-launcher.jar" org.apache.tools.ant.launch.Launcher So in your case I don't know

RE: Run ant with java from Powershell

2011-02-09 Thread Mikael Petterson
Hi, Why not try: java %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS% -Original Message- From: Gabriel Petrovay [mailto:gabipetro...@gmail.com] Sent: den 9 februari 2