ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan.T...@epiphany.com
Subject RE: creating clearcase sandbox with ant
Date Thu, 04 Apr 2002 06:25:39 GMT
Run "cleartool man mkview" to get the mkview help page. The following is
example from the help page showing how to create a snapshot view from the
command line.

cleartool mkview -tag smg_jaz -snapshot -vws
\\pluto\c_share\vw_store\winproj\smg_jaz E:\views\smg_jaz

Here's how to execute the same command and set the config spec from Ant:

<target name="createview">
	<exec executable="cleartool" failonerror="true">
		<arg line="mkview -tag smg_jaz -snapshot -vws
\\pluto\c_share\vw_store\winproj\smg_jaz E:\views\smg_jaz"/>
	</exec>

	<!--- By default, the above command will create a snapshot view with
the default config spec (main/LATEST). 
	You need to execute a "cleartool setcs" like the following to set
the view with the desired config spec -->
	
	<exec dir="E:\views\smg_jaz" executable="cleartool"
failonerror="true">
		<arg line="setcs E:\views\configspec\myconfigspec"/>
	</exec>
</target>

-----Original Message-----
From: Rosmon_Sidhik@i2.com [mailto:Rosmon_Sidhik@i2.com]
Sent: Wednesday, April 03, 2002 7:37 PM
To: Franz, Paul
Cc: ant-user@jakarta.apache.org
Subject: RE: creating clearcase sandbox with ant


Hi Paul,
Thanks, but any idea how this can actually be done.
Regards,
Rosmon


"Man was designed for accomplishment, engineered for Success and endowed 
with seeds of greatness"




"Franz, Paul" <PFranz@glog.com>
03/28/02 05:42 PM

 
        To:     "'Rosmon_Sidhik@i2.com'" <Rosmon_Sidhik@i2.com>, 
ant-user@jakarta.apache.org
        cc: 
        Subject:        RE: creating clearcase sandbox with ant


You will need to execute the appropriate "cleartool mkview" command and 
set
the config spec. This will need to be done via an exec task.

Paul Franz

-----Original Message-----
From: Rosmon_Sidhik@i2.com [mailto:Rosmon_Sidhik@i2.com]
Sent: Wednesday, March 27, 2002 7:05 AM
To: ant-user@jakarta.apache.org
Subject: creating clearcase sandbox with ant


Hi,
I need to use ant to create a clearcase sandbox(snapshot).
Does somebody have any idea or if anybody has done......do shed some 
light???
Regards,
Rosmon


"Man was designed for accomplishment, engineered for Success and endowed 
with seeds of greatness"



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message