[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: halt on javadoc warnings?
From:       Guru Balse <guru.balse () oracle ! com>
Date:       2004-11-23 16:34:06
Message-ID: 41A3667E.A29C44EE () oracle ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic