Skip to content

Support HTTPGET proxy. #16

Merged
merged 1 commit into from Apr 19, 2012
View
3 build.default.properties
@@ -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
11 build.xml
@@ -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>
Something went wrong with that request. Please try again.