[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.m2e] Re: m2e Resolve Workspace artifacts problem

I see two separate problems here.

MNGECLIPSE-1224 is not something we are not interested to solve, but rather something that cannot be solved from m2e. At least without killing any hope to get incremental build and in-situ debugging working properly in m2e. Mojos have to provide some support for IDE environment and I do not think there is a way around it. Also see http://jira.codehaus.org/browse/MDEP-187 that has a patch for specific exception you reported.

Debugging Tycho ITs from m2e is another problem. The reason you are not able to put breakpoints is because Tycho runs in a separate JVM during integration tests. I have some ideas how to solve this problem, but for now I just run Tycho from m2e and point it to the project from tycho-its/projects I want to debug.

I am usually on m2e irc channel (irc://irc.codehaus.org/m2eclipse) during regular working hours EDT. Feel free to ping me if you have questions.

--
Regards,
Igor

Will Horn wrote:
I'm having a difficult time working with Tycho due to what appears to be an m2e bug https://issues.sonatype.org/browse/MNGECLIPSE-1224

I cannot run in Eclipse unless I uncheck "Resolve Workspace artifacts". This is preventing me from stepping through the code (debugging).

Is there some other workaround? From the JIRA, it does not seem like there is much interest in addressing the problem so I'm assuming that I am just missing something that everyone else is doing (I have never used m2e before). Is there a way to debug with "Resolve Workspace artifacts" unchecked?

Thanks for any tips!
Will