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: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | 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
