ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Ssmoller" <sebastian.ssmol...@gmx.net>
Subject Re: cvs checkout property
Date Mon, 16 Aug 2004 13:13:54 GMT
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


Mime
View raw message