ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guru Balse <guru.ba...@oracle.com>
Subject Re: halt on javadoc warnings?
Date Tue, 23 Nov 2004 16:34:06 GMT
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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

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


Mime
View raw message