Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Maven Integration (M2E) » m2e Resolve Workspace artifacts problem
m2e Resolve Workspace artifacts problem [message #26010] Sun, 10 May 2009 23:05 Go to next message
Will Horn is currently offline Will Horn
Messages: 265
Registered: July 2009
Senior Member
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
Re: m2e Resolve Workspace artifacts problem [message #26137 is a reply to message #26010] Mon, 11 May 2009 00:19 Go to previous message
Eclipse User
Originally posted by: igor.ifedorenko.com

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
Previous Topic:Why is JPoller not avaliable in the repository?
Next Topic:How to write to /src/main/resources?
Goto Forum:
  


Current Time: Sat Apr 19 05:54:14 EDT 2014

Powered by FUDForum. Page generated in 0.03608 seconds