ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject AW: Empty properties
Date Thu, 19 Dec 2002 13:44:34 GMT
I usually set the properties with a default value directly for using them.

        <property name="myprop" value="default" />

Because property can be only set once the default is only used if the
property isn´t set before.
And I can be sure, that im my task (<echo>) the property has a valid value.
If an empty value is valid write
        <property name="myprop" value="" />

Hope that helps.

Jan Matèrne

-----Ursprüngliche Nachricht-----
Von: Kyrre Lugg []
Gesendet am: Donnerstag, 19. Dezember 2002 16:30
Betreff: Empty properties

Is it possible to make ant not to use the property name of unset 
properties, so that


does not print


We'd prefer it to be empty instead...

Kyrre Lugg

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message