You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Gajendra S V <sv...@gmail.com> on 2011/07/13 12:37:33 UTC
Re: [jira] Commented: (JS2-1237) Tomcat zip is not downloaded via proxy. (Proxy configuration is set in maven settings.xml)
Woonsan Ko (JIRA <jetspeed-dev <at> portals.apache.org> writes:
>
>
> [
> https://issues.apache.org/jira/browse/JS2-1237?
page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
tabpanel&focusedCommentId=12989413#comment-12989413
> ]
>
> Woonsan Ko commented on JS2-1237:
> ---------------------------------
>
> Ant does not follow the maven proxy configurations at all.
> However, Ant allows us to set proxy configurations in four ways. [1]
> The most convenient and similar way to maven settings is to use "Manual JVM
options" by passing some system
> properties such as "http.proxyHost" and "http.proxyPort". So, we can simply
set these properties to
> enable Ant tasks to use the proxy.
> However, there's one more thing to consider. Because the ant task to download
tomcat zip is included in the
> custom Jetspeed mvn plugin pom file (jetspeed-mvn-tomcat-portal-pom.xml),
standard jvm system
> properties will not be passed automatically.
> To pass some additional system properties to the custom Jetspeed mvn plugin
pom, you can add
> jetspeed-mvn.properties in the project root folder.
> The jetspeed-mvn.properties can look like this:
>
> # jetspeed-mvn.properties
> http.proxyHost=127.0.0.1
> http.proxyPort=8888
>
> With this, you can pass those proxy system properties to the ant task in the
end.
> See [2] for details on the properties of custom Jetspeed mvn plugin.
>
> In summary, if you want to get the tomcat zip downloaded during building
installer, you can add
> jetspeed-mvn.properties with Ant-specific proxy properties.
>
> [1] http://ant.apache.org/manual/proxy.html
> [2] http://portals.apache.org/jetspeed-2/buildguide/jetspeed-mvn-plugin.html
>
> > Tomcat zip is not downloaded via proxy. (Proxy configuration is set in maven
settings.xml)
> > ----------------------------------------------------------------------------
--------------
> >
> > Key: JS2-1237
> > URL: https://issues.apache.org/jira/browse/JS2-1237
> > Project: Jetspeed 2
> > Issue Type: Test
> > Components: Installer
> > Affects Versions: 2.2.1
> > Reporter: Woonsan Ko
> > Assignee: Woonsan Ko
> > Priority: Minor
> >
> > When building Jetspeed-installer, it tries to download tomcat zip file from
http://archive.apache.org/dist/tomcat/tomcat-6/...
> > In some environment, they should use proxy to get access to external web
resources. So, they usually
> configure the proxy setting in maven settings.xml like the example found in
[1].
> > However, the ant task, <get/>, in jetspeed-installer/jetspeed-mvn-tomcat-
portal-pom.xml, doesn't
> use this proxy configuration, so it fails to download via the proxy.
> > [1] http://maven.apache.org/settings.html#Proxies
>
Hi,
I installed the jetspeed2 installer but I am not getting how to configure to the
eclipse,can any one will reply me please.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org