summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJason Pyeron <jpyeron@pdinc.us>2012-08-19 13:44:52 -0400
committerJames Moger <james.moger@gitblit.com>2012-08-19 21:35:52 -0400
commitd1231c63669f4bc3643985b9032de7f998612e08 (patch)
treef6e393b80eff3fa49ade5fdb70f8876e5eb27098 /build.xml
parentcdf77badd798861953ab11cad3ad4641f1b406d2 (diff)
downloadgitblit-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.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 2230277a..5ea612a9 100644
--- a/build.xml
+++ b/build.xml
@@ -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">