Reputation: 2344
Is it possible to configure a selection of folders that will not be retrieved from SVN when running a build under CC.NET?
I am releasing from my Trunk directory and there are folders within the Trunk folder that I do not want to retrieve as they contain large files that are not required for the build, we just keep them in SVN for tracking purposes. For example,
Trunk
Our other build servers use SourceGear Vault and you can Cloak a folder given a user account, which means it will not be retrieved from a "Get Latest" request. This is how we did it for those environments.
Upvotes: 2
Views: 235
Reputation: 732
Tim, not sure if you still have this issue as its a few months later; however, I resolved this issue with multiple SourceControl blocks. You can build out the same directory structure and only check out what is needed. Although not ideal, it does resolve this issue.
Upvotes: 2
Reputation: 4055
I don't think you can do it with cc.net. You have a filtered source control block but it filters only for build triggers, not for retrieving.
I think the "good" way would be to make the Folder 2 either a level up or an external because if it's not used for the build, it has nothing to do in the code directory.
Upvotes: 0
Reputation: 115691
Subversion itself supports Sparse Directories - not sure if you can make CC.NET use those, though.
Upvotes: 0