Mathieu,
Thanks for your answer it works. I am posting my code here just in case
anyone else is looking for this solution.
in my build.properties file i put the ant-contrib.jar file
ant-contrib.jar=/path/to/ant-contrib.jar
Then in my build.xml file i have the following code
Hello,
Edward Mann a écrit :
(...)
(...)
Right here you probably want instead something like
However you cannot do this as the properties are only evaluated once.
To solve this you can use the task from ant-contrib :
http://ant-contrib.sourceforge.net/ta
I have done that. But my results are not what i expect. Here is my
script.
There is an task that you can use to prompt the user. See
http://ant.apache.org/manual/CoreTasks/input.html.
As for concatenating user input with ".home", you can do
Edward Mann <[EMAIL PROTECTED]> wrote:
I am trying to build an and build process where the user will run ant
and it will p
I am trying to build an and build process where the user will run ant
and it will prompt them for the project. The projects are held in the
build.properties file.
They look like this.
project1.home=/my/project/dev1
project2.home=/my/project/dev2
There are other things in the file but this is all