ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #727 has been filed.
Date Tue, 09 Jan 2001 16:31:57 GMT
Bug report #727 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/727>

REPORT #727 Details.

Project: Ant
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: non-critical
Confidence: public
Environment: 
   Release: 1.2
   JVM Release: 1.3
   Operating System: Windows 2000
   OS Release: SP1
   Platform: Intel

Synopsis: 
dir attribute on <exec> not working

Description:
I tested this task in response to the recent post by Eoin Whelan with the subject "RE: Dir
attribute of the execute task."

The dir attribute is ignored in the following exec task.

<exec dir="D:\Temp" executable="Cartman"/>

The error I get is:

D:\IT\Dev\Apps\TransView\build_test.xml:99: Execute failed: java.io.IOException: CreateProcess:
Cartman error=2
java.io.IOException: CreateProcess: Cartman error=2
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:66)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:551)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:393)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:249)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:214)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:154)
        at org.apache.tools.ant.Target.execute(Target.java:142)
        at org.apache.tools.ant.Project.runTarget(Project.java:818)
        at org.apache.tools.ant.Project.executeTarget(Project.java:532)
        at org.apache.tools.ant.Project.executeTargets(Project.java:506)
        at org.apache.tools.ant.Main.runBuild(Main.java:420)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 2 seconds


Mime
View raw message