ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kataria, Satish" <Satish.kata...@fmr.com>
Subject RE: Entering more than one value through Input task
Date Thu, 22 Jul 2004 11:28:58 GMT
I am not very clear about what you mean from "I want to execute two
files one after the other"
But generally speaking you create a properties file for your build.xml
and enter all the actual values 
In that file. Then all u need to do is provide that properties file as
an argument to your build file.

You can create multiple properties file for different configuration
settings.

Please let me know if I have understood ur problem correctly.

Thanks,
Satish Kataria
-----Original Message-----
From: Deepthi Ramachandran Nair [mailto:Deepthi_Nair@infosys.com] 
Sent: Thursday, July 22, 2004 4:48 PM
To: user@ant.apache.org
Subject: Entering more than one value through Input task


Is it possible for the user to enter more than one parameter from the
command prompt using a single target executing  the Input task ? My make
file is coded as-
 
<target name = "Input_component_name" >
            <input message = "Enter the make file to be executed"
                   addproperty = "MAKE_FILE_NAME" />
         </target>
<target name = "Build" depends = "Input_component_name" >
            <ant antfile = "${MAKE_FILE_NAME}"
                 inheritAll = "true" />
             </target>
 
This allows me to specify the make file that I want to execute. What
should I be doing if I want to execute two files one after the other ?
Would I have to run the same target twice ?
             
 
Regards,
Deepthi R. Nair
ES-EAI Practice
Infosys Technologies Ltd.
Extn.: 54246, Direct : 51174246
Mobile : 98863 49854
 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message