Build file updates.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1262 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,15 +1,17 @@
|
|||||||
<!-- build configuration for 'Two Due' project -->
|
<!-- build configuration for 'Two Due' project -->
|
||||||
<project name="Two Due" default="compile" basedir=".">
|
<project name="Two Due" default="compile" basedir=".">
|
||||||
|
|
||||||
|
<!-- the base directory from which we get our bundles and jar files -->
|
||||||
|
<property name="base.dir" value="../.."/>
|
||||||
|
|
||||||
<!-- import properties -->
|
<!-- import properties -->
|
||||||
<property file="build.properties"/>
|
<property file="build.properties"/>
|
||||||
|
|
||||||
<!-- configuration parameters -->
|
<!-- configuration parameters -->
|
||||||
<property name="app.name" value="twodue"/>
|
<property name="app.name" value="twodue"/>
|
||||||
<property name="web.home" value="/export/wayward/pages"/>
|
<property name="install.dir" value="${base.dir}/webapps"/>
|
||||||
<property name="deploy.dir" value="${web.home}/${app.name}"/>
|
<property name="deploy.dir" value="${base.dir}/${app.name}"/>
|
||||||
<property name="dist.war" value="${app.name}.war"/>
|
<property name="dist.war" value="${app.name}.war"/>
|
||||||
<property name="build.compiler" value="jikes"/>
|
|
||||||
|
|
||||||
<!-- we want to access the environment -->
|
<!-- we want to access the environment -->
|
||||||
<property environment="env"/>
|
<property environment="env"/>
|
||||||
@@ -60,4 +62,9 @@
|
|||||||
<target name="dist" depends="prepare,compile">
|
<target name="dist" depends="prepare,compile">
|
||||||
<jar file="${dist.war}" basedir="${deploy.dir}"/>
|
<jar file="${dist.war}" basedir="${deploy.dir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!-- builds the .war file and installs it into the webapp directory -->
|
||||||
|
<target name="install" depends="dist">
|
||||||
|
<copy file="${dist.war}" todir="${install.dir}"/>
|
||||||
|
</target>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user