Skip to content

Where does System.err of Maven plugin go? #658

Answered by basinilya
basinilya asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is now solved.

  • I didn't manage to reproduce it using Run As -> Eclipse application : doing so was adding some extra libraries to the eclipse classpath completely breaking JXC.
  • Instead I added to eclipse.ini, -vmargs: -Xrunjdwp:transport=dt_socket,address=0.0.0.0:7878,server=y,suspend=y
    and debugged the plugin project org.eclipse.m2e.maven.runtime as a remote java application
  • I had to make sure that in the PDE workspace there're no installed JREs below the "justj" bundled with Eclipse for the JDK sources to be attached correctly
  • For some reason the entry/exit breakpoints weren't hitting on SchemaGenerator$Runner.compile(), but they were on the task it was calling: com.sun.tool…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@mickaelistria
Comment options

@basinilya
Comment options

@mickaelistria
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by basinilya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants