FYI, this looks a lot like the error I got with PVCS and Win2K that I posted about yesterday and the day before. For me it only happens with j2sdk1.4.1 and 1.4.0, but not with 1.3.
Brian -----Original Message----- From: Carl Schumann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:38 AM To: Ant Users Subject: cvs problems with ant 1.5 on Windows XP Hello, I am using a build.xml with a target to do a cvs update. When I invoke this target I get an exception that I am not sure how to address. If anyone could comment on this exception, I would appreciate it. The line with the exception follows, the complete ant output is given at the end of this email: > [cvs] Caught exception: CreateProcess: cvs -q update -d gov error=2 What I have learned to this point: 1. When I run ant on a UNIX system with this same build.xml file there is no exception. 2. When I run ant on this same Windows XP host for a target, e.g., clean, that does not use cvs there is no exception. 3. Other cvs commands, e.g., status, also fail with the same CreateProcess and error=2 symptoms. 4. CreateProcess is apparently a Windows API, which leads me to the conclusion that perhaps this execption is being thrown from within the JVM. I am not sure what to do with that information and have been able to determine what error=2 is supposed to mean. Perhaps I do not have something configured correctly? Thanks, Carl Schumann > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > Z:\>cd new_controls\cvs_working > > Z:\new_controls\cvs_working>ant.bat -v cvs_update > Apache Ant version 1.5 compiled on July 9 2002 > Buildfile: build.xml > Detected Java version: 1.4 in: C:\j2sdk1.4.1\jre > Detected OS: Windows XP > parsing buildfile build.xml with URI = file:Z:/new_controls/cvs_working/build.xm > l > Project base dir set to: Z:\new_controls\cvs_working > [property] Loading Z:\new_controls\cvs_working\.controls.properties > [property] Unable to find property file: Z:\new_controls\cvs_working\.controls. > properties > [property] Loading C:\Documents and Settings\schumann\.controls.properties > [property] Unable to find property file: C:\Documents and Settings\schumann\.co > ntrols.properties > Property ${classpath} has not been set > Build sequence for target `cvs_update' is [cvs_update] > Complete build sequence is [cvs_update, govjars, build_all_java, build_all_rmic, > gov_copy, gov_jar, sign_gov_jar, build_notifyexternals, build_split_jars, build > _all, update_and_build_all, timestamp, cvsdiff, prepare, main, retag_cvs, cvslog > , javadoc_check, build_updated_version, clean_split_jars, cvsreadydiff, build_rm > ic, javadocs, build_jar, build, govtree_jar, cvs_checkout, clean, update_version > , update_version_nightly, D44WebStartJar, cvsnotreadydiff, patch_version] > > cvs_update: > [echo] cvs update gov to Z:\new_controls\cvs_working > [cvs] Executing 'cvs' with arguments: > [cvs] '-q' > [cvs] 'update' > [cvs] '-d' > [cvs] 'gov' > [cvs] > [cvs] The ' characters around the executable and arguments are > [cvs] not part of the command. > [cvs] Caught exception: CreateProcess: cvs -q update -d gov error=2 > [echo] cvs update jars to Z:\new_controls\cvs_working > [cvs] Executing 'cvs' with arguments: > [cvs] '-q' > [cvs] 'update' > [cvs] 'jars' > [cvs] > [cvs] The ' characters around the executable and arguments are > [cvs] not part of the command. > [cvs] Caught exception: CreateProcess: cvs -q update jars error=2 > [echo] cvs update AppsRunFiles to Z:\new_controls\cvs_working > [cvs] Executing 'cvs' with arguments: > [cvs] '-q' > [cvs] 'update' > [cvs] 'AppsRunFiles' > [cvs] > [cvs] The ' characters around the executable and arguments are > [cvs] not part of the command. > [cvs] Caught exception: CreateProcess: cvs -q update AppsRunFiles error=2 > > BUILD SUCCESSFUL > Total time: 1 second > Z:\new_controls\cvs_working> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
