You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/02/07 13:02:01 UTC
DO NOT REPLY [Bug 41557] New: - build.xml uses a different (from the documentation) variable to enable proxying
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=41557>.
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=41557
Summary: build.xml uses a different (from the documentation)
variable to enable proxying
Product: Tomcat 6
Version: unspecified
Platform: All
OS/Version: Solaris
Status: NEW
Severity: trivial
Priority: P4
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: arvind.srinivasan@sun.com
I just checked out the 6.0.x trunk and ran into a problem downloading the
externals using 'ant download'.
The "Building Tomcat" section of
http://tomcat.apache.org/tomcat-6.0-doc/building.html contains the following:
# ----- Proxy setup -----
# Uncomment if using a proxy server.
#proxy.host=proxy.domain
#proxy.port=8080
#proxy.use=on
The top-level build.xml however seems to refer to a variable named useproxy to
enable proxying.
The following simple diff fixed the problem for me:
Index: build.xml
===================================================================
--- build.xml (revision 504505)
+++ build.xml (working copy)
@@ -503,7 +503,7 @@
</target>
<!-- Download and dependency building -->
- <target name="setproxy" if="useproxy">
+ <target name="setproxy" if="proxy.use">
<taskdef name="setproxy"
classname="org.apache.tools.ant.taskdefs.optional.net.SetProxy" />
<setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
--
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@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 41557] - build.xml uses a different (from the documentation) variable to enable proxying
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=41557>.
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=41557
hanafey@dna.es.dupont.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hanafey@dna.es.dupont.com
------- Additional Comments From hanafey@dna.es.dupont.com 2007-03-23 16:44 -------
*** Bug 41782 has been marked as a duplicate of this bug. ***
--
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@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 41557] - build.xml uses a different (from the documentation) variable to enable proxying
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=41557>.
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=41557
kanekotky@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|trivial |minor
------- Additional Comments From kanekotky@gmail.com 2007-03-29 05:50 -------
IMHO, this issue is a real bug to build Tomcat. So I think the severity should
be "minor".
--
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@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 41557] - build.xml uses a different (from the documentation) variable to enable proxying
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=41557>.
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=41557
funkman@joedog.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From funkman@joedog.org 2007-08-21 17:55 -------
proxy.use is checked during the proxyflags which setproxy depends on.
So when I add to my build.properties those 3 uncommented lines - I get this:
Buildfile: build.xml
download:
proxyflags:
setproxy:
[echo] Using proxy.domain:8080 to download
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/tomcat-native-1.1.10-src.tar.gz
So the setproxy is being executed.
An alternate is to remove the detection and rely on
ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080" as stated here:
http://ant.apache.org/manual/proxy.html
--
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@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 41557] - build.xml uses a different (from the documentation) variable to enable proxying
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=41557>.
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=41557
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |INVALID
------- Additional Comments From markt@apache.org 2008-01-16 15:52 -------
Closing this as invalid based on Tim's comments which show the proxy handling is
working as intended.
--
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@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org