Raniner,

Many thanks for your test. Seems I have to figure out myself why mine
is not working.

Jianguo


Rainer Jung wrote:

Hi,

I'm right now building from subversion head of 5.5 and I don't get the
error, although the URLs look exactly the same::

Rao Jianguo schrieb:
downloadgz:
    [get] Getting:
http://switch.dl.sourceforge.net/sourceforge/mx4j/mx4j-3.0.1.tar.gz
    [get] To: /export/data0/user/TOMCAT/usr/share/java/file.tar.gz
    [get] Error getting
http://switch.dl.sourceforge.net/sourceforge/mx4j/mx4j-3.0.1.tar.gz to
/export/data0/user/TOMCAT/usr/share/java/file.tar.gz

My output:

testexist:
    [echo] Testing  for /usr/share/java/mx4j-3.0.1/lib/mx4j.jar

downloadgz:
     [get] Getting:
http://switch.dl.sourceforge.net/sourceforge/mx4j/mx4j-3.0.1.tar.gz
     [get] To: D:\usr\share\java\file.tar.gz
  [gunzip] Expanding D:\usr\share\java\file.tar.gz to
D:\usr\share\java\file.tar
   [untar] Expanding: \usr\share\java\file.tar into \usr\share\java
  [delete] Deleting: D:\usr\share\java\file.tar
  [delete] Deleting: D:\usr\share\java\file.tar.gz


BUILD FAILED
/export/data0/user/TOMCAT/apache-tomcat-5.5.17-src/build.xml:48: The
following error occurred while executing this line:
/export/data0/user/TOMCAT/apache-tomcat-5.5.17-src/build/build.xml:1910:
The following error occurred while executing this line:
/export/data0/user/TOMCAT/apache-tomcat-5.5.17-src/build/build.xml:1992:
java.net.NoRouteToHostException: No route to host


I have trace the reason as:

The     http://switch.dl.sourceforge.net/sourceforge/mx4j/mx4j-3.0 has

This file name is truncated! No wonder you don't get the file with this URL.

moved to other places as indicated by the following file:


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a
href="http://prdownloads.sourceforge.net/mx4j/mx4j-3.0?download&amp;failedmirror=switch.dl.sourceforge.n

et">here</a>.</p>
<hr>
<address>Apache/2.0.54 (Debian GNU/Linux) Server at
switch.dl.sourceforge.net Port 80</address>
</body></html>

Anyone there can resolve my problem?
Your help, suggestions are highly appreciated.

Jianguo

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to