ASF Bugzilla – Attachment 13680 Details for
Bug 5003
exec task does not return after executed command finished on Windows only
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
build file showing the problem
build.xml (text/plain), 881 bytes, created by
Peter Reilly
on 2004-12-08 12:06:45 UTC
(
hide
)
Description:
build file showing the problem
Filename:
MIME Type:
Creator:
Peter Reilly
Created:
2004-12-08 12:06:45 UTC
Size:
881 bytes
patch
obsolete
><project default="child"> > <target name="child"> > <delete dir="src" quiet="yes"/> > <mkdir dir="src"/> > <echo file="src/CallHello.java"> >public class CallHello { > public static void main(String[] args) > throws Exception { > Runtime.getRuntime().exec("java -cp classes Hello"); > Thread.sleep(1 * 1000); > System.out.println("finished"); > } >} > </echo> > <echo file="src/Hello.java"> >public class Hello { > public static void main(String[] args) > throws Exception { > for (int i = 0; i < 20; ++i) { > System.out.println("Hello " + i); > System.out.flush(); > Thread.sleep(1 * 1000); > } > } >} > </echo> > <mkdir dir="classes"/> > <javac srcdir="src" destdir="classes"/> > <exec executable="java"> > <arg line="-cp classes CallHello"/> > </exec> > </target> ></project>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5003
:
860
|
868
|
996
| 13680 |
22009
|
28364
|
28365