Community
Participate
Working Groups
Build 20021127 + latest jdtcore 1. Create a Java project with 2 folders: P/src1 and P/src1/src2 and the following .classpath file: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src1" excluding="src2/"/> <classpathentry kind="src" path="src1/src2"/> <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/> <classpathentry kind="output" path="bin"/> </classpath> 2. In P/src1 create package p and class X: package p; public class X { } 3. Build 4. Move package p to P/src1/src2 5. Build Observe: You get an error: 'The declared package does not match the expected package src2.p'
Fixed. Added new test for this case.
Verified.