You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/03/22 19:46:49 UTC

DO NOT REPLY [Bug 39066] New: - followed by hangs process

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=39066>.
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=39066

           Summary: <java ... fork="true"/> followed by <http .../> hangs
                    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


DO NOT REPLY [Bug 39066] - followed by hangs process

Posted by bu...@apache.org.
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=39066>.
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=39066


jkf@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From jkf@apache.org  2006-04-26 21:31 -------


*** This bug has been marked as a duplicate of 39063 ***

-- 
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