You shouldn't need a "cvs client".

If you are useing Windows, map the server CVS is installed on in explorer.
Then it becomes the "F:" drive or what ever.

In advanced properties, add "F:\Programs Files\ CVS for NT" or where ever
CVS is installed on the server to your path.

Now if you type "cvs" in the command window, you will get a command line
"usage" help reply. Now you can work out the command line that works for
you and move it into Ant.

DT




                                                                                
                                                      
                      "Derrick Simpson"                                         
                                                      
                      <[EMAIL PROTECTED]        To:       "Ant Users List" 
<user@ant.apache.org>                                       
                      il.com>                  cc:                              
                                                      
                                               bcc:                             
                                                      
                      09/05/2006 11:00         Subject:  Re: CVS checkout with 
ANT                                                    
                      AM                                                        
                                                      
                      Please respond to                                         
                                                      
                      "Ant Users List"                                          
                                                      
                                                                                
                                                      
                                                                                
                                                      




David,
   I am using eclipse, and everything works fine from there.  However, I'm
trying to automate some tasks.  I don't have a command line cvs client on
my
pc.

Thanks,
  Derrick

On 9/5/06, David TROGDON <[EMAIL PROTECTED]> wrote:
>
>
> I'm not sure of how you are useing/accessing CVS or your operating
system.
>
> I would think you could do "test" check out from a command window. Once
> you
> have a command line you know works from the command window, you should be
> able to implement the same command from Ant.
>
> I do something similar to the following:
>
> <property name="repository"
>
value=":pserver:[EMAIL PROTECTED]:c:/cvs/repository/repository.name"/>
>
> <property name="project.version" value="tag.name"/>
>
> <cvs cvsroot="${repository}" command="checkout" package=" package.name"
> tag="${project.version}" dest="${build.source.dir}"/>
>
>
> You can skip the tag/project.version if you just want the latest from
> head.
>
> Also note that a password is not required in my case since I log into CVS
> in advance. This could be done via command line or via Eclipse or
> whatever.
>
> Connecting with rsh or ssh is different and needs to be configured in
CVS.
> Again, I think your best bet is to work out your command line from a
> command window. Once you have that and know what what works, it should be
> pretty straight forward migrating that to Ant.
>
> Good luck
>
> DT
>
>
>
>
>
>                       "Derrick Simpson"
>                       <[EMAIL PROTECTED]        To:
> user@ant.apache.org
>                       il.com>                  cc:
>                                                bcc:
>                       09/01/2006 04:29         Subject:  CVS checkout
with
> ANT
>                       PM
>                       Please respond to
>                       "Ant Users List"
>
>
>
>
>
>
> I'm trying to do a simple checkout from cvs, and I get the following
error
>
>   [cvs] cvs [checkout aborted]: /usr/local/cvsroot/CVSROOT: No such file
> or
> directory
>
>
> I am getting a /CVSROOT appended onto the end.  I do not have access to
> change this myself.
>
>
> Here's the code.
>
>
>     <target name="checkout">
>         <cvspass cvsroot=":extssh:[EMAIL PROTECTED]:/usr/local/cvsroot"
> password="password"/>
>         <cvs command="checkout" package="TestCVS" append="false"
> cvsroot="/usr/local/cvsroot" dest="c:/temp"/>
>     </target>
>
>
>
> Thanks for the help.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to