diff options
author | Jason Pyeron <jpyeron@pdinc.us> | 2012-08-19 13:44:52 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-08-19 21:35:52 -0400 |
commit | d1231c63669f4bc3643985b9032de7f998612e08 (patch) | |
tree | f6e393b80eff3fa49ade5fdb70f8876e5eb27098 /build.xml | |
parent | cdf77badd798861953ab11cad3ad4641f1b406d2 (diff) | |
download | gitblit-d1231c63669f4bc3643985b9032de7f998612e08.tar.gz gitblit-d1231c63669f4bc3643985b9032de7f998612e08.zip |
fixed build to allow builds where a proxy is needed for access to outside resources
see: http://ant.apache.org/manual/proxy.html
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -122,7 +122,16 @@ <include name="com/gitblit/Constants.java" />
<include name="com/gitblit/utils/StringUtils.java" />
</javac>
- <java classpath="${project.build.dir}" classname="com.gitblit.build.Build" />
+
+ <java classpath="${project.build.dir}" classname="com.gitblit.build.Build">
+ <syspropertyset id="proxy.properties">
+ <propertyref prefix="java.net.useSystemProxies"/>
+ <propertyref prefix="http."/>
+ <propertyref prefix="https."/>
+ <propertyref prefix="ftp."/>
+ <propertyref prefix="socksProxy"/>
+ </syspropertyset>
+ </java>
<!-- Compile Project -->
<path id="master-classpath">
|