ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Comparison length for processing as a condition
Date Thu, 07 May 2009 11:53:26 GMT
Where do you set ${HOST}?
Have you checked its value?

Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: coonay [mailto:coonay@yahoo.com] 
>Gesendet: Donnerstag, 7. Mai 2009 10:59
>An: user@ant.apache.org
>Betreff: Comparison length for processing as a condition
>
>
>i want to test if a string is longer than a number,in the 
>build.xml file:
>
>  <condition property="isValidHost">
>     <length  string="${HOST}" when="gt" length="100" />
>  </condition>
>
>
>  isValidHost is always not set when the ant runing,what's the 
>problem ?
>
>  is there any other way i can get it done?thanks so much
>-- 
>View this message in context: 
>http://www.nabble.com/Comparison-length-for-processing-as-a-con
>dition-tp23422758p23422758.html
>Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message