Stefan Bodewig wrote:
> <target name="check">
>   <available name="java1.2" classname="java.lang.ThreadLocal" />
> </target>
> 
> <target name="dieIfCheckFailed" unless="java1.2">
>   <die message="Need JDK >= 1.2 to work" />
> </target>

I like this style...if a command I need for a build to finish simply
isn't there, I want to build to stop, immediately, with non-zero exit
status. A <die> task would be trivial to write and I would use it at
least.

BTW +1 also on <help>How to use me...</help> syntax, it's a neat idea.

-Jesse

-- 
Jesse Glick   <mailto:[EMAIL PROTECTED]>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR

Reply via email to