Offer a way to change local file locations in build.xml via a local ACBuild.properties file (which doesn't get stored in the config management tool)
This commit is contained in:
parent
70f43c56fc
commit
3572ed98fc
|
@ -0,0 +1 @@
|
|||
ACBuild.properties
|
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# ACBuild-default.properties
|
||||
#
|
||||
# Create a copy of this file in the same build directory and name it
|
||||
# ACBuild.properties. That will allow you to change locations of
|
||||
# support files for local builds.
|
||||
#
|
||||
swtJarPathWin=C:/Program Files/Eclipse 2.1.x/plugins/org.eclipse.swt.win32_2.1.3/ws/win32/swt.jar
|
||||
swtJarPathMac=/Users/Shared/eclipse/plugins/org.eclipse.swt.carbon.macosx_3.2.2.v3236.jar
|
||||
junitPathWin=C:/Java/lib/junit3.8.1/junit.jar
|
||||
junitPathMac=/Users/Shared/junit/junit.jar
|
|
@ -12,14 +12,17 @@
|
|||
<property name="doc" value="documentation"/>
|
||||
<property name="web" value="web"/>
|
||||
<property name="javadoc" value="${work}/javadoc"/>
|
||||
<property name="builddir" value="${basedir}/build" />
|
||||
<property file="${builddir}/ACBuild.properties"/>
|
||||
<property file="${builddir}/ACBuild-default.properties"/>
|
||||
<condition property="swtjar"
|
||||
value="C:\Program Files\Eclipse 2.1.x\plugins\org.eclipse.swt.win32_2.1.3\ws\win32\swt.jar"
|
||||
else="/Users/Shared/eclipse/plugins/org.eclipse.swt.carbon.macosx_3.2.2.v3236.jar">
|
||||
value="${swtJarPathWin}"
|
||||
else="${swtJarPathMac}">
|
||||
<os family="windows"/>
|
||||
</condition>
|
||||
<condition property="junitjar"
|
||||
value="C:\Java\lib\junit3.8.1\junit.jar"
|
||||
else="/Users/Shared/junit/junit.jar">
|
||||
value="${junitPathWin}"
|
||||
else="${junitPathMac}">
|
||||
<os family="windows"/>
|
||||
</condition>
|
||||
|
||||
|
|
Loading…
Reference in New Issue