Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 4684 invoked from network); 10 Oct 2000 04:03:57 -0000 Received: from smtp1.mail.yahoo.com (128.11.69.60) by locus.apache.org with SMTP; 10 Oct 2000 04:03:57 -0000 Received: from cpe-203-45-133-154.qld.bigpond.net.au (HELO adam) (203.45.133.154) by smtp.mail.vip.suc.yahoo.com with SMTP; 10 Oct 2000 04:03:56 -0000 X-Apparently-From: From: "Adam Murdoch" To: , Subject: RE: cvs command from Windows NT Date: Tue, 10 Oct 2000 14:06:10 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 In-Reply-To: Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, The cvs task isn't built-in as such - it doesn't do the actual work inside ant, it is simply a wrapper that executes the 'cvs' command. If you don't have the 'cvs' command in your PATH environment variable, this task won't work. And the error message if 'cvs' can't be found is the rather cryptic 'IOException ...' that you're seeing. Adam > -----Original Message----- > From: Chris Gramly [mailto:cgramly@pacbell.net] > Sent: Tuesday, 10 October 2000 9:09 AM > To: ant-user@jakarta.apache.org > Subject: cvs command from Windows NT > > > I am trying to do a checkout of my application code from my WinNT laptop > using the built-in ant 'cvs' task. The cvs repository resides on a unix > machine connected to the same network as my laptop. I was successful in > doing this from one unix machine to another using the following: > > value=":pserver:weblogic@10.0.0.10:/usr/local/cvsroot" /> > > package="${module.name}" > dest="${src.home}" /> > > > When I try this from my laptop I receive the following error: > > oh_build.xml:214: java.io.IOException: CreateProcess: cvs -d > :pserver:cgramly@10.0.0.10:/usr/local/cvsroot checkout oh_website error=2 > java.io.IOException: CreateProcess: cvs -d > :pserver:cgramly@10.0.0.10:/usr/local/cvsroot checkout oh_website error=2 > at java.lang.Win32Process.create(Native Method) > at java.lang.Win32Process.(Win32Process.java:64) > at java.lang.Runtime.execInternal(Native Method) > at java.lang.Runtime.exec(Runtime.java:272) > at org.apache.tools.ant.taskdefs.Execute.exec(Execute.java:240) > at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:218) > at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:117) > at org.apache.tools.ant.Target.execute(Target.java, Compiled Code) > at org.apache.tools.ant.Project.runTarget(Project.java:797) > at > org.apache.tools.ant.Project.executeTarget(Project.java, Compiled > Code) > at org.apache.tools.ant.Project.executeTargets(Project.java, > Compiled Code) > at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code) > at org.apache.tools.ant.Main.main(Main.java:124) > > Any ideas/suggestions would be appreciated. > > Thanks, > > -Chris _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com