Skip to content

Commit

Permalink
Pull system dependent properties out into build.properties, and allow…
Browse files Browse the repository at this point in the history
… users to override these properties with a user.properties file.
  • Loading branch information
mebigfatguy committed May 14, 2009
1 parent 45accb9 commit 221f430
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.properties
@@ -0,0 +1,2 @@
JINI_HOME=/Users/dan/jini/jini2_1
JDK_HOME=/usr/local/java
8 changes: 6 additions & 2 deletions build.xml
Expand Up @@ -2,6 +2,10 @@
<description>
Main build file for Blitz space implementation running on Db-Java
</description>

<property file="${basedir}/user.properties" />
<property file="${basedir}/build.properties" />

<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="testsrc" location="test"/>
Expand All @@ -10,8 +14,8 @@
<property name="installer_build" location="installer_build"/>
<property name="db_root" location="dbjava/je-3.2.68/"/>
<property name="bdb" location="dbjava/je.jar"/>
<property name="jini_root" location="/Users/dan/jini/jini2_1"/>
<property name="jdk_root" location="/usr/local/java"/>
<property name="jini_root" location="${JINI_HOME}"/>
<property name="jdk_root" location="${JDK_HOME}"/>
<property name="stats" location="examples/statsclient"/>
<property name="statsbuild" location="examples/statsclient"/>
<property name="hello" location="examples/helloworld"/>
Expand Down

0 comments on commit 221f430

Please sign in to comment.