Tuesday, November 15, 2011

Ant in Eclipse - Which CLASSPATH? -

Remember that Eclipse uses the .classpath file to decide the CLASSPATH

Ant uses the CLASSPATH specified in the build.xml

If there is a mismatch, then it is possible that one of them will show an error while the other is happy.

Note also that in our current configuration, Eclipse is compiling to the /bin while Ant is compiling to the /classes

No comments: