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 40619] New: - http task gives error 504
Date Wed, 27 Sep 2006 15:02:39 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=40619>.
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=40619

           Summary: http task gives error 504
           Product: Ant
           Version: 1.7.0Beta2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: sue.pharoah@aquilauk.co.uk


An http task that worked fine in ANT 1.6.5,  times out in Ant 1.7.1 with http 
error 504.
See below
[ I have tried using IP address instead of name but still same result ]

Script:


       <!-- the application server -->
 	<target name="test2">
  
            <echo message="checking application server URL 10.35.1.1:7778"/>
            <condition property="appserverup">
               <http url="http://10.35.1.1:7778"/>
            </condition>
                        
            <echo message="appserverup is ${appserverup}"/>
 
         </target>

Error output:

C:\Administrator\install>ant -f sue.xml test2 -v
Apache Ant version 1.7.0Beta2 compiled on September 17 2006
Buildfile: sue.xml
Detected Java version: 1.5 in: C:\Program Files\Java\jdk1.5.0_08\jre
Detected OS: Windows XP
parsing buildfile C:\Administrator\install\sue.xml with URI = 
file:/C:/Administrator/install/sue.xml
Project base dir set to: C:\Administrator\install
[antlib:org.apache.tools.ant] Could not load definitions from resource 
org/apache/tools/ant/antlib.xml. It could not be found.
Build sequence for target(s) `test2' is [test2]
Complete build sequence is [test2, test, ]

test2:
     [echo] checking application server URL 10.35.1.1:7778
Checking for http://10.35.1.1:7778
Result code for http://10.35.1.1:7778 was 504
Property "appserverup" has not been set
     [echo] appserverup is ${appserverup}

BUILD SUCCESSFUL
Total time: 2 minutes 0 seconds

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