How to get more details of a java compilation
- by Farid
Hi,
We are using an ant script in order to build our application. I recently made a change in one jar required by our app. However, when running the ant script, the compilation fails and the error message shown let me think that the compiler is using a previous version of the jar.
Also, compilation throug my IDE works fine. Manual compilation with the javac command and specifying my new jar works as well.
When looking at the classpath used by ant to build, I can see that the jar seems to be the correct one. So I am a bit lost actually, don't know where to look at ... Any ideas ?
I also wanted to know if this is possible to get the path of the jar javac is really using when compiling a particular class ..
Thanks and regards