You only want a single property from the file? Why not simply:

   <property file="${file.name}"/>

If you are concerned that you might overwrite properties you don't
want to overwrite and you only want a select property, use a prefix to
prepend to all of the properties in the property file first:

   <property file="${file.name}" prefix="propfile"/>
   <property name="foo"  value="${propfile.foo}"/>



On 6/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,

is it possible to copy the value from a property-file to an Ant-property?

Regards,
Jason
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter http://produkte.web.de/club/?mc=021131


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




--
--
David Weintraub
[EMAIL PROTECTED]

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

Reply via email to