Hi I am getting this error message when I try to get latest from VSS of a specific file.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NAnt 0.85 (Build 0.85.1932.0; rc3; 16/04/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/Projects/VSSGetScripts/get_build_files.build
Target framework: Microsoft .NET Framework 1.1
[loadtasks] Scanning assembly "NAnt.Contrib.Tasks" for extensions.
[vssget] Getting '$/Projects/ISAS/Source Code/App Server/AppServer.build' to
'C:\Projects\ISAS\Source Code\App Server'...
[vssget] Removing deleted files from local image...
BUILD FAILED
INTERNAL ERROR
System.Runtime.InteropServices.COMException (0x80042979): This command only work
s on projects.
at SourceSafeTypeLib.VSSItemClass.get_Items(Boolean IncludeDeleted)
at NAnt.Contrib.Tasks.SourceSafe.GetTask.RemoveDeletedFromLocalImage(IVSSItem
item, String localPathPrefix)
at NAnt.Contrib.Tasks.SourceSafe.GetTask.RemoveDeletedFromLocalImage()
at NAnt.Contrib.Tasks.SourceSafe.GetTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug report to [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The script looks like this.
<?xml version="1.0"?>
<project name="release" value="Release">
<!-- Local path to the Release folder -->
<property name="release.root" value="C:\Projects" /> <!-- root build folder -->
<!-- Visual Source-Safe -->
<property name="vss.username" value="builder" /> <!-- vss user name. -->
<property name="vss.password" value="builder" /> <!-- password for vss user name -->
<property name="vss.database" value="C:\Temp\VSS_CCNET\srcsafe.ini" /> <!-- path to the vss db. user executing this build needs rights to this path -->
<property name="vss.release.root" value="$/Projects" /> <!-- root release location -->
<property name="vss.checkoutBin" value="false" /> <!-- default value for vss checkuout -->
<!-- Load the NANTCONTRIB assembly for use with NAnt -->
<loadtasks assembly="${path::combine(environment::get-variable('NANTCONTRIB_DIR'), 'bin/NAnt.Contrib.Tasks.dll')}" />
<!-- Get latest of the build files -->
<!-- Get latest of the Application server build files -->
<vssget username="${vss.username}" password="${vss.password}" localpath="${release.root}\ISAS\Source Code\App Server" recursive="true" removedeleted="true" replace="true" writable="false" dbpath="${vss.database}" path="${vss.release.root}/ISAS/Source Code/App Server/AppServer.build" />
</project>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
thanks
Righardt Marais
Cellular - +27 (0) 82 444 7577
Email - [EMAIL PROTECTED]
Please click on the following link to read the Old
Mutual legal notice:
<http://www.oldmutual.co.za/e-mail_legal_notice>
Alternatively, send a "blank" e-mail to <mailto:[EMAIL PROTECTED]>