Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Ant CVS task error=2 - and my PATH is set!?
Ant CVS task error=2 - and my PATH is set!? [message #252279] Mon, 14 June 2004 13:23 Go to next message
Eclipse UserFriend
Originally posted by: mark.melvin.dspfactory.com

No takers on this one? Gee - I was hoping all of my problems would
magically be solved this weekend by the Ant-with-CVS-gnomes. ;o)
Oh well, back to it...

Mark.



Can someone pleeeeaaaase enlighten me as to what is going on here? I am
simply trying to run my build script, and the Ant CVS task is failing
with error=2 - which I have found means that cvs.exe is not on your
path....BUT IT IS! Can anyone spot what is going on here? This is
driving me insane.... Here is my command line:

C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts >java

-cp C:\eclipse3.0RC1\SDK\eclipse\startup.jar
org.eclipse.core.launcher.Main -application
org.eclipse.ant.core.antRunner -buildfile build.xml
-Dbuilder=C:\_CVS\swt_root\host_code\ide\code\build_scripts\ platform_ide
Buildfile: build.xml

main:

preBuild:

preSetup:

getMapFiles:
[cvs] Caught exception: CreateProcess: cvs
-d:pserver:user:passwd@cvsserver.domain.com:/usr/local/share/projects/cvsrep

checkout -rHEAD
swt_root/host_code/ide/code/projects/com.dspfactory.platform -feature/map
error=2
[concat] No existing files and no nested text, doing nothing

postSetup:

fetch:

preFetch:

allElements:

init:

fetchElement:

BUILD FAILED
C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts\build.xml:21:

Following error occured while executing this line
C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts\build.xml:48:

Following error occured while executing this line
C:\_CVS\swt_root\host_code\ide\code\build_scripts\platform_i de\customTargets.xml
:13: Following error occured while executing this line
C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts\generic
Targets.xml:36: Following error occured while executing this line
java.io.FileNotFoundException:
C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts\build\fetch_com.dspfactory.platform.xml

(The system cannot find the file specified)

Total time: 2 seconds


....and the output of me typing 'cvs' at the very same command line:

C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts >cvs
Usage: cvs [cvs-options] command [command-options-and-arguments]
where cvs-options are -q, -n, etc.
(specify --help-options for a list of options)
where command is add, admin, etc.
(specify --help-commands for a list of commands
or --help-synonyms for a list of command synonyms)
where command-options-and-arguments depend on the specific command
(specify -H followed by a command name for command-specific help)
Specify --help to receive this message

The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
the CVSNT home page at http://www.cvsnt.org/
Re: Ant CVS task error=2 - and my PATH is set!? [message #252298 is a reply to message #252279] Mon, 14 June 2004 14:06 Go to previous message
Eclipse UserFriend
Originally posted by: mark.melvin.dspfactory.com

OK - I figured it out. I was trying to use the cvs.exe included with
Tortoise CVS. The doc says it must be version 1.10 or higher - and the
Tortoise cvs.exe is version 2.0.11 so I figured I was OK.

Well - after going to cvshome.org and downloading the current version
from there (1-11-17), it works. I guess the Tortoise version is no good...

Mark.

Mark Melvin wrote:
> No takers on this one? Gee - I was hoping all of my problems would
> magically be solved this weekend by the Ant-with-CVS-gnomes. ;o)
> Oh well, back to it...
>
> Mark.
>
>
>
> Can someone pleeeeaaaase enlighten me as to what is going on here? I am
> simply trying to run my build script, and the Ant CVS task is failing
> with error=2 - which I have found means that cvs.exe is not on your
> path....BUT IT IS! Can anyone spot what is going on here? This is
> driving me insane.... Here is my command line:
>
> C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts >java
>
> -cp C:\eclipse3.0RC1\SDK\eclipse\startup.jar
> org.eclipse.core.launcher.Main -application
> org.eclipse.ant.core.antRunner -buildfile build.xml
> -Dbuilder=C:\_CVS\swt_root\host_code\ide\code\build_scripts\ platform_ide
> Buildfile: build.xml
>
> main:
>
> preBuild:
>
> preSetup:
>
> getMapFiles:
> [cvs] Caught exception: CreateProcess: cvs
> -d:pserver:user:passwd@cvsserver.domain.com:/usr/local/share/projects/cvsrep
>
> checkout -rHEAD
> swt_root/host_code/ide/code/projects/com.dspfactory.platform -feature/map
> error=2
> [concat] No existing files and no nested text, doing nothing
>
> postSetup:
>
> fetch:
>
> preFetch:
>
> allElements:
>
> init:
>
> fetchElement:
>
> BUILD FAILED
> C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts\build.xml:21:
>
> Following error occured while executing this line
> C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts\build.xml:48:
>
> Following error occured while executing this line
> C:\_CVS\swt_root\host_code\ide\code\build_scripts\platform_i de\customTargets.xml
>
> :13: Following error occured while executing this line
> C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts\generic
>
> Targets.xml:36: Following error occured while executing this line
> java.io.FileNotFoundException:
> C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts\build\fetch_com.dspfactory.platform.xml
>
> (The system cannot find the file specified)
>
> Total time: 2 seconds
>
>
> ...and the output of me typing 'cvs' at the very same command line:
>
> C:\eclipse3.0RC1\SDK\eclipse\plugins\org.eclipse.pde.build_3 .0.0\scripts >cvs
>
> Usage: cvs [cvs-options] command [command-options-and-arguments]
> where cvs-options are -q, -n, etc.
> (specify --help-options for a list of options)
> where command is add, admin, etc.
> (specify --help-commands for a list of commands
> or --help-synonyms for a list of command synonyms)
> where command-options-and-arguments depend on the specific command
> (specify -H followed by a command name for command-specific help)
> Specify --help to receive this message
>
> The Concurrent Versions System (CVS) is a tool for version control.
> For CVS updates and additional information, see
> the CVSNT home page at http://www.cvsnt.org/
Previous Topic:Does eclipse support a notion of GUARD BLOCKs found in NETBEANS?
Next Topic:Standalone update: error with -to specified
Goto Forum:
  


Current Time: Sat Apr 20 00:21:36 GMT 2024

Powered by FUDForum. Page generated in 0.03007 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top