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
cher %ANT_ARGS% -cp > "%CLASSPATH%" %ANT_CMD_LINE_ARGS% > > -Original Message- > From: Gabriel Petrovay [mailto:gabipetro...@gmail.com] > Sent: den 9 februari 2011 13:07 > To: user@ant.apache.org > Subject: Run ant with java from Powershell > > Hi! > >

RE: Run ant with java from Powershell

2011-02-09 Thread Mikael Petterson
ail.com] Sent: den 9 februari 2011 13:07 To: user@ant.apache.org Subject: Run ant with java from Powershell Hi! Did somebody manage to launch ant form the ant.jar with java? I cannot make it work. I must include all the jars in a certain directory in the classpath. Using java 6, I tried: jav

Run ant with java from Powershell

2011-02-09 Thread Gabriel Petrovay
Hi! Did somebody manage to launch ant form the ant.jar with java? I cannot make it work. I must include all the jars in a certain directory in the classpath. Using java 6, I tried: java -cp "D:\Software\webtest\lib\*" org.apache.tools.ant.Main and I get: Exception in thread "main" java.lang.No