The ant CCCheckout task allows you to specify branches and versions.
Your goal would look something like the following


 <preGoal name="multiproject:install">
             <ant:cccheckout
viewpath="c:/Projects/project_view/project_VOB"
                     branch="aBranch"
                     version="versionLabelfalse"
                     reserved="false"/>
    </preGoal>

Regards,

Garvin LeClaire
Wellpoint Inc.
Senior Technical Architect
Technology Architecture and Infrastructure
Tel: 513-336-3305




                                                                                
                                                         
                      "Lageson,Thomas M"                                        
                                                         
                      <[EMAIL PROTECTED]        To:       "Maven Users List" 
<[EMAIL PROTECTED]>                                   
                      velers.com>                cc:                            
                                                         
                                                 Subject:  Maven with ClearCase 
- Anyone using this combo?                               
                      12/08/2004 05:25 PM                                       
                                                         
                      Please respond to                                         
                                                         
                      "Maven Users List"                                        
                                                         
                                                                                
                                                         
                                                                                
                                                         




I am using Maven 1.0 with ClearCase LT.  Basically I have a maven.xml in
the root project that has the following code in it:

 <preGoal name="multiproject:install">
             <ant:ccupdate viewpath="c:/Projects/project_view/project_VOB"
                     graphical="false"
                     log="c:/mavenlogs/ccupdate.log"
                     overwrite="false"
                     preservetime="true"
                     rename="false"/>
    </preGoal>

This goes and gets the LATEST from the main branch according to the
config spec file.

How do I AUTOMATICALLY get a previous version (or label) other than
LATEST using Maven (i.e. without modifying the config_spec file by hand
prior to running Maven)?  Is there a better integration with ClearCase
than using a preGoal?  How are people doing integration with ClearCase?

Thanks for your help.

- Tom

==============================================================================

This communication, together with any attachments hereto or links contained
herein, is for the sole use of the intended recipient(s) and may contain
information that is confidential or legally protected. If you are not the
intended recipient, you are hereby notified that any review, disclosure,
copying, dissemination, distribution or use of this communication is
STRICTLY PROHIBITED.  If you have received this communication in error,
please notify the sender immediately by return e-mail message and delete
the original and all copies of the communication, along with any
attachments hereto or links herein, from your system.

==============================================================================

The St. Paul Travelers e-mail system made this annotation on 12/08/2004,
05:25:50 PM.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, 
is for the sole use of the intended recipient(s) and may contain confidential
and privileged information or otherwise protected by law.  Any unauthorized
review, use, disclosure or distribution is prohibited.  If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to