ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject typedef onerror default
Date Thu, 18 Aug 2005 13:13:57 GMT
Why is the onerror default of typedef "fail" and not "failall"?

The effect is that a typedef like this
     <typedef resource="checkstyletask.properties"
              uri="antlib:com.puppycrawl.checkstyle"
      />

will warn but not fail if the property file is missing. Surely a missing 
declaration file is important enough that the default should be "fail 
the build right now".

proposal
  -we change the "new for ant1.7" default to failall
  -we allow for a failuremessage attr that lets you say "add checkstyle 
to your build via -lib" or whatever.

-steve

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


Mime
View raw message