ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@livemedia.com
Subject trying to convert to 1.2...
Date Thu, 26 Oct 2000 01:27:40 GMT
this tag:

<exec dir="${SRC}/${FRAMEWORK}/metadata/123"^M
        command="clean.bat"^M
        output="${SRC}/${FRAMEWORK}/metadata/123/clean.out"^M
/>^M

runs under 1.1, but under 1.2  produces the following during the build:

metadata:
     [exec] The command attribute is deprecated. Please use the executable
attri
bute and nested arg elements.

BUILD FAILED

L:\src\comp\1.0\src\build2.xml:644: Execute failed: java.io.IOException: Cr
eateProcess: clean.bat error=2
java.io.IOException: CreateProcess: clean.bat 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(Exec
ute.java:390)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:247)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:213)
        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)


any clues are appreciated.

thanks,
james@livemedia.com


Mime
View raw message