[jboss-cvs] JBossAS SVN: r57212 - branches/JBoss_4_0_3_SP1_CP/build
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 26 12:53:27 EDT 2006
Author: scott.stark at jboss.org
Date: 2006-09-26 12:53:25 -0400 (Tue, 26 Sep 2006)
New Revision: 57212
Modified:
branches/JBoss_4_0_3_SP1_CP/build/build-thirdparty.xml
Log:
Integrate the local repository override support
Modified: branches/JBoss_4_0_3_SP1_CP/build/build-thirdparty.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_CP/build/build-thirdparty.xml 2006-09-26 12:39:46 UTC (rev 57211)
+++ branches/JBoss_4_0_3_SP1_CP/build/build-thirdparty.xml 2006-09-26 16:53:25 UTC (rev 57212)
@@ -7,6 +7,17 @@
<!-- Property File definitions -->
<property file="local.properties"/>
<property file="synchronize.properties"/>
+ <property environment="env"/>
+ <!-- Allow jbossbuild.repository to be set from (in order or priority)
+ + Command line -Djbossbuild.repository=...
+ + synchronize.properties jbossbuild.repository setting
+ + JBOSS_REPOSITORY environment variable (e.g. JBOSS_REPOSITORY=file:///d:/projects/repository.jboss.com/)
+ -->
+ <condition property="jbossbuild.repository" value="${env.JBOSS_REPOSITORY}">
+ <isset property="env.JBOSS_REPOSITORY"/>
+ </condition>
+ <!-- Fall back to default -->
+ <property name="jbossbuild.repository" value="http://repository.jboss.com"/>
<!-- Property Definitions -->
<property name="generatedLibrariesFiles" value="../thirdparty/libraries.ent"/>
@@ -25,7 +36,7 @@
description="JBoss Application Server"
cvsroot="${cvs.prefix}@cvs.forge.jboss.com:/cvsroot/jboss"
thirdpartypath="../thirdparty/"
- location="http://repository.jboss.com"
+ location="${jbossbuild.repository}"
targetdefs="targets"
>
More information about the jboss-cvs-commits
mailing list