M
Martin Gregorie
I've just been rearranging the way I construct and maintain the CLASSPATH
I use for compilations and testing code before it gets jarred up.
Along the way I found an oddity: I keep separate projects in their own
directory structures and, while most projects are happy with the new
CLASSPATH structure, one small one with all sources in a single directory
isn't. If I clear out the .class files and run "javac *.java" everything
works as expected, but if I compile it under ant, javac complains that a
list of non-existent jar files can't be found but still succeeds in
compiling everything, so it looks like an ant problem.
The jar files it is complaining do not appear in the CLASSPATH, though
they were in the previous version. I've even done a cold reboot to make
sure the old class path wasn't lurking in memory somewhere, but this one
project is still seeing them. It has no project-specific ant
configuration either. In consequence I've been tearing my hair out this
afternoon trying to discover where the old class part list might be
lurking: I didn't find anything useful at the ant site or in web
searching. Any suggestions gratefully received.
I use for compilations and testing code before it gets jarred up.
Along the way I found an oddity: I keep separate projects in their own
directory structures and, while most projects are happy with the new
CLASSPATH structure, one small one with all sources in a single directory
isn't. If I clear out the .class files and run "javac *.java" everything
works as expected, but if I compile it under ant, javac complains that a
list of non-existent jar files can't be found but still succeeds in
compiling everything, so it looks like an ant problem.
The jar files it is complaining do not appear in the CLASSPATH, though
they were in the previous version. I've even done a cold reboot to make
sure the old class path wasn't lurking in memory somewhere, but this one
project is still seeing them. It has no project-specific ant
configuration either. In consequence I've been tearing my hair out this
afternoon trying to discover where the old class part list might be
lurking: I didn't find anything useful at the ant site or in web
searching. Any suggestions gratefully received.