Permalink
Browse files

Support HTTPGET proxy.

  • Loading branch information...
1 parent 90e1fd2 commit 066b43fdd77d729dd309d91a754ddc71dca0d080 @drupol drupol committed Apr 10, 2012
Showing with 10 additions and 4 deletions.
  1. +3 −0 build.default.properties
  2. +7 −4 build.xml
View
@@ -1,6 +1,9 @@
# The name of the project
phing.project.name = name-of-project
+# Set this variable to enable the httpget proxy.
+# phing.httpget.proxy = http://localhost:3128/
+
# The version of Drupal for the project - 6 or 7
drupal.version = 7
# The install profile to use
View
@@ -250,7 +250,8 @@ from parent `lint-js` targets. -->
<param value="${jslint4java.url}" />
</php>
<httpget url="${jslint4java.url}"
- dir="${jslint4java.dir}"/>
+ dir="${jslint4java.dir}"
+ proxy="${phing.httpget.proxy}/>
<unzip file="${jslint4java.dir}/${jslint4java.zipfile}"
todir="${jslint4java.dir}" />
@@ -1183,7 +1184,8 @@ Configuration of which installation profile and database to use in done in
<not><available file="${project.toolsdir}/${patch.file}"/></not>
<then>
<httpget url="${patch.url}"
- dir="${project.toolsdir}"/>
+ dir="${project.toolsdir}"
+ proxy="${phing.httpget.proxy}/>
<patch patchfile="${project.toolsdir}/${patch.file}"
dir="${patch.dir}" haltonfailure="true"/>
</then>
@@ -1241,7 +1243,8 @@ Configuration of which installation profile and database to use in done in
<param value="${rhino.url}" />
</php>
<httpget url="${rhino.url}"
- dir="${rhino.dir}"/>
+ dir="${rhino.dir}"
+ proxy="${phing.httpget.proxy}"/>
<unzip file="${rhino.dir}/${rhino.zipfile}"
todir="${rhino.dir}" />
</then>
@@ -1300,4 +1303,4 @@ parsing installed. The task is primarily for template developers. -->
passthru="true" checkreturn="true"/>
</target>
-</project>
+</project>

0 comments on commit 066b43f

Please sign in to comment.