A minor feature of the Eclipse Java compiler is that you can run it from the command line .
This works well (after fixing the plexus compiler merge to use the latest version).
My problem: stack traces are different when compiling code from the command line. For example, when I run the compiler in the IDE, I get this output:
at com.some.Foo.method(Foo.java:312)
but when I compile the code from the command line, I get the following:
at com.some.Foo.method(com.some.Foo:312)
^^^^^^^^^^^^
What's going on here???
Analysis of class files using javapgives:
SourceFile: "Foo.java"
and
SourceFile: "com.some.Foo"
Any ideas what might cause this?
source
share