Here is the content of the "Processed" tab in CCValidator for that
project :
<project>
<askForForceBuildReason>None</askForForceBuildReason>
<category />
<artifactDirectory>d:\build_auto\artifacts\test</
artifactDirectory>
<workingDirectory>d:\build_auto\working\test</workingDirectory>
<externalLinks />
<initialState>Started</initialState>
<labeller type="defaultlabeller">
<incrementOnFailure>False</incrementOnFailure>
<initialBuildLabel>1</initialBuildLabel>
<labelFormat>0</labelFormat>
<postfix />
<prefix />
</labeller>
<maxSourceControlRetries>5</maxSourceControlRetries>
<modificationDelaySeconds>0</modificationDelaySeconds>
<name>test</name>
<parameters />
<prebuild />
<publishers>
<xmllogger>
<logDir>d:\build_auto\logs</logDir>
<dynamicValues />
</xmllogger>
</publishers>
<queue>test</queue>
<queuePriority>0</queuePriority>
<security type="inheritedProjectSecurity" />
<sourcecontrol type="svn">
<authCaching>None</authCaching>
<autoGetSource>True</autoGetSource>
<checkExternals>False</checkExternals>
<checkExternalsRecursive>True</checkExternalsRecursive>
<cleanCopy>False</cleanCopy>
<cleanUp>True</cleanUp>
<deleteObstructions>False</deleteObstructions>
<dynamicValues />
<executable>svn</executable>
<forceUpdate>False</forceUpdate>
<password>********</password>
<revert>False</revert>
<tagOnSuccess>False</tagOnSuccess>
<timeout units="minutes">20</timeout>
<trunkUrl>http://someurl</trunkUrl>
<revisionNumbers>False</revisionNumbers>
<username>xxxxxxx</username>
<workingDirectory>d:\build_auto\sources</workingDirectory>
</sourcecontrol>
<sourceControlErrorHandling>ReportEveryFailure</
sourceControlErrorHandling>
<startupMode>UseLastState</startupMode>
<state type="state">
<directory>C:\Program Files\CruiseControl.NET\server\</
directory>
</state>
<stopProjectOnReachingMaxSourceControlRetries>False</
stopProjectOnReachingMaxSourceControlRetries>
<tasks>
<msbuild>
<buildArgs>/v:quiet /noconlog /p:Configuration=Release</
buildArgs>
<dynamicValues />
<executable>C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\MSBuild.exe</executable>
<priority>Normal</priority>
<projectFile>test.dproj</projectFile>
<targets />
<timeout>300</timeout>
<workingDirectory>d:\build_auto\sources\test</
workingDirectory>
</msbuild>
</tasks>
<triggers />
<webURL>http://DEV-BUILD/ccnet</webURL>
</project>
I looked in the d:\build_auto\sources\test folder but nothing is
created there either.
On 2 juil, 10:16, Ruben Willems <[email protected]> wrote:
> Hi
>
> can you use CCValidator, and mail the parsed result. (or via the dashboard -
> view project configuration)
> You can see how CCNet undestands the parsed information.
>
> I suspect that there is something we mis-interpret.
> --> we think it is in d:\build_auto\artifacts\test
> but it is really another folder
>
> with kind regards
> Ruben Willems
>
> On Fri, Jul 2, 2010 at 9:56 AM, OBones <[email protected]> wrote:
> > The artifacts folder gets created (d:\build_auto\artifacts\test) but
> > it is remains empty
>
> > On 2 juil, 09:53, Ruben Willems <[email protected]> wrote:
> > > is the output in the artifact?
>
> > > artifacts folder of your project.
>
> > > if it is not there, there is something else wrong
>
> > > On Fri, Jul 2, 2010 at 9:27 AM, OBones <[email protected]> wrote:
> > > > Thanks,
>
> > > > I tried removing the logger, it did not change a thing.
> > > > It looks as if the output is not written anywhere and stays in memory.
>
> > > > I'm quite lost here.
>
> > > > Regards
> > > > Olivier
>
> > > > On 2 juil, 07:58, Ruben Willems <[email protected]> wrote:
> > > > > Hi
>
> > > > > if you're using ccnet 1.5, remove the logger from the msbuild task.
> > > > > Maybe that's the problem.
>
> > > > > also the xmlLogger, I just use the standard one
>
> > > > > <publishers>
> > > > > <xmllogger />
> > > > > </publishers>
>
> > > > > just trying to pinpoint the problem ...
>
> > > > > with kind regards
> > > > > Ruben Willems
>
> > > > > On Thu, Jul 1, 2010 at 5:11 PM, OBones <[email protected]> wrote:
> > > > > > Hello,
>
> > > > > > I'm new to CruiseControl.Net but following the documentation
> > available
> > > > > > I was able to setup a test MSBuild project along with SVN checkout.
> > > > > > For this test, I give a non existing project to MSBuild to see how
> > > > > > this behaves.
> > > > > > The SVN part works just fine, and the build fails, as I expected.
> > > > > > Looking at the CruiseControl.Net console, I see the output from
> > > > > > msbuild complaining about the missing project file but when looking
> > in
> > > > > > the artifacts folder, there is no msbuild-output.xml file that gets
> > > > > > created in my artifacts folder.
> > > > > > Then looking at the Dashboard, I do not get any details in the
> > build
> > > > > > report. Only when looking at the build log do I get the MSB1009
> > error
> > > > > > message.
>
> > > > > > Maybe I missed something obvious, or I did not parameter things
> > > > > > properly but I'm quite lost right now.
>
> > > > > > Here is the ccnet.config file :
>
> > > > > > <cb:define MainDir="d:\build_auto" />
> > > > > > <cb:define SourcesDir="$(MainDir)\sources" />
> > > > > > <cb:define LogsDir="$(MainDir)\logs" />
> > > > > > <cb:define ArtifactsDir="$(MainDir)\artifacts" />
> > > > > > <cb:define WorkingDir="$(MainDir)\working" />
>
> > > > > > <project name="Test">
> > > > > > <artifactDirectory>$(ArtifactsDir)\test</artifactDirectory>
> > > > > > <workingDirectory>$(WorkingDir)\test</workingDirectory>
> > > > > > <prebuild>
> > > > > > </prebuild>
> > > > > > <tasks>
> > > > > > <msbuild>
> > > > > > <workingDirectory>$(SourcesDir)\test</workingDirectory>
> > > > > > <projectFile>test.dproj</projectFile>
> > > > > > <buildArgs>/v:quiet /noconlog /p:Configuration=Debug</
> > > > > > buildArgs>
> > > > > > <targets></targets>
> > > > > > <timeout>300</timeout>
> > > > > > <logger>c:\Program Files\CruiseControl.NET\server
> > > > > > \Rodemeyer.MsBuildToCCNet.dll</logger>
> > > > > > </msbuild>
> > > > > > </tasks>
> > > > > > <publishers>
> > > > > > <xmllogger logDir="$(LogsDir)" />
> > > > > > </publishers>
> > > > > > </project>
>
> > > > > > I removed the sourcecontrol node as it works just fine.
> > > > > > I also believe I have configured the logger correctly, following
> > > > > > instructions on this page :
>
> >http://confluence.public.thoughtworks.org/display/CCNETCOMM/Improved+.
> > > > ..
>
> > > > > > Many thanks in advance for your help
>
> > > > > > Regards
> > > > > > Olivier