Hello all, I'm new to this list.
I have a problem I can reliably duplicate. I'm running PVCS and Ant on
Windows 2000 Professional. My ant build files have pvcs tasks in them. If
I set JAVA_HOME=C:\jdk1.3.1_04 in ant.bat the gets work fine. However if I
set JAVA_HOME=C:\j2sdk1.4.0_02 in ant.bat on the same system I get the
following error in my log file. Anyone seen this or have any suggestions?
Brian
---------------------
Detected Java version: 1.4 in: C:\j2sdk1.4.0_02\jre
Detected OS: Windows 2000
parsing buildfile D:\CPS020923\install_builds\build.xml with URI =
file:D:/CPS020923/install_builds/build.xml
Project base dir set to: D:\CPS020923\install_builds
getcps:
[pvcs] Executing 'pcli' with arguments:
[pvcs] 'lvf'
[pvcs] '-z'
[pvcs] '-aw'
[pvcs] '-prO:\CT_Products'
[pvcs] '/ProjectFolder/AMAZON/CPS/*'
[pvcs]
[pvcs] The ' characters around the executable and arguments are
[pvcs] not part of the command.
BUILD FAILED
file:D:/CPS020923/install_builds/build.xml:24: Failed executing: pcli lvf -z
-aw -prO:\CT_Products /ProjectFolder/AMAZON/CPS/*. Exception: CreateProcess:
pcli lvf -z -aw -prO:\CT_Products /ProjectFolder/AMAZON/CPS/* error=2
at
org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs.runCmd(Pvcs.java:147)
at
org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs.execute(Pvcs.java:224)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 5 seconds