Community
Participate
Working Groups
I20040609 1. Create 2 Java projects P1 and P2 2. Edit .classpath file in P2: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="/P1/src1/src2"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path="bin"/> </classpath> Observe: Not error are reported in the Problems view It should report the path "/P1/src1/src2" as an invalid entry.
Changed ClasspathEntry.elementDecode(...) to return a source entry if the path has more than one segment. Added regression test ClasspathTests.testInvalidSourceFolder()
Pls backport to 3.0.1
Targeting 3.0.1
Backported fix and test to R3_0_maintenance
Verified for 3.0.1 RC1