Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 80948 invoked from network); 5 Sep 2006 16:02:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2006 16:02:49 -0000 Received: (qmail 75426 invoked by uid 500); 5 Sep 2006 16:02:46 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 74951 invoked by uid 500); 5 Sep 2006 16:02:44 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 74939 invoked by uid 99); 5 Sep 2006 16:02:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 09:02:44 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of a1programmer@gmail.com designates 64.233.184.234 as permitted sender) Received: from [64.233.184.234] (HELO wr-out-0506.google.com) (64.233.184.234) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 09:02:43 -0700 Received: by wr-out-0506.google.com with SMTP id 67so669134wri for ; Tue, 05 Sep 2006 09:02:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HGbh+ZD/4p1uSl1eTKCxzON69xYnNoUJvJodk0ihzKpkf51+uIWkUi9tWCqryB5V3VXPg9u6mdIs7h6mdBcouL03BGtc48Q8cA/evsIFpuJyes+r53UrL8TFLUTm61BguLsYjDMgfucxm4rAA9F9oCzuCAC05vCi5ob1CQGRz0U= Received: by 10.90.49.19 with SMTP id w19mr1577562agw; Tue, 05 Sep 2006 09:02:21 -0700 (PDT) Received: by 10.90.27.4 with HTTP; Tue, 5 Sep 2006 09:02:21 -0700 (PDT) Message-ID: <46ae97370609050902l4681ca64qeb83d64a5da36810@mail.gmail.com> Date: Tue, 5 Sep 2006 11:02:21 -0500 From: "Derrick Simpson" To: "Ant Users List" Subject: Re: CVS checkout with ANT In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19322_30390430.1157472141629" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_19322_30390430.1157472141629 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline ? I am using a windows machine, but the cvs server is on a unix platform, which I don't have access to. When you use "cvs" from the command line, you're using a cvs client. On 9/5/06, David TROGDON wrote: > > > 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" > > 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 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: > > > > > > value=":pserver:user.name@server.name:c:/cvs/repository/repository.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" > > > 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. > > > > > > > > > password="password"/> > > > cvsroot="/usr/local/cvsroot" dest="c:/temp"/> > > > > > > > > > > Thanks for the help. > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > ------=_Part_19322_30390430.1157472141629--