Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 7958 invoked from network); 28 Jan 2005 10:42:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Jan 2005 10:42:26 -0000 Received: (qmail 14332 invoked by uid 500); 28 Jan 2005 10:42:17 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 14282 invoked by uid 500); 28 Jan 2005 10:42:16 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 14269 invoked by uid 99); 28 Jan 2005 10:42:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail12.ca.com (HELO mail12.ca.com) (141.202.248.38) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 28 Jan 2005 02:42:15 -0800 Received: from usilms22.ca.com ([141.202.201.22]) by mail12.ca.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 28 Jan 2005 05:42:13 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: CVS command with Ant in IntelliJ Date: Fri, 28 Jan 2005 05:42:12 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: CVS command with Ant in IntelliJ Thread-Index: AcUFJUU+o5tuPYE/SdKxUVqqRuYHGwAADk0g From: "Nemana, Satya V" To: "Ant Users List" X-OriginalArrivalTime: 28 Jan 2005 10:42:13.0038 (UTC) FILETIME=[06C4BCE0:01C50526] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Try to take care of this PATH at the system environment level. Make sure cvs is found is the $PATH ot %PATH% when you open a DOS cmd or Unix shell. This will fix PATH on IntelliJ like tools, as the system environment is pre-set. -Satya -----Original Message----- From: Lieve Van den Heuvel [mailto:lvandenheuvel@vangenechten.com]=20 Sent: Friday, January 28, 2005 5:36 AM To: user@ant.apache.org Subject: Re: CVS command with Ant in IntelliJ Hi James Thank you for your answer but I know that the exec command doesn't make the thing work but it was just one of my try-outs.. I tried to add the path to the cvs.exe in IntelliJ but it seems that he doesn't find it afterall and that's the thing that's causing me these frustrations. So is there any other way to indicate to ant where the cvs.exe is located? Thank you very much! Greetings Lieve >>> james.abley@volantis.com 28/01/2005 11:28:54 >>> On Fri, 2005-01-28 at 10:17, Lieve Van den Heuvel wrote: > Hi, >=20 > I'm just new to the mailing list but I'm experiencing a very > "frustrating" problem. I've written a buildscript for our project but > I'm not able to execute a cvs-command in the buildfile. >=20 > The environment I'm working in: > Ant: 1.6.2 > CVSNT (from winCVS -> latest stable version) > Idea IntelliJ 4.5.3 >=20 > When I try to execute the target at the command line, everyting works > perfectly. The error I get is: >=20 > Caught exception: CreateProcess: cvs > -d:pserver:lvandenheuvel@sdd-devel.priv.vangenechten.com:/nasdata/CVS > update -d -l ids/java error=3D2 >=20 > I know what the exception means, he can't find the cvs.exe. I already > tried to set it as an additional path for the ant execution -> didn't > work, I also > tried to run a command file before the execution, setting the path -> > didn't work, so now I'm pretty much out of ideas to figure out what is > going wrong. >=20 > Does anybody have any idea what could cause this problem? >=20 exec causes a new instance of your shell to run, and sets up environment variables for that instance, hence any changes aren't persisted when the exec task ends. Is there a particular reason you can't add the location of the cvs executable to the system PATH or user PATH, as suggested in=20 http://ant.apache.org/manual/CoreTasks/cvs.html=20 > I would be very very thankful for your answer! >=20 > This is a part of the build file: > > > > >=20 > > > > > >=20 >=20 > description=3D"Update the external libraries that are used from CVS"> > package=3D"${cvs.package.dependencies}" dest=3D"."/> > package=3D"${cvs.package.conf}" dest=3D"."/> > package=3D"ids/java" dest=3D"."/> > >=20 > Greetz > Lieve >=20 >=20 > ______________________________________________________________________ > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org=20 > For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org=20 For additional commands, e-mail: user-help@ant.apache.org=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org