ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Jenkins <BJenk...@dynamicsoft.com>
Subject RE: ant 1.5 cvs task error with jdk1.4.1_02
Date Fri, 07 Mar 2003 17:21:56 GMT
I thought of that.

The jdk1.4.1 debug output I sent was actually after I changed "Path" to
"PATH" because "Path" wasn't working.

Thanks,

Ben

> -----Original Message-----
> From: Keith Hatton [mailto:khatton@axiomsystems.com]
> Sent: Friday, March 07, 2003 12:18 PM
> To: Ant Users List
> Subject: RE: ant 1.5 cvs task error with jdk1.4.1_02
> 
> 
> It couldn't be that one of these lists its environment with 
> "PATH" and the other with "Path", could it? error=2 in 
> CreateProcess usually means "I can't find the executable".
> 
> Hope this helps
> Keith
> 
> 
> -----Original Message-----
> From: Ben Jenkins [mailto:BJenkins@dynamicsoft.com]
> Sent: 07 March 2003 17:12
> To: 'user@ant.apache.org'
> Subject: ant 1.5 cvs task error with jdk1.4.1_02
> 
> 
> I've been using ant 1.5 for a while now, and I recently 
> upgraded my jdk from
> jdk1.2.2_12 to jdk1.4.1_02.
> 
> Now I'm getting the following error when my ant scripts try 
> to execute the
> cvs task:
> 
> [cvs] Caught exception: CreateProcess: cvs
> -d:pserver:bjenkins@dynamic:/data/cvs/cvsroot -q -r update -d -P
> C:\dynamicsoft/re/lib error=2
> 
> The *only* difference between the two runs was that I set my 
> JAVA_HOME to
> the appropriate path for the jdk version.
> 
> The debug output from both runs is below.
> 
> Thanks in advance for any help,
> 
> Ben Jenkins
> 
> **************************************************************
> **************
> ****
> 
> Here's the debug output from the successful run on jdk1.2.2:
> 
> update:
>      [echo] Updating C:\dynamicsoft/re/lib
>       [cvs] Using cvs passfile: C:\dynamicsoft\.cvspass
>       [cvs] Executing 'cvs' with arguments:
>       [cvs] '-d:pserver:bjenkins@dynamic:/data/cvs/cvsroot'
>       [cvs] '-q'
>       [cvs] '-r'
>       [cvs] 'update'
>       [cvs] '-d'
>       [cvs] '-P'
>       [cvs] 'C:\dynamicsoft/re/lib'
>       [cvs] 
>       [cvs] The ' characters around the executable and arguments are
>       [cvs] not part of the command.
>       [cvs] 
>       [cvs] 
>       [cvs] environment:
>       [cvs] 
>       [cvs] 	ALLUSERSPROFILE=C:\Documents and Settings\All Users
>       [cvs] 	ANT_ARGS=-logger org.apache.tools.ant.NoBannerLogger
>       [cvs] 	ANT_BIN=C:\dynamicsoft\re\build
>       [cvs] 	ANT_CMD_LINE_ARGS=-debug update.jars
>       [cvs] 	ANT_HOME=C:\dynamicsoft\re\build
>       [cvs] 	APPDATA=C:\Documents and 
> Settings\bjenkins\Application Data
>       [cvs] 	CommonProgramFiles=C:\Program Files\Common Files
>       [cvs] 	ComSpec=C:\WINNT\system32\cmd.exe
>       [cvs] 	HOMEDRIVE=C:
>       [cvs] 	HOMEPATH=\
>       [cvs] 	JAVA_HOME=C:\jdk1.2.2
>       [cvs]
> LOCALCLASSPATH=C:\jdk1.2.2\lib\tools.jar;C:\dynamicsoft\re\bui
> ld\lib\xml-api
> s.jar;C:\dynamicsoft\re\build\lib\xercesImpl.jar;C:\dynamicsof
> t\re\build\lib
> \xalan.jar;C:\dynamicsoft\re\build\lib\optional.jar;C:\dynamic
> soft\re\build\
> lib\NetComponents.jar;C:\dynamicsoft\re\build\lib\mail.jar;C:\
> dynamicsoft\re
> \build\lib\junit.jar;C:\dynamicsoft\re\build\lib\jakarta-regex
> p-1.2.jar;C:\d
> ynamicsoft\re\build\lib\iaant.jar;C:\dynamicsoft\re\build\lib\
> ant.jar;C:\dyn
> amicsoft\re\build\lib\ant-contrib.jar;C:\dynamicsoft\re\build\
> lib\activation
> .jar;
>       [cvs] 	LOGONSERVER=\\DYN-DC-002
>       [cvs] 	NUMBER_OF_PROCESSORS=1
>       [cvs] 	OS=Windows_NT
>       [cvs] 	Os2LibPath=C:\WINNT\system32\os2\dll;
>       [cvs] 	Path=C:\oracle\ora90\bin;"C:\Program
> Files\Oracle\jre\1.1.8\bin";"C:\Program
> Files\Inprise\vbroker\bin";C:\WINNT\system32;C:\WINNT;C:\WINNT
> \System32\Wbem
> ;C:\MSSQL7\BINN;"C:\Program
> Files\Hummingbird\Connectivity\7.00\Accessories\";"C:\Program
> Files\GNU\WinCvs 1.3";"C:\Program
> Files\WinZip";"C:\jakarta-ant-1.4.1\bin";"C:\j2sdk1.4.1_01\bin"
>       [cvs]
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl
>       [cvs] 	PROCESSOR_ARCHITECTURE=x86
>       [cvs] 	PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 3,
> GenuineIntel
>       [cvs] 	PROCESSOR_LEVEL=6
>       [cvs] 	PROCESSOR_REVISION=0803
>       [cvs] 	ProgramFiles=C:\Program Files
>       [cvs] 	PROMPT=$P$G
>       [cvs] 	SystemDrive=C:
>       [cvs] 	SystemRoot=C:\WINNT
>       [cvs] 	TEMP=C:\DOCUME~1\bjenkins\LOCALS~1\Temp
>       [cvs] 	TMP=C:\DOCUME~1\bjenkins\LOCALS~1\Temp
>       [cvs] 	TOMCAT_HOME=C:\jakarta-tomcat-3.3.1a
>       [cvs] 	USERDNSDOMAIN=dynamicsoft.com
>       [cvs] 	USERDOMAIN=DYNAMICSOFT
>       [cvs] 	USERNAME=bjenkins
>       [cvs] 	USERPROFILE=C:\Documents and Settings\bjenkins
>       [cvs] 	windir=C:\WINNT
>       [cvs] 	_CLASSPATHCOMPONENT=C:\jdk1.2.2\lib\tools.jar
>       [cvs] 	_JAVACMD=C:\jdk1.2.2\bin\java
>       [cvs] 	CVS_PASSFILE=C:\dynamicsoft\.cvspass
> Execute:CommandLauncher: Executing 'cmd' with arguments:
> '/c'
> 'cd'
> '/d'
> 'C:\dynamicsoft\re\build'
> '&&'
> 'cvs'
> '-d:pserver:bjenkins@dynamic:/data/cvs/cvsroot'
> '-q'
> '-r'
> 'update'
> '-d'
> '-P'
> 'C:\dynamicsoft/re/lib'
> 
> The ' characters around the executable and arguments are
> not part of the command.
> 
>       [cvs] retCode=0
> 
> BUILD SUCCESSFUL
> Total time: 3 seconds
> 
> **************************************************************
> **************
> ****
> 
> Here's the debug output from the failed run on jdk1.4.1:
> 
> update:
>      [echo] Updating C:\dynamicsoft/re/lib
>       [cvs] Using cvs passfile: C:\dynamicsoft\.cvspass
>       [cvs] Executing 'cvs' with arguments:
>       [cvs] '-d:pserver:bjenkins@dynamic:/data/cvs/cvsroot'
>       [cvs] '-q'
>       [cvs] '-r'
>       [cvs] 'update'
>       [cvs] '-d'
>       [cvs] '-P'
>       [cvs] 'C:\dynamicsoft/re/lib'
>       [cvs] 
>       [cvs] The ' characters around the executable and arguments are
>       [cvs] not part of the command.
>       [cvs] 
>       [cvs] 
>       [cvs] environment:
>       [cvs] 
>       [cvs] 	ALLUSERSPROFILE=C:\Documents and Settings\All Users
>       [cvs] 	ANT_ARGS=-logger org.apache.tools.ant.NoBannerLogger
>       [cvs] 	ANT_BIN=C:\dynamicsoft\re\build
>       [cvs] 	ANT_CMD_LINE_ARGS=-debug update.jars
>       [cvs] 	ANT_HOME=C:\dynamicsoft\re\build
>       [cvs] 	APPDATA=C:\Documents and 
> Settings\bjenkins\Application Data
>       [cvs] 	CommonProgramFiles=C:\Program Files\Common Files
>       [cvs] 	ComSpec=C:\WINNT\system32\cmd.exe
>       [cvs] 	HOMEDRIVE=C:
>       [cvs] 	HOMEPATH=\
>       [cvs] 	JAVA_HOME=C:\j2sdk1.4.1
>       [cvs]
> LOCALCLASSPATH=C:\j2sdk1.4.1\lib\tools.jar;C:\dynamicsoft\re\b
> uild\lib\xml-a
> pis.jar;C:\dynamicsoft\re\build\lib\xercesImpl.jar;C:\dynamics
> oft\re\build\l
> ib\xalan.jar;C:\dynamicsoft\re\build\lib\optional.jar;C:\dynam
> icsoft\re\buil
> d\lib\NetComponents.jar;C:\dynamicsoft\re\build\lib\mail.jar;C
> :\dynamicsoft\
> re\build\lib\junit.jar;C:\dynamicsoft\re\build\lib\jakarta-reg
> exp-1.2.jar;C:
> \dynamicsoft\re\build\lib\iaant.jar;C:\dynamicsoft\re\build\li
> b\ant.jar;C:\d
> ynamicsoft\re\build\lib\ant-contrib.jar;C:\dynamicsoft\re\buil
> d\lib\activati
> on.jar;
>       [cvs] 	LOGONSERVER=\\DYN-DC-002
>       [cvs] 	NUMBER_OF_PROCESSORS=1
>       [cvs] 	OS=Windows_NT
>       [cvs] 	Os2LibPath=C:\WINNT\system32\os2\dll;
>       [cvs] 	PATH=C:\oracle\ora90\bin;"C:\Program
> Files\Oracle\jre\1.1.8\bin";"C:\Program
> Files\Inprise\vbroker\bin";C:\WINNT\system32;C:\WINNT;C:\WINNT
> \System32\Wbem
> ;C:\MSSQL7\BINN;"C:\Program
> Files\Hummingbird\Connectivity\7.00\Accessories\";"C:\Program
> Files\GNU\WinCvs 1.3";"C:\Program
> Files\WinZip";"C:\jakarta-ant-1.4.1\bin";"C:\j2sdk1.4.1\bin"
>       [cvs]
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl
>       [cvs] 	PROCESSOR_ARCHITECTURE=x86
>       [cvs] 	PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 3,
> GenuineIntel
>       [cvs] 	PROCESSOR_LEVEL=6
>       [cvs] 	PROCESSOR_REVISION=0803
>       [cvs] 	ProgramFiles=C:\Program Files
>       [cvs] 	PROMPT=$P$G
>       [cvs] 	SystemDrive=C:
>       [cvs] 	SystemRoot=C:\WINNT
>       [cvs] 	TEMP=C:\DOCUME~1\bjenkins\LOCALS~1\Temp
>       [cvs] 	TMP=C:\DOCUME~1\bjenkins\LOCALS~1\Temp
>       [cvs] 	TOMCAT_HOME=C:\jakarta-tomcat-3.3.1a
>       [cvs] 	USERDNSDOMAIN=dynamicsoft.com
>       [cvs] 	USERDOMAIN=DYNAMICSOFT
>       [cvs] 	USERNAME=bjenkins
>       [cvs] 	USERPROFILE=C:\Documents and Settings\bjenkins
>       [cvs] 	windir=C:\WINNT
>       [cvs] 	_CLASSPATHCOMPONENT=C:\j2sdk1.4.1\lib\tools.jar
>       [cvs] 	_JAVACMD=C:\j2sdk1.4.1\bin\java
>       [cvs] 	CVS_PASSFILE=C:\dynamicsoft\.cvspass
> Execute:Java13CommandLauncher: Executing 'cvs' with arguments:
> '-d:pserver:bjenkins@dynamic:/data/cvs/cvsroot'
> '-q'
> '-r'
> 'update'
> '-d'
> '-P'
> 'C:\dynamicsoft/re/lib'
> 
> The ' characters around the executable and arguments are
> not part of the command.
> 
>       [cvs] Caught exception: CreateProcess: cvs
> -d:pserver:bjenkins@dynamic:/data/cvs/cvsroot -q -r update -d -P
> C:\dynamicsoft/re/lib error=2
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
View raw message