I don't remember the exact source I found the information, but
essentially this does not work. The token will not work with a variable
:(

-----Original Message-----
From: Lothar Krenzien [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 09, 2005 8:06 AM
To: user@ant.apache.org
Subject: passing the name of a property file as parameter



Hi,

I have an Ant script which should use a property file.  But I want to
pass the name of the file as an argument from a script. I've red the FAQ
but can't get it working :(

Here's an example of what I want to do:
--windows.bat
ant deploy -Dproperty.file=properties.win

--linux.bat
ant deploy -Dproperty.file=properties.linux

--build.xml
        <echo>properties:${property.file}</echo>

displays nothing for me. I even tried to define the property first:
        <property name="property.file" value="" />

So what I'm doing wrong ?

Thanks, Lothar


______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei
WEB.DE FreeMail: http://f.web.de/?mc=021193


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to