ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Goubard <adagoub...@chello.nl>
Subject Requests for enhancement in Ant 1.7.
Date Mon, 10 May 2004 19:29:15 GMT
Dear Ant users,

 After a discussion in Ant dev mailing list 
(http://marc.theaimsgroup.com/?t=108369006500001&r=1&w=2)
 I've added the 3 following requests for enhancement in bugzilla :
 
 Add "if" and "unless" attributes to the tasks and components.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28882
Examples
 <echo message="username property not set using ${user.name}" 
unless="username"/>
 <checksum file="foo.bar" if="file-exists"/>
 If you would like this feature in Ant, I need your support (like vote 
for this bug or add a comment).
 
 New conditions <containsregexp> and <matchesregexp>
http://issues.apache.org/bugzilla/show_bug.cgi?id=28883
Example
 <condition propery="legal-password">
    <containsregexp pattern="[1-9]" value="${user-input}"/>
 </condition>
 <fail message="Your password should at least contain one number." 
unless="legal-password"/>

 Keep the properties set in a target after <ant> or <antcall>
http://issues.apache.org/bugzilla/show_bug.cgi?id=28884
Example:
  <antcall target="define-versions" keepProperties="true"/>
 If you would like this feature in Ant, I also need your support.

--
Anthony Goubard

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


Mime
View raw message