Try this link (from an earlier post) http://gump.covalent.net/jars/2002-08-27/ant-contrib/
-----Original Message----- From: dhaval panchal [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:17 AM To: Ant Users List Subject: RE: Properties file Hi, I have downloaded ant-contrib 1.0b1 and searched achieves for 'propertycopy' and could not find any reference. Can any one pls forward a link pr relevant doc. thanks and regards, dhaval -----Original Message----- From: Koegel, Michael [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 1:50 PM To: Ant Users List Subject: AW: Properties file Hi, see the <propertycopy> task from ant-contrib. Search for propertycopy on the archive for examples. --MK -----Ursprüngliche Nachricht----- Von: dhaval panchal [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 29. August 2002 10:12 An: [EMAIL PROTECTED] Betreff: Properties file Hi, I'll describe the scenario in brief and put my Q? after that. Scenario: I have a properties file Name: abc.properties Contents: Key1:value1 A target in my build is 1. <target name="my_target" > 2. <input 3. message="please provide the key to retrieve" 4. addproperty="key.name" 5. /> 6. <property resource="abc.properties" /> 7. <echo message="${ ${key.name} } " /> 8. </target> Problem: User is asked to input a key value at line 2.The value is used as property 'key.name' in 'my_target' . say user inputs 'key1' After loading the properties file 'abc.properties' (line 6) I want to 'echo' ' value1' (value for key1 in abc.properties). Line 7 in my_target does not give me the expected results. Is there any other way i can acheieve my objective? Thanks and Regards, Dhaval Panchal -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ************************************************************************** The information transmitted herewith is sensitive information intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>