Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99642 - install xdoclet-1.2.2 error while behind firewall
Summary: install xdoclet-1.2.2 error while behind firewall
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-20 02:29 UTC by Joe Chen
Modified: 2006-01-24 20:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fedora patch around the problem (xdoclet-modules_common_ent.patch,369 bytes, patch)
2005-11-09 03:59 UTC, Gergan Penkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Chen 2005-07-20 02:29:39 UTC
while behind firewall, xdoclet installer(ant) can not downlad nessary file from
network, because it can not take variable "http_proxy".

Reproducible: Always
Steps to Reproduce:
1. emerge =xdoclet-1.2.2
2.
3.

Actual Results:  
doclipse:
     [xslt] Processing
/var/tmp/portage/xdoclet-1.2.2/work/xdoclet-1.2.2/modules/xdoclet/src/META-INF/xtags.xml
to /var/tmp/portage/xdoclet-1.2.2/work/xdoclet-1.2.2/target/doclipse/xdoclet.xml
     [xslt] Loading stylesheet
/var/tmp/portage/xdoclet-1.2.2/work/xdoclet-1.2.2/xdocs/stylesheets/doclipse.xslt
     [xslt] : Fatal Error! java.net.ConnectException: Connection timed out
Cause: java.net.ConnectException: Connection timed out
     [xslt] Failed to process
/var/tmp/portage/xdoclet-1.2.2/work/xdoclet-1.2.2/modules/xdoclet/src/META-INF/xtags.xml

BUILD FAILED
/var/tmp/portage/xdoclet-1.2.2/work/xdoclet-1.2.2/build.xml:55: The following
error occurred while executing this line:
/var/tmp/portage/xdoclet-1.2.2/work/xdoclet-1.2.2/core/build.xml:207: The
following error occurred while executing this line:
/var/tmp/portage/xdoclet-1.2.2/work/xdoclet-1.2.2/modules/modules-common.ent:296:
Fatal error during transformation

Total time: 3 minutes 20 seconds

!!! ERROR: dev-java/xdoclet-1.2.2 failed.
!!! Function src_compile, Line 50, Exitcode 1
!!! Failed to compile XDoclet core.
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
install success
Comment 1 Alwyn Schoeman 2005-07-26 01:57:05 UTC
I would propose the addition of a USE flag to indicate the use of a proxy for
these types of applications.

If set, it would apply a patch or have a conditional value in the build.xml

Only problem is getting your environment variable contents into the patch.

I once did something like this for another java ebuild, but that was long ago and
I don't have the details anymore.
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-26 03:27:55 UTC
It is not allowed too download. It should be fixed so it doesn't
Comment 3 Gergan Penkov 2005-11-09 03:59:01 UTC
Created attachment 72486 [details, diff]
fedora patch around the problem

This fedora patch solves the problem for me.
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-01-24 20:14:41 UTC
Fixed in CVS. Thanks for the contribution!