I am using the package publisher and I keep getting exceptions every
couple of builds. The last time it happened, I tried to manually
remove the package and it was indeed locked. Any ideas on how to
resolve?
version : 1.5.0.4316
System.IO.IOException: The process cannot access the file 'D:\Sandbox
\Artifacts\TEST.zip' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
at System.IO.File.Delete(String path)
at
ThoughtWorks.CruiseControl.Core.Publishers.PackagePublisher.MoveFile
(IIntegrationResult result, String tempFile)
at ThoughtWorks.CruiseControl.Core.Publishers.PackagePublisher.Run
(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.Project.RunTask(ITask task,
IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.Project.RunTasks
(IIntegrationResult result, IList tasksToRun, Dictionary`2
parameterValues)
at ThoughtWorks.CruiseControl.Core.Project.Run(IIntegrationResult
result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build
(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate
(IntegrationRequest request)
Project: TEST
<package>
<name>test</name>
<compression>0</compression>
<always>true</always>
<flatten>true</flatten>
<single>true</single>
<baseDirectory>D:\BuildOutPut\Temp</baseDirectory>
<manifest type="defaultManifestGenerator" />
<files>
<file>TEST.GZIP</file>
</files>
</package>