Suggestions on how to solve the following problem would be appreciated.
I get the following error message for one file when compiling a set of
files using ant. This is on Windows XP, using Ant version 1.4.1 compiled
on October 11 2001 (I have to use that version as this is the verison the
customer uses).
> [javac]
J:\j2ee\home\applications\bei\1.0.0\web-src\src\beiDatasetIterator.java:27:
>Interface java.util.Iterator of class
ca.bc.gov.srm.app.bei.beiDatasetIterator
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>not found.
>^^^^^^^^^^^
> [javac] public class beiDatasetIterator implements Iterator
> [javac] ^
However, if I run the compile by hand by cut and pasting the javac command
from the ant -verbose output ("[javac] Compilation args:") then the file
compiles with no problem.
Also, if I compile by simply typing
javac beiDatasetIterator.java -d ..\bei-web\WEB-INF/classes
using the classpath already in my environment then again the file compiles
with no problem.
So what could be wrong? and how do I fix it? This is the only .java file
that implements an interface, if that makes a difference, but the other
files do use numerous other standard java things with no problems (e.g.
java.sql.*, java.util.*, java.io.*, ...etc...)
Thanks for any feedback.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>