One possible solution is to
 * use <loadfile> to load the javadoc output as a property (filtering for 
warnings, if possible),
 * use <contains> to look for egregious warnings,
 * <fail> if appropriate
Of course, if you would like the build to fail while javadoc is running this 
won't help ...

Roberto Juarez wrote:
> 
> Hi folks,
> 
> I would like to know if it is possible to stop a build process when <javadoc> 
> produces warnings.
> 
> Using the failonerror attribute of the <javadoc> task is trivial, but it only 
> works for errors not warnings. I would like to have the same for warnings as 
> for errors.
> 
> Thanks a lot.
> 
> Roberto
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to