Allow overriding build properties in build.properties.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1094 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
build.properties
|
||||||
@@ -1,15 +1,19 @@
|
|||||||
<?xml version="1.0" standalone="yes"?>
|
<?xml version="1.0" standalone="yes"?>
|
||||||
|
|
||||||
<!-- build configuration -->
|
<!-- build configuration -->
|
||||||
<project name="narya" default="compile" basedir=".">
|
<project name="narya" default="compile" basedir=".">
|
||||||
|
|
||||||
|
<!-- import overriding properties -->
|
||||||
|
<property file="build.properties"/>
|
||||||
|
|
||||||
<!-- configuration parameters -->
|
<!-- configuration parameters -->
|
||||||
<property name="app.name" value="narya"/>
|
<property name="app.name" value="narya"/>
|
||||||
<property name="deploy.dir" value="dist"/>
|
|
||||||
<property name="dist.jar" value="${app.name}.jar"/>
|
|
||||||
<property name="javadoc.home" value="${deploy.dir}/docs"/>
|
|
||||||
<property name="build.compiler" value="jikes"/>
|
<property name="build.compiler" value="jikes"/>
|
||||||
<property name="build.optimize" value="off"/>
|
<property name="build.optimize" value="off"/>
|
||||||
|
<property name="deploy.dir" value="dist"/>
|
||||||
|
|
||||||
|
<!-- derived properties -->
|
||||||
|
<property name="dist.jar" value="${app.name}.jar"/>
|
||||||
|
<property name="javadoc.home" value="${deploy.dir}/docs"/>
|
||||||
|
|
||||||
<!-- we want to access the environment -->
|
<!-- we want to access the environment -->
|
||||||
<property environment="env"/>
|
<property environment="env"/>
|
||||||
@@ -64,6 +68,7 @@
|
|||||||
destdir="${javadoc.home}"
|
destdir="${javadoc.home}"
|
||||||
additionalparam="-breakiterator">
|
additionalparam="-breakiterator">
|
||||||
<classpath refid="classpath"/>
|
<classpath refid="classpath"/>
|
||||||
|
<link href="http://java.sun.com/j2se/1.4/docs/api/"/>
|
||||||
</javadoc>
|
</javadoc>
|
||||||
<copy todir="${javadoc.home}">
|
<copy todir="${javadoc.home}">
|
||||||
<fileset dir="src/java" includes="**/*.png"/>
|
<fileset dir="src/java" includes="**/*.png"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user