There is an <input> 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 <property name="finalValue" value="${userInput}.home" />
Edward Mann <[EMAIL PROTECTED]> wrote: 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 the user will ever edit. What i want is for the users to type in project2 and the ant script will checkout from subversion that project and put it in the path for project2.home. Is this possible with ant? I would need to append the .home to the end of the project name so i can get it's home directory. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.