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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 7:37 PM
To: Franz, Paul
Cc: [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
03/28/02 05:42 PM

 
        To:     "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]
        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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 7:05 AM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to