shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r744186 - /incubator/jsecurity/trunk/build.xml
Date Fri, 13 Feb 2009 17:28:11 GMT
Author: lhazlewood
Date: Fri Feb 13 17:28:10 2009
New Revision: 744186

URL: http://svn.apache.org/viewvc?rev=744186&view=rev
Log:
Added a quick fix to extract out the ivy base repository url in case that needs to be overridden
(e.g. when using a company internal repository proxy)

Modified:
    incubator/jsecurity/trunk/build.xml

Modified: incubator/jsecurity/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/build.xml?rev=744186&r1=744185&r2=744186&view=diff
==============================================================================
--- incubator/jsecurity/trunk/build.xml (original)
+++ incubator/jsecurity/trunk/build.xml Fri Feb 13 17:28:10 2009
@@ -58,12 +58,13 @@
         <pathelement location="${root.base.dir}/samples/spring-hibernate/src"/>
     </path>
 
+    <property name="ivy.repository.url" value="http://repo1.maven.org/maven2"/>
     <!-- To disable this task (maybe behind a firewall?), use the -Doffline=true command-line
switch -->
     <target name="download-ivy" unless="offline" description="Ensures Ivy exists for automatic
dependency mgt">
         <mkdir dir="${ivy.jar.dir}"/>
         <!-- download Ivy from web site so that it can be used even without any special
installation -->
         <echo message="Installing Ivy for automated dependecy management..."/>
-        <get src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
+        <get src="${ivy.repository.url}/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
              dest="${ivy.jar.file}" usetimestamp="true"/>
     </target>
 



Mime
View raw message