Hello,

See [1] for complete information on <cvs> task.

Here is an untested snippet regarding cvs import. It
is really *untested*.

<cvs cvsrsh="ssh" cvsroot="your_cvs_root"
command="import"
    dest="yout_project_dir"/>

By the way why do you want to automate importing a
project in a CVS repository? Importing is done once in
a project's lifetime. It is usually done by onle one
person.

Also note that when importing you have to take care of
your binary files (.jar, .doc, etc) as cvs should be
explicitly instructed how to handle them with -W
option.

Regards
Ivan

[1]http://ant.apache.org/manual/CoreTasks/cvs.html

--- [EMAIL PROTECTED] wrote:

> Can you explain the steps ? We are using CVS_RSH=ssh
> 
> Thanks
> srikrishna
> 
> -----Original Message-----
> From: Ivan Ivanov
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 28, 2005 1:29 PM
> To: Ant Users List
> Subject: Re: Adding new project into CVS
> 
> Hello,
> 
> yes there is a way: use <cvs> task with import cvs
> command.
> 
> Regards
> Ivan
> 
> --- [EMAIL PROTECTED] wrote:
> 
> > Is there a way to add new project into cvs using
> ant
> > .?
> > 
> >  
> > 
> > Thanks
> > 
> > srikrishna
> > 
> > 
> 
> 
> 
>               
> __________________________________________ 
> Yahoo! DSL - Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


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

Reply via email to