Hi Mark, There is a <prebuild> section in the config - http://confluence.public.thoughtworks.org/display/CCNET/Project+Configuration+Block. However, this will run task between the modification check and the source control get, so it is not much good for what you want.
The < tasks> section will run though the tasks sequentially, so you could add a task to change the read-only attribute before the MSBuild task. There was another post on a similar topic: http://groups.google.com/group/ccnet-user/browse_thread/thread/3cabb2c22f44f836. Hope this helps, Craig On Apr 4, 9:55 am, Mmarquee <[email protected]> wrote: > Hi > > I am trying to setup CruiseControl.net to check out Delphi 2009 > projects from a Seapine Surrond Source Control System, and am having a > problem which I can't find a solution for. > > The code is donwloaded from Surround, and then MSBuild is called, all > of which is exactly how I would expect. MSBuild calls the brcc32 > Resource compiler, which fails to build properly as it starts to > create read-only .tmp files in the directory (they are read only as > the code is checked out as read only), and then stops as it can't > write to the read only files. If I make the files read-write and the > manally call MSBuild, then the code compiles. > > So, is there any way that I can force the Surround system to download > as read-write (there is an option on the UI to do this), or can I run > something (<prebuild>???) between the checkout and the MSBuild ? > > Any help would be appreciated, so thanks in advance > > Mark H
