Community
Participate
Working Groups
Build I20030115 1. Start fresh workspace 2. Add J project "Test" 3. Add source folder "src" 4. Add folder "icons" to "src" 5. Ensure only "src" is on the build path and exclude folder "icons" 6. Add file "my.txt" to "icons" folder ==> the delta which is sent out looks like: Java Model[*]: {CHILDREN} Test[*]: {CHILDREN} src/icons/my.txt[+]: {} There should be a resource delta.
You should be excluding "icons/" (note trailing slash). Is it the case ? If not, strictly speaking the contents of the folder isn't excluded (only the folder) as per Ant fileset rules.
It's: <classpathentry excluding="icons/" kind="src" path="src"/> And even if I had "icons" I should get a resource delta, shouldn't I
Element type was wrongly computed as a package fragment root. It was checking that the root info's project contained the project, but it was not checking that the path was exactly the root info's path. Fixed and added regression test ExclusionTests.testAddToExcludedFolder()
Verified.