<property file="${properties.file}"/>
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Lothar Krenzien <[EMAIL PROTECTED]> wrote on 11/09/2005 11:06:09 AM:
>
> 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]
>