AW: Ant and Java Forking

2009-10-12 Thread Knuplesch, Juergen
Hello, Please show a bit of your Java Code. Otherwise it is difficult to understand what you mean. What is happeneing? Did you ever start Ant sucessfully through a Java application? It is possible to do this! Why do you need to do it prgrammatically? "is because they both use JVM" Do you mean

Re: Ant task to unzip files to a dynamic folder

2009-10-12 Thread Andy Stevens
Varman wrote: Hi, Great thanks..that works. But its not working in windows. For windows we have to give something like See the change in regexp. How can i make it generic for both linux and windows? regexp=".*[\\/]([^\\/]*)\.zip" perhaps? Won't work on linux if you actually have a ba

Problem regarding adding antcall task to some target via JavaScript and script task

2009-10-12 Thread Christian Möller
Hi, I have a problem with the following build script: =

scriptcondition

2009-10-12 Thread ext-simon.steiner
Hi, How can I write a scriptcondition macro? Eg. Thanks

Using on FileSets

2009-10-12 Thread Alexander Ziller
Hey there Im desperatly trying to get an intersection of 2 directories but it doesn't work. The situation: -- Dir1 contains a set of JARs: a.jar b.jar c.jar d.jar e.jar Dir2 contains a subset of the JARs in Dir1: b.jar e.jar I want to get the negative intersection (the stuff from Dir

Re: regexp-type doesn't work as expected/(advertised?)

2009-10-12 Thread Francis GALIEGUE
On Mon, Oct 12, 2009 at 08:40, Francis GALIEGUE wrote: [...] > > Let me be more precise about that. > > If I: > > echo t.xml | sed 's,xml$,txt' > > I get t.txt as an output. As expected. > > I know that Java's .matches() method on a String is a misnomer (it > tries and matches the whole input, unl