Why does requesting build delete files which are not part of stream
I have a "Command line - Jazz build engine" whose main task is to get the contents from the stream on to a folder, which contains files and folders which are not part of Stream. (they cannot be part of any stream)
In the build definition I have unchecked "Delete directory before loading"
What happens is that whenever a build is requested, the build deletes all the files which are not part of Stream.
My expectation was that the build will update the workspace without deleting the existing contents.
Is this the expected behavior of the build ?\
we are using RTC 4.0
In the build definition I have unchecked "Delete directory before loading"
What happens is that whenever a build is requested, the build deletes all the files which are not part of Stream.
My expectation was that the build will update the workspace without deleting the existing contents.
Is this the expected behavior of the build ?\
we are using RTC 4.0
3 answers
Yes, this is expected behaviour -- it tries to bring the load directory into sync with what's in the build workspace being loaded. If you want it to leave certain files alone (e.g. generated .o files or something), then you should add these to the ignore list (.jazzignore file).
Comments
Thanks Heather for the info. I'm finally had enough breathing room to circle back around and try this. I was following the article's link but RTC barfed. When I 'load as' all the individual folders and then go back to preferences to create a load rule, RTC throws an error. The only details is "An error occurred" - "java.lang.NullPointerException".
The only problem I see is that the load rule isn't working on files. I also suspect the error above came cause I also did a 'load as...' on some files. The files in question would be located right under c:\winceXX\Platform\.project and .jazzignore.
So unless I'm doing something wrong then the load rules won't work for us cause the rules only appear to work on a folder level not a file level as well. If however files would work in the load rules then this would work for us.
The only problem I see is that the load rule isn't working on files. I also suspect the error above came cause I also did a 'load as...' on some files. The files in question would be located right under c:\winceXX\Platform\.project and .jazzignore.
So unless I'm doing something wrong then the load rules won't work for us cause the rules only appear to work on a folder level not a file level as well. If however files would work in the load rules then this would work for us.