Hi the build publisher is a publisher ;-) so set it in the publisher section.
Is there a reason you wanted it in the task section? with kind regards Ruben Willems On Wed, Jan 28, 2009 at 7:02 AM, sandeep1 <[email protected]> wrote: > > I am using the build publisher in tasks block. My configuration is > here : > > <buildpublisher> > <sourceDir>C:\Projects_workspace\Project</sourceDir> > <publishDir>\\server\Project-Builds</publishDir> > <useLabelSubDirectory>true</useLabelSubDirectory> > <alwaysPublish>false</alwaysPublish> > </buildpublisher> > > but I am getting this exception > > <exception><![CDATA[System.ArgumentException: The UNC path should be > of the form \\server\share. > at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) > at System.IO.Path.GetFullPathInternal(String path) > at System.IO.DirectoryInfo..ctor(String path) > at ThoughtWorks.CruiseControl.Core.Publishers.BuildPublisher.Run > (IIntegrationResult result) > at ThoughtWorks.CruiseControl.Core.Project.RunTasks > (IIntegrationResult result, IList tasksToRun) > at ThoughtWorks.CruiseControl.Core.Project.Run(IIntegrationResult > result) > at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build > (IIntegrationResult result)]]></exception > > Even when I replaced the \\server\Project-Builds with a local path, I > am getting the same errors. Any clues ? >
