NetaB- Thanks for your mail. Peter - Thanks for your thoughtful clarification.
I switched my compiler to Jikes and now see the class files getting produced even if there are a few build errors - exactly what I wanted. Thank you all for the help. -----Original Message----- From: Peter Reilly [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 9:58 AM To: Ant Users List Subject: Re: ANT: JAVAC (No Class Files For an Incomplete Build) By javac here Neta means the javac compiler and not the javac task. It is the compiler that decides whether to generate classes for a failed compilation. Initially Sun's compilers did genenerate classes even if some java files could not compile. The current Sun's compilers do not do this. It makes more sense (IMO) this way as generating classes when the compilation failed used to cause grief. The "failonerror" attribute is not passed to the compiler, it is an internal ant javac task attribute and causes the javac task to report success even it an error is reported by the javac compiler. As Neta saids, one can change the compiler to for example jikes which has differnent chararistics. Peter Neta Bar Tal wrote: >I know this is a javac issue. So I'm attaching how I build my src tree >with javac. When I tried to replace the compiler to jikes , a lot more >classes were built. >There is nothing wrong with the task you run > > > netaB > > > > > --------------------------------------------------------------------- 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]