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

Title: BugRat Report # 727

BugRat Report # 727

Project: Ant Release: 1.2
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: medium Severity: non-critical
Confidence: public

Submitter: Andrew Goodnough ( [EMAIL PROTECTED] )
Date Submitted: Jan 9 2001, 10:31:57 CST
Responsible: Z_Ant Alias ( [EMAIL PROTECTED] )

Synopsis:
dir attribute on not working
Environment: (jvm, os, osrel, platform)
1.3, Windows 2000, SP1, Intel

Additional Environment Description:

Report 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. 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.(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

Workaround:
null

View this report online...

Reply via email to