Gary is right here. You don't "get" files from ClearCase as you would with SourceSafe or PVCS. Instead they are managed through Views. If you use the UCM model, then the content of the view is managed by the delivery model between streams, if you don't, then the view content is managed by the ConfigSpec. This can specify which labels/versions etc to use. You can either create Dynamic Views where ClearCase effectively creates a virtual network drive, or snapshot views where the files are copied locally onto your hard disk. If you use a snapshot view, you will have to manually synchronise with the archive by performing an Update View command, if you use dynamic views, this is automatic.
For build purposes, you can either maintain a permanent view, or create one on the fly. If you create one on the fly, then you will need to use the <exec> task to shell the cleartool utility. HTH, Bill -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gary Feldman Sent: 28 November 2005 17:19 To: Ponvannan P; nant-users@lists.sourceforge.net Subject: [Nant-users] Re: [nant-dev] Help required regarding getting files from SCM(Rational ClearCase) Ponvannan P wrote: > I am working on .Net Framework 2.0 , Rational ClearCase( ) as SCM > tool, Nant 0.85 rc3 as build tool and Nunit2.2 as Unit Test Tool. > > My problem is i need to get the latest files from ClearCase depending > on any of the following > > a)LatestFiels > > b)label > > c)versionnumber. > > using Nant build script. > > I've put this reply on the nant-users list, as it seemed inappropriate for the nant-dev list. I don't know of any ClearCase-specific tasks. There don't seem to be any listed in NAntContrib (http://nantcontrib.sourceforge.net), but there may be some elsewhere. However, ClearCase controls the current set of files in the view through a specification file, which is plain text. So all you really need to do is to create a variety of specification files that meet your needs, and then just use the correct one. If I recall correctly, it's just a specially named file at the top of the view, but I may be wrong about that. If necessary, you can use an exec task to run the clearcase mkview command. In any event, if you're doing any work with ClearCase, you need to understand how it works without NAnt before you do anything using NAnt. Gary ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users