Hello,

i don't see any task that uploads files neither in you ccnet config nor in your 
nant build file.
How do you do it? In your msbuild script?

Daniel


Am 14.03.2011 um 17:34 schrieb Pino:

> Sure,
> 
> <project name="ProjectName">
>               
> <workingDirectory>C:\Builds\ProjectName\Working</workingDirectory>
>               <artifactDirectory>C:\Builds\ProjectName\Artifact</
> artifactDirectory>
>               <modificationDelaySeconds>10</modificationDelaySeconds>
> 
>               <triggers>
>                       <intervalTrigger seconds="60" name="continuous" />
>               </triggers>
> 
>               <sourcecontrol type="hg">
>                 <executable>C:\Program Files\Mercurial\hg.exe</executable>
>                 <repo>c:\HG-Repositories\ProjectName\/</repo>
>                 
> <workingDirectory>C:\Builds\ProjectName\Working</workingDirectory>
>               </sourcecontrol>
> 
>               <tasks>
>                       <nant>
>                               <executable>C:\Program Files 
> (x86)\Nant\bin\nant.exe</executable>
>                               
> <baseDirectory>C:\Builds\ProjectName\Working</baseDirectory>
>                               <buildArgs></buildArgs>
>                               <buildFile>ServerConfig.build</buildFile>
>                               <targetList>
>                                       <target>all</target>
>                               </targetList>
>                               <buildTimeoutSeconds>300</buildTimeoutSeconds>
>                       </nant>
>               </tasks>
>       </project>
> 
> On Mar 14, 4:30 pm, Daniel Nauck <[email protected]> wrote:
>> Hello,
>> 
>> can you also post your ccnet config please?
>> 
>> Daniel
>> 
>> Am 14.03.2011 um 17:23 schrieb Pino:
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> We are using Cruise control .net, whenever a new build is triggered
>>> the old website is deleted along with the /Uploads folder with the
>>> users demo content (CMS Site) - I dont want this content in source
>>> control. Does anyone know the command to tell the Build Server not to
>>> delete a directory?
>> 
>>> <?xml version="1.0"?>
>>> <project name="ProjectName" default="all">
>> 
>>>    <description>ProjectName</description>
>> 
>>>    <property name="msbuild.exe" value="C:\WINDOWS\Microsoft.NET\Framework
>>> \v4.0.30319\msbuild.exe" />
>> 
>>>    <target name="clean" description="Cleans all distributables">
>>>    </target>
>> 
>>>    <target name="all" description="Cleans and creates a full build">
>>>            <call target="clean" />
>>>            <call target="build" />
>>>    </target>
>> 
>>>    <target name="build" description="build the project">
>>>            <exec program="${msbuild.exe}">
>>>                    <arg value="src/ProjectName.sln" />
>>>            <arg line = "/p:Configuration=Release" />
>>>            </exec>
>>>    </target>
>> 
>>> </project>
>> 
>>> This is the config section of the build file. It works fine, except
>>> it's replacing as above. Any suggestions?

Reply via email to