Hi all, I had successfully extracted the compilation log present in my IDE into some one xml file very well.So inorder to merge it i had mentioned in my ccnet.config file inside the publisher task using the section.But when i force my build,i am able to get the output.xml file correctly but error comes in ccnet.config window that unable to merge as this file is currently used by some other process.please see below.
[VSAT:ERROR] Publisher threw exception: ThoughtWorks.CruiseControl.Core.CruiseC ontrolException: Unable to read the contents of the file: C: \ThreePartition\outp ut.xml ---> System.IO.IOException: The process cannot access the file 'C:\ThreeP artition\output.xml' because it is being used by another process. Can u please suggest me any method by which merging can be done successfully. I have pasted the whole ccnet.config file below.
<cruisecontrol>
<project name="VSAT">
<sourcecontrol type="filtered">
<sourceControlProvider type="filesystem">
<repositoryRoot>C:\ThreePartition</repositoryRoot>
<autoGetSource>true</autoGetSource>
<ignoreMissingRoot>false</ignoreMissingRoot>
</sourceControlProvider>
<exclusionFilters>
<pathFilter>
<pattern>C:\ThreePartition\wrSbc750gx_ThreePartition\**</pattern>
</pathFilter>
<pathFilter>
<pattern>C:\ThreePartition\*.txt</pattern>
</pathFilter>
<pathFilter>
<pattern>C:\ThreePartition\*.xml</pattern>
</pathFilter>
</exclusionFilters>
</sourcecontrol>
<triggers>
<intervalTrigger name="continuous" seconds="240"
buildCondition="IfModificationExists" />
</triggers>
<tasks>
<nant>
<executable>C:\Nant-0.85\bin\NAnt.exe</executable>
<buildFile>nant.build</buildFile>
</nant>
</tasks>
<publishers>
<merge>
<files>
<file>C:\ThreePartition\output.xml</file>
</files>
</merge>
<xmllogger logDir="C:\Program Files\CruiseControl.NET\server\DF2.0-CI
\Logfiles" />
<email from="[email protected]"
mailhost="smtp.servermail.com" includeDetails="TRUE">
<users>
user name="Maddy" group="buildmaster"
address="[email protected]"/>
</users>
<groups>
<group name="buildmaster" notification="always"/>
<group name="developers" notification="change"/>
</groups>
</email>
</publishers>
</project>
</cruisecontrol>