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:[EMAIL PROTECTED] 
Sent: Thursday, July 22, 2004 4:48 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to