ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wax, Michael (NBC)" <>
Subject RE: URGENT:Issue with compiler !!!
Date Fri, 16 May 2003 15:59:49 GMT
The number of classes (150) is small; I have worked on cases with over 1000
classes with no problems.

You say that you can compile one folder at a time.  Are all of your classes
in one source tree with a single root node?  I have worked on a legacy
project where the source was broken into several separate trees.  In this
case, my build file contained several javac elements, each with its own
srcdir attribute (and with the classpath for each containing references to
the destdirs of the earlier javac elements). Alternatively, I think a single
javac element with multiple nested src elements would have done the job.

In other words, for the case where there is one tree, then
<javac srcdir="src1" ...> works;
if there are multiple trees,, ..., then I need
	<javac srcdir="src1" ...>
	<javac srcdir="src2" ...>

	<javac ...>
		<src path="src1">
		<src path="src2">

Could this be your problem?

-----Original Message-----
From: Praseed Balakrishan []
Sent: Friday, May 16, 2003 4:51 AM
To: Ant Users List
Subject: RE: URGENT:Issue with compiler !!!

ya there were more than 100 errors and seems to me thats the coz.
tried incremnnting the memeory (as well put fork=true), but it didn't
compiling each folder solves this issue. I have some 150 files to compile
under the source tree and i don't think its so huge.

But guess its the memory issue with the errors thats causing this behaviour.

Any one know of any concrete reason why this is happening ???

-----Original Message-----
From: Bansemir, Carsten []
Sent: Thursday, May 15, 2003 5:38 PM
To: Ant Users List
Subject: AW: URGENT:Issue with compiler !!!

did you turn the verbose output on?
when there are more than 100 errors the compiler quits, an when u compile
seperated folders, it could be that in every folder there are less than 100
errors, so javac runs through the hole compile process.

But I also had problems with the javac1.3 compiler cause I had to add the
source (root) directory of the .java files to the classpath, without, it
compiles nothing (with 1.2 it worked without adding the source path), don't
ask me why ;)

-----Urspr√ľngliche Nachricht-----
Von: Praseed Balakrishan []
Gesendet: Donnerstag, 15. Mai 2003 13:58
Betreff: URGENT:Issue with compiler !!!

Hi All ,

Iam facing some issue with javac compiler.

Earlier i was using javac1.3, when i faced the problem of classes not
getting generated if any one of the java file in the source tree fail to

I switched back to javac1.2 which helped me generated the class files, but
not all.
Im facing a situaltion where, if i write diffrent javac tasks to go thru
each folder and compile, it works, but if i give the whole source tree for
compilation, it fails to generate all class files.

any clues what might be going wrong here.



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

	Because e-mail can be altered electronically, 
	the integrity of this communication cannot be guaranteed.

View raw message