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
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.
It is not allowed too download. It should be fixed so it doesn't
Created attachment 72486 [details, diff] fedora patch around the problem This fedora patch solves the problem for me.
Fixed in CVS. Thanks for the contribution!