ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duane Mattos <DMat...@maplesoft.com>
Subject p4 task problem
Date Fri, 20 Sep 2002 22:29:35 GMT
I'm getting this error.

file:/home/dmattos/build/main/build/checkinBinaries.xml:24: Problem exec'ing P4
command: java.io.IOException: p4: cannot execute

The environment that I'm passing should be able to find p4.  I checked
${env.PATH} and it contained the path to p4 (I checked ${env.P4PASSWD}, but I
don't think it got that far)

Any ideas?

Thanks

dM



Apache Ant version 1.5 compiled on July 9 2002
Buildfile: checkinBinaries.xml
Detected Java version: 1.3 in: /usr/java/jdk1.3.1_01/jre
Detected OS: Linux
parsing buildfile checkinBinaries.xml with URI =
file:/home/dmattos/build/main/build/checkinBinaries.xml
Project base dir set to: /home/dmattos/build/main/build
 [property] Loading Environment env.
Build sequence for target `checkinBinaries' is [checkMapleRootSet,
checkArchitectureSet, checkoutBinaries, copyBinariesToDistributionDir,
checkinBinaries]
Complete build sequence is [checkMapleRootSet, checkArchitectureSet,
checkoutBinaries, copyBinariesToDistributionDir, checkinBinaries]

checkMapleRootSet:
Skipped because property 'mapleRoot' set.

checkArchitectureSet:
Skipped because property 'architecture' set.

checkoutBinaries:
     [echo] PATH:
/bin:/sw/local/local.i686-Linux-2.2.5-15/bin:/usr/local/bin:/usr/ucb/:/usr/bin:/
usr/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
     [echo] P4PASSWD: <my password>  :-)
 [p4change] Executing 'p4' with arguments:
 [p4change] '-pdeneb:1616'
 [p4change] '-udmattos'
 [p4change] '-cdmattos_wmi_main'
 [p4change] 'change'
 [p4change] '-o'
 [p4change]
 [p4change] The ' characters around the executable and arguments are
 [p4change] not part of the command.

BUILD FAILED
file:/home/dmattos/build/main/build/checkinBinaries.xml:25: Problem exec'ing P4
command: java.io.IOException: p4: cannot execute
        at
org.apache.tools.ant.taskdefs.optional.perforce.P4Base.execP4Command(P4Base.java
:240)
        at
org.apache.tools.ant.taskdefs.optional.perforce.P4Change.getEmptyChangeList(P4Ch
ange.java:119)
        at
org.apache.tools.ant.taskdefs.optional.perforce.P4Change.execute(P4Change.java:8
8)
        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: 3 seconds

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message