ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Porter <>
Subject JavaC problem - inner class not being loaded.
Date Mon, 26 Mar 2001 08:19:24 GMT
Heres the problem....

I compile my 'API' in task One.

I compile my 'test suites' in task Two.

Task two complains that it cannot find an inner class of one of the
complied in task one.
I've check that it is there between the two tasks, and it is. (preformed
javap on the inner & outer class)

If I run the script a second time, it works fine. (keeping the classes
from the first run)
I've tried all the compliers (Jikes, Modern, Classic).
Both test output classes to different directory, both these are on the
If I set the script to complie all the classes except the class that
gives me
problems, then
have another task to complie that last file, it still fails.


I've looked through the log produced by Ant, and it seems that it does
load my inner class.
It loads other inner classes from jars & from disk.
It is a private inner class, but I can't see why that is a problem.

Someone please help.


.........if in doubt, get a hammock

View raw message