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 39063] New: - Another fork="true" bug (hanging process)
Date Wed, 22 Mar 2006 18:40: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=39063>.
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=39063

           Summary: Another fork="true" bug (hanging process)
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mathew.delong@embarcadero.com


I am running Ant 1.6.5 build on June 2/2005, and am using the Eclipse Ant plugin
of the same version. I am using JDK 1.5.0_04.

In a target, I call another target (in my case, a macro) which includes: <java
classname="..." fork="true">, then I try to do something like this after calling
the target/macro:

------------EX-------
<condition property="condition.result" 
           value="found.server" 
           else="failed.to.find.server">
	<http url="http://www.google.com"/>
</condition>
<echo>${condition.result}</echo>
------------END EX-------

The process hangs on the 'http' condition when executed from the Ant Eclipse
plugin. (But works fine when executed from command line.)

If I change the fork to false, everything works fine. Also, if I remove the http
condition, and replace it with another condition, such as: "<isset
property="basedir"/> then everything works fine (process does not hang.)

The same hanging occurs outside of the Eclipse plugin in at least one case. That
case is when the process is run from CruiseControl:
- version 2.3.1
- Windows 2000
- JDK 1.5.0_04
- Multi-threaded to allow at most 4 simultaneous builds

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message