[jboss-dev-forums] [JBoss Microcontainer Development] - Re: m2eclipse or not

thomas.diesler@jboss.com do-not-reply at jboss.com
Wed Sep 16 09:20:55 EDT 2009


It changes the eclipse .classpath file to read


  | <classpath>
  | 	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
  | 	<classpathentry kind="src" output="target/tests-classes" path="src/test/java"/>
  | 	<classpathentry excluding="**" kind="src" output="target/tests-classes" path="src/test/resources"/>
  | 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
  | 	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
  | 	<classpathentry kind="output" path="target/classes"/>
  | </classpath>
  | 

Basically m2eclipse reads the pom to maintain a dynamic classpath container.

If dependencies (also transitive) in the pom change that gets reflected automatically in the eclipse classpath.

I am asking because I see stale classpath definitions, which would not occur if m2eclipse was used.

The down-side (if there is one) would be that folks have to install the m2eclipse plugin.

In short: It doesn't affect you at all ;-)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255546#4255546

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255546



More information about the jboss-dev-forums mailing list