ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: set property within a target
Date Tue, 08 Jun 2004 15:55:18 GMT
Works in exactly that way, but
- if that snippet is all change the order
    <property name="midletDataSize" value="512000" />            
    <echo message="${midletDataSize}" />
- if you have set the prop before it does not work: properties are immutable


Jan

> -----Original Message-----
> From: Samuel Cheung [mailto:SCheung@Novarra.com]
> Sent: Tuesday, June 08, 2004 5:02 PM
> To: 'Ant Users List'
> Subject: set property within a target
> 
> 
> Hi,
> 
>  
> 
> Can you please tell me how to set property within a target?
> 
> 
> This does not work:
> 
> 
> 
> <target name="updateMidletDataSize >
> 
>             <echo message="${midletDataSize}" />
> <!-- the org value of midletDataSize is 4096 -->
>             <property name="midletDataSize" value="512000" />
> 
>       </target>
> 
>  
> 
> Thanks for any help 
> 
> Sam
> 
> 
> 

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