ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry V. Streepy, Jr." <>
Subject Re: Question: How to make ant running with cvs
Date Tue, 19 Jun 2001 17:28:41 GMT
Have you run ant with -debug to see the exact command that is being
executed?  That might provide some insight.

Somethings nagging at me about the initial exception:

> C:\CVS1\builder\build.xml:40: CreateProcess: cvs -d
> :pserver:virajp@ checkout client e

I seem to recall that the CreateProcess exception should show the name
of the executable being created, not the whole command line.  But that
might just be brain cells that need replacing.

Viraj Purang wrote:
> HI,
>     I have the same problem too ...
> and I am using a WinCvs client which has a CVS.exe in its ...
> My Path variable shows ... ()
> PATH="C:\Program Files\GNU\WinCvs 1.1"...
> C:\CVS1\builder\build.xml:40: CreateProcess: cvs -d
> :pserver:virajp@ checkout client e
> or=2
> --- Nested Exception ---
> CreateProcess: cvs -d
> :pserver:virajp@ checkout client error=2
>         at java.lang.Win32Process.create(Native Method)
>         at java.lang.Win32Process.<init>(
>         at java.lang.Runtime.execInternal(Native Method)
>         at java.lang.Runtime.exec(
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> a:509)
>           ...
> DO I have to set this PAth entry from inside the build.xml file ?
> I set it in the system variables for Windows 2000, started a new cmd session
> and ran ant there ...still does not work(command comes up fine if I run it
> on the command prompt).
> Regards,
> Viraj Purang

Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"

970/626-5028 (office) 
970/626-4425 (fax)    

View raw message