ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "subhendukumar mohanty" <subhend...@infy.com>
Subject RE: Javac Task(Urgent Help)
Date Wed, 10 Apr 2002 13:53:00 GMT
Thanks For reply.

But I have tried with failonerror="no" in javac task. It seems that after one of the compilation
error for one class , it does not compile other classes which are not depend upon the failed
class.

Actually in my project there are 700 classes. After compilation of classes , the next task
is to make different jar files for certain group of packages. At the time of build one of
the class failed compilation error. After build I found the jar files does not contain anything.
Then I saw the stage directory for number of classes, I found that it did not compile other
classes which are not dependant on.

Thanks,
Subhendu

-----Original Message-----
From: Diane Holt [mailto:holtdl@yahoo.com]
Sent: Tuesday, April 09, 2002 7:43 PM
To: Ant Users List
Subject: Re: Javac Task(Urgent Help)


> Is there any way to mention in the task so that if one of the file has
> compilation error Ant should skip that class and other classes which
> depends on it , not all the classes.
> And it should compile rest of the class.

failonerror="no"

(It won't tell it to skip other classes that depend on the clunker, but
they'll just fail to compile as well.)

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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


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


Mime
View raw message