On Thu, Oct 16, 2008 at 3:45 PM, Bryan Pendleton
<[EMAIL PROTECTED]> wrote:
>>> 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.
>
> thanks,
>
> bryan
>

I see, thanks Bryan for the clarification...

I'll go back then to do some more tweaking.

Myrna

Reply via email to