Summary: | Duplicate JRE added to project | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tomasz Bartczak <kretes> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | VERIFIED NOT_ECLIPSE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Olivier_Thomann |
Version: | 3.4.2 | ||
Target Milestone: | 3.6 M1 | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Whiteboard: |
Description
Tomasz Bartczak
2009-06-09 05:39:15 EDT
Would you have steps to reproduce? Did you get the same issue with 3.5RC4? I think the problem is with m2eclipse, as You can see in related https://bugs.eclipse.org/bugs/show_bug.cgi?id=279587 it is putting some bad markup in the.classpath file: <classpath> <classpathentry kind="src" output="target/classes" path="src/main/java"/> <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/> <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/config/WEB-INF"/> <classpathentry kind="src" output="target/test-classes" path="src/test/java"/> <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/> <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/> <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> </classpathentry> <classpathentry kind="output" path="target/classes"/> </classpath> look at the JRE_CONTAINER is inside MAVEN2_CLASSPATH_CONTAINER Or it can be on Eclipse's side, if there is an API for addJRELibrary or sth like this and it's not handled properly. Closing as NOT_ECLIPSE. Please report the problem to m2eclipse. I would need more details from the m2eclipse team to find out how they set up the classpath container. Verified for 3.6M1 |