ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kasparek, Bernadette" <>
Subject AW: Rename a property value
Date Mon, 21 Feb 2005 07:08:40 GMT
I want to tar different sources to different Archives. I tried the if-Task
from the Ant-Contrib and it works.

Thanks for all your help. 

-----Urspr√ľngliche Nachricht-----
Von: Thomas Schapitz [] 
Gesendet: Samstag, 19. Februar 2005 01:26
An: Ant Users List
Betreff: Re: Rename a property value

Sorry, but this won't work this way. In Ant properties are just like 
variables declared as 'final',
meaning: they can get set only once.

What is it, that you like to achieve?


Kasparek, Bernadette schrieb:

>Hi everybody,
>I've a problem. I want to define a property which I want to rename in the
>Main-Target, so that I can use it with different values.
>In detail I have the following code:
><property name="" value="tar.default"/>
><target name="main> 
>	<property name="" value="new"/> 
>	<antcall target="tar-all"/> <-- here I will use the property
>My problem is, that it always take the first value. Is there a way how I
>rename the value?
>Bernadette Kasparek

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

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