Righardt, This is now fixed in cvs, and the fix will be part of the next nightly build or release.
Gert > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Marais Righardt > Sent: woensdag 12 april 2006 11:09 > To: 'nant-developers@lists.sourceforge.net' > Cc: '[EMAIL PROTECTED]' > Subject: [nant-dev] VSSGet via NAnt.Contrib.Tasks > > 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.RemoveDeletedFromLocalIm > age(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('NANTCONTR > IB_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]> > > > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers