Personal build issue when setting team.scm.deleteDestinationBeforeFetch to false?
![](http://jazz.net/_images/myphoto/bef997926600222f1fb0da739308c4c2.jpg)
2 answers
![](http://jazz.net/_images/myphoto/bef997926600222f1fb0da739308c4c2.jpg)
Example:
Workspace A has component X and Workspace B does not. Component X remains loaded.
Workspace A has component Y with top level item Z loaded (a share) and Workspace B has component Y but Z is not a top level item to be loaded from it.
The build is trying to not interfere with other steps you might have to load from other places (i.e. loading of tools used to build from the repository).
Comments
![](http://jazz.net/_images/myphoto/bef997926600222f1fb0da739308c4c2.jpg)
My case is really simple, one component, with three change sets (A, B, C), each change set introduces a new file, test1.txt test2.txt test3.txt in order, workspace A contains all the change sets, workspace B contains only change set A, request build 1 with workspace A, and then request build 2 with workspace B, now, i suppose only test1.txt exist in the local sandbox on build machine, but the truth is, test2.txt and test3.txt are there too.
![](http://jazz.net/_images/myphoto/7fbb90d53444e7010f1a1674f619e952.jpg)
Depends on what are the roots being loaded. I am assuming you are not using loadrules to restrict what is loaded. If your component looks like:
/MyTopFolder
/MyTopFolder/test1.txt
/MyTopFolder/test2.txt
/MyTopFolder/test3.txt
and you don't have any load rules to restrict what is being loaded, then /MyTopFolder is what is loaded and test2.txt and test3.txt should not be there
If your component looks like
/test1.txt
/test2.txt
/test3.txt
And no load rules then all 3 files are top level items (shares) being loaded and test2.txt and test3.txt would remain since they are shares from a different workspace.
If you wanted to treat the component's root folder as the share, you would need to use a load rule and load it as the top level item.
![](http://jazz.net/_images/myphoto/bef997926600222f1fb0da739308c4c2.jpg)
My component looks like this,
/test1.txt
/test2.txt
/test3.txt
so is there any way to make sure that each personal build with different workspace just load the files the workspace have, no more, no less?
![](http://jazz.net/_images/myphoto/7fbb90d53444e7010f1a1674f619e952.jpg)
You would need to use a load rules. Specifically you need an ItemLoadRule to load the component root directory. See https://jazz.net/library/article/1015
Comments
sam detweiler
Jul 07 '14, 7:14 a.m.does the 1st build start before u request build 2?
Makson Lee
Jul 07 '14, 8:02 a.m.Actually, i request build 2 after build 1 is complete.