FTP task incredibly slow when listing files

2011-02-09 Thread Jesse Campbell
Apologies if I¹m in the wrong place... I¹ve tried searching and none of the results I¹ve come up with are even close to my problem. I am using the ftp task to pull down a list of files on an ftp server, my task looks like this: It appears (though I have not verified through packet analysis) th

Re: Use/Expand property inside a CDATA section in a replacetoken element

2011-02-09 Thread Dominique Devienne
On Wed, Feb 9, 2011 at 1:15 PM, Michael Hüttermann wrote: > how can I use/expand properties inside a cdata section in a replacetoken > element? The doc says http://ant.apache.org/manual/Tasks/replace.html both / support an expandProperties attribute (since 1.8.0), but also says it defaults to

Use/Expand property inside a CDATA section in a replacetoken element

2011-02-09 Thread Michael Hüttermann
Hello, how can I use/expand properties inside a cdata section in a replacetoken element? I need dynamic values (injected by the user of the script) in both, replacetoken and replacevalue. I need to address the searched string crossing multi lines. Example: The property is not

RE: Run ant with java from Powershell

2011-02-09 Thread Mikael Petterson
Hi, Sorry I sent the reply too quick. Simplest way for you would be to use: java -classpath "D:\Software\webtest\lib\ant-launcher.jar" org.apache.tools.ant.launch.Launcher - eg -debug or -version ... Sorry about providing so much info since I realized that your case is simpler than mine.

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: we

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

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