ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31928] New: - ant java task is terminated but a forked child process is not terminated
Date Thu, 28 Oct 2004 01:02:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31928>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31928

ant java task is terminated but a forked child process is not terminated 

           Summary: ant java task is terminated but a forked child process
                    is not terminated
           Product: Ant
           Version: 1.1
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: sg.cho@samsung.com


hi...
following is a part of build.xml
<target name="run" depends="jar" description="run program">
  <java
	classname="com.samsung.nms.main.MyMain" 
	classpathref="build.classpath" 
	maxmemory="256m" 
	fork="true"> 
	<jvmarg value="-Dnms.home=${local.home}"/> 
	<jvmarg value="-Dproc.name=mf.sgcho"/> 
  </java>
</target>

i executed the 'run' target in eclipse. and now two process is running , 
javaw, java process. but when i clicked terminate button in console view.
teminated only javaw process ( ant process ). forked java process is not 
terminated .i can kill this java process using process monitor in windows XP.
how can ant process terminates its forked java child process when it is 
terminated?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message