You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wichan Threamthrakanpon ext <Wi...@devk.de> on 2008/02/06 12:30:16 UTC

Problem debugging classes compiled by plexus-compiler-plugin

Hi all,

as I cannot find any other mailing lists specific to maven plugin, so I guess, this is the right place.

I have a problem with plexus-compiler-eclipse maven plugin. After I compiled source code with plexus plugin, I cannot debug the
generated classes in eclipse debug perspective. The message "source not found" is always shown, eventhough the source was already
added.

After having a look into the generated classes, I found that the debug information is different from the one I compiled with eclipse
jdt. For example,

Debug information from eclipse jdt compiler
Source File Name:   MyClass.java

Debug information from plexus-compiler-eclipse maven plugin
Source File Name:   com.mydomain.myproject.MyClass

This probable causes the problem.

I think, plexus plugin also uses eclipse jdt to compile java source code, but how come the debug information is generated
differently? Do I need to set any plexus-specific arguments to fix this?

Thank you and regards,

Wichan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org