How can I exclude symbolic link from load?
![]()
Hi,
I've a single project with files for many platform (osx, linux, windows). In this project there are some folders that contain symbolic links that are used when I launch a build on linux/osx. But if I try to load the workspace on windows I get the symbolic link creation error.
Is there a way to avoid loading of symbolic links? Perhaps using load rules? I've tried the exclude filter by extension but it seems not work.
|
2 answers
![]()
I've a project with the following structure
-Project
- folder1
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).
I've tried the following:
<?xml version="1.0" encoding="UTF-8"?><!--Built from the sandbox "D:\WS\OldServer" and the workspace "Mobile_Workspace_Michele"--><!--Generated: 2014-10-20 19.04.01--><scm:sourceControlLoadRule xmlns:scm="http://com.ibm.team.scm" eclipseProjectOptions="import" version="1">
<parentLoadRule>
<component name="TestComponent"/>
<parentFolder repositoryPath="/"/>
<exclude>
<filter pattern="*folder3*"/>
</exclude>
</parentLoadRule>
</scm:sourceControlLoadRule>
but it does not work. I've also tried with filter name="folder" but it is the same.
Comments
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
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.