Here is the code to import into a custom module into cvs with a ANT
task.
Thanks

You have to have CVSROOT into your env variables before this.

        <target name="commit">          
                <exec executable="cvs" dir="${branch.path}"
failonerror="true">
                  <arg line="import -m 'initial add'
branches/R20060613-MCS rasensio start"/>
<!--                    cvs import -m "initial add" branches/R20060613
rasensio start 
                        cvs co -d "R20060613-MCS" -P -A
"branches/R20060613"   // if you want checkout into the same local
because import does not do checkout -->
                </exec>
        </target> 

-----Original Message-----
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 14, 2006 12:05 PM
To: Ant Users List
Subject: RE: cvs add

Thanks guys.
Very useful

I will post here my complete code when I finish.

-----Original Message-----
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 12:02 PM
To: Ant Users List
Subject: Re: cvs add

On 6/14/06, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote:
> I do not know why people are so fond of <cvs>&Co tasks. They are 
> [usually] just wrappers over native command executors. In most cases a

> simple <exec> should be sufficient.

Yep, I agree with Alexey.

I was doing an <exec failonerror="true"> for my cvs update. --DD

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


This message (including any attachments) contains confidential and/or
proprietary information intended only for the addressee.  
Any unauthorized disclosure, copying, distribution or reliance on the
contents of this information is strictly prohibited and may constitute a
violation of law.  If you are not the intended recipient, please notify
the sender immediately by responding to this e-mail, and delete the
message from your system.  If you have any questions about this e-mail
please notify the sender immediately. 

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


This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law.  If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system.  If you
have any questions about this e-mail please notify the sender
immediately.

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

Reply via email to