ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From coonay <>
Subject Comparison length for processing as a condition
Date Thu, 07 May 2009 08:58:49 GMT

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" />

  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:
Sent from the Ant - Users mailing list archive at

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

View raw message