How to get more details of a java compilation

Posted by Farid on Stack Overflow See other posts from Stack Overflow or by Farid
Published on 2010-04-22T15:58:13Z Indexed on 2010/04/22 20:43 UTC
Read the original article Hit count: 453

Filed under:
|
|
|

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

© Stack Overflow or respective owner

Related posts about javac

Related posts about ant