Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Support HTTPGET proxy. #16

Merged
merged 1 commit into from

2 participants

@drupol

This has been included in Phing > 2.4.10

@kasperg
Owner

Very nice. Thank you for the contribution!

@kasperg kasperg merged commit 8e7325d into reload:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 10, 2012
  1. @drupol

    Support HTTPGET proxy.

    drupol authored
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 4 deletions.
  1. +3 −0  build.default.properties
  2. +7 −4 build.xml
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.