Hi,
<!-- =========================================================== -->
<!-- CVS target. -->
<!-- Creates build and deploy directories, if it is needed. -->
<!-- =========================================================== -->
<target name="build-cvs"
description="Checks out all required files ">
<echo message="Checking out All Required files for Client, Server and
Common modules:"/>
<cvs cvsRoot=":pserver:[EMAIL PROTECTED]:/dept/cvs"
package="client"
dest="${ws.dir}"
/>
</target>
THis is the part of the XML file which is being executed ...
I have been using ant build-cvs fro running this one.
Regards,
Viraj Purang
-----Original Message-----
From: Larry V. Streepy, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Question: How to make ant running with cvs
Ok, can you show us the fragment from your build.xml file that is
generating this error? I'm just groping, trying to help.
Viraj Purang wrote:
>
> Hi,
> I still have no other information.
> DO i have to set this path variable from inside the Ant build.xml file ?
> or setting it from outside is just fine (Should be fine I supppose, unless
> we use some kind of a batch file.)
>
> The debug output shows something like this
> ecute:Java13CommandLauncher: cvs -d :pserver:[EMAIL PROTECTED]:/dept/cvs
> checkout client
> ILD FAILED
> \CVS1\builder\build.xml:48: java.io.IOException: CreateProcess: cvs -d
> :pserver:[EMAIL PROTECTED]:/dept/cvs checkout client err
> =2
> - Nested Exception ---
> va.io.IOException: CreateProcess: cvs -d
> :pserver:[EMAIL PROTECTED]:/dept/cvs checkout client error=2
>
> REgards,
> Viraj Purang
>
> -----Original Message-----
> From: Larry V. Streepy, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Question: How to make ant running with cvs
>
> 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: java.io.IOException: CreateProcess: cvs -d
> > :pserver:[EMAIL PROTECTED]:/dept/cvs 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: java.io.IOException: CreateProcess: cvs -d
> > :pserver:[EMAIL PROTECTED]:/dept/cvs checkout client e
> > or=2
> > --- Nested Exception ---
> > java.io.IOException: CreateProcess: cvs -d
> > :pserver:[EMAIL PROTECTED]:/dept/cvs checkout client error=2
> > at java.lang.Win32Process.create(Native Method)
> > at java.lang.Win32Process.<init>(Win32Process.java:66)
> > at java.lang.Runtime.execInternal(Native Method)
> > at java.lang.Runtime.exec(Runtime.java:551)
> > at java.lang.reflect.Method.invoke(Native Method)
> > at
> >
>
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.jav
> > 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) mailto:[EMAIL PROTECTED]
> 970/626-4425 (fax) http://www.healthlanguage.com
--
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering
Health Language, Inc. -- "We speak the language of healthcare"
970/626-5028 (office) mailto:[EMAIL PROTECTED]
970/626-4425 (fax) http://www.healthlanguage.com