ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <>
Subject RE: Javac Task(Urgent Help)
Date Wed, 10 Apr 2002 17:32:56 GMT

> -----Original Message-----
> From: Dominique Devienne []

> Failing on compile errors is entirely reasonable to most 
> people. If you
> really want to build as many jars as possible, do not compile all the
> classes at onee. Compile only the classes of each jar by using the
> appropriate <src>, <include>, <exclude>, <patternset>, etc...

> sub-elements
> of <javac> and package these up. The problem with this 
> approach is that
> you're going to have a hard time finding out if it's a good 
> build or not
> without scanning all the log of the build...

Can Ant set a property (or write to a file) based on the result
(success or failure) of a task?

If so, one could compile groups of classes with failonwhateverthatwas
set to false (to get as much compiled as possible (roughly)), and then 
compile everything with the result status noted somewhere to report
whether the build was good. 


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message