ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1380] New - I think that having conditional fails make more robust build files.
Date Wed, 18 Apr 2001 20:59:12 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1380

*** shadow/1380	Wed Apr 18 13:59:12 2001
--- shadow/1380.tmp.24167	Wed Apr 18 13:59:12 2001
***************
*** 0 ****
--- 1,32 ----
+ +============================================================================+
+ | I think that having conditional fails make  more robust build files.       |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1380                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Enhancement              OS/Version: All                     |
+ |     Priority:                           Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: gholam@xtra.co.nz                                            |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I think I submitted a patch for this a while back but its not in cvs so will do 
+ so through the bugdb.
+ 
+ If you can say ...
+ 
+ <fail unless="blah.property" message="blah.property was not set. This property 
+ must be set for the build to succeed!"/>
+ 
+ It allows more concise validation at init time.
+ Using this methodology I was able to make build files that could inform the 
+ users of what they needed to set up for the build to work in a very clean 
+ manner.
+ 
+ I will attach a patch to this bug report to allow this behaviour.
+ 
+ Michael

Mime
View raw message