Hi, I have a directory contains hundreds of subdirectories and more than
5000 files. If I use the javac task on this directory, it always fails with
the error out of resources. Therefore I am trying to use the foreach task on
each subdirectories, but the javac always complains about package not found
error.
Suppose I have the following directory structures
Src/
sub1/
type1.java
type2.java
sub2/
class1.java
class2.java
...
When the foreach task iterates on each subdirectory, for instance the sub2
directory, if the file class1.java references the type sub1.type1, the javac
always complains the package sub1 not found. I include the Src into the
classpath, but it does not help. Could you please let me know what is the
right way to do it?
Louis