How can I exclude symbolic link from load?
2 answers
- folder1
-folder2-folder3
and I'd like to exclude folder3 from loading (which contains the symbolic links: I'd be more happy to exclude only these but I can exclude the entire folder).
Comments
<?xml version="1.0" encoding="UTF-8"?>
<scm:sourceControlLoadRule xmlns:scm="http://com.ibm.team.scm" eclipseProjectOptions="import" version="1">
<parentLoadRule>
<component name="TestComponent"/>
<parentFolder repositoryPath="/Project/folder1"/>
<exclude>
<filter pattern="*folder3*"/>
</exclude>
<sandboxRelativePath includeRepositoryPath="true"/>
</parentLoadRule>
</scm:sourceControlLoadRule>
The filter is not recursively applied to the children. You'll have to specify each folder. Also add <sandboxRelativePath includeRepositoryPath="true"/> so the item is loaded with the full path.
I've tried but it seems to load only stuff under the folder1 project and not the parent Project itself... (for example, if I have another folder sibling of folder1 it will not be loaded)
Comments
Tim Mok
JAZZ DEVELOPER Oct 21 '14, 10:04 a.m.Load rules would be a good way to do this. The issue is your load rule doesn't work. If you can post the load rule, we may be able to see what's wrong with it.