You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by rh...@lynx.co.uk on 2004/08/16 15:08:38 UTC

cvs checkout property

Hi

We are about to start using branches in cvs, I need to amend our build scripts to checkout the branches that we specify. Does anyone know the cvs checkout property name?

Thanks in advance.

Rhonda



This message is intended only for the use of the person(s) ("The intended
Recipient(s)") to whom it is addressed.  It may contain information which
is privileged and confidential within the meaning of applicable law.  If
you are not the intended recipient, please contact the sender as soon as
possible.  The views expressed in this communication are not necessarily
those held by LYNX Express Limited.


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


Re: cvs checkout property

Posted by Sebastian Ssmoller <se...@gmx.net>.
hi,
i use the following <macrodef/>

    <macrodef name="cvs-checkout">
        <sequential>
            <delete dir="${cvs.checkout.dest}"/>
            <mkdir dir="${cvs.checkout.dest}"/>

            <condition property="_rev.arg" value="-r ${cvs.checkout.tag}">
                <and>         
                    <isset property="cvs.checkout.tag"/>
                    <not>
                        <equals arg1="${cvs.checkout.tag}" arg2=""/>
                    </not>
                </and>
            </condition>
            <property name="_rev.arg" value=""/>

            <cvs 
                failonerror="true" 
                cvsroot=":ext:${cvs.user}@${cvs.host}:${cvs.repository}"
                cvsrsh="${cvs.rsh}"
                dest="${cvs.checkout.dest}"
                command="checkout ${_rev.arg} Implementation"/>
        </sequential>
    </macrodef>

hth
regards,
seb


> Hi
> 
> We are about to start using branches in cvs, I need to amend our build
> scripts to checkout the branches that we specify. Does anyone know the cvs
> checkout property name?
> 
> Thanks in advance.
> 
> Rhonda
> 
 

-- 
NEU: WLAN-Router f�r 0,- EUR* - auch f�r DSL-Wechsler!
GMX DSL = superg�nstig & kabellos http://www.gmx.net/de/go/dsl


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