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

Reply via email to