db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: Build Report - tinderbox_trunk16 705255 build failed - Sun Database Engineering [Auto-generated mail]
Date Thu, 16 Oct 2008 22:45:28 GMT
>> Perhaps instead of a Java program, you could use a Java task? See
>> org.apache.derbyPreBuild.PropertySetter for an example. I think you
>> basically just take your test and make it throw a BuildException if you
>> want the build to fail.
> Thx Knut, that's what I meant - use a java task to execute a java class.

I think what Knut was suggesting was that you could write a custom
Ant task. That way, if you detect a problem, you can actually cause
the build to fail, in an elegant Ant-integrated fashion, by throwing
Ant's BuildException from your Ant task code.



View raw message