axis_examplecompt_changesinfo-opsversion-2.00version-3.01version-3.02
Last change
on this file since 1d913e13 was
8780cbec,
checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago
|
ABAC sources from Cobham
|
-
Property mode set to
100644
|
File size:
1.8 KB
|
Rev | Line | |
---|
[8780cbec] | 1 | <project name="RTML" default="dist" basedir="."> |
---|
| 2 | |
---|
| 3 | <property name="src" value="edu/stanford/rt" /> |
---|
| 4 | <property name="build" value="../build" /> |
---|
| 5 | <property name="dist" value="../dist" /> |
---|
| 6 | <property name="lib" value="../lib" /> |
---|
| 7 | <property name="shared.lib" value="/usr/share/java" /> |
---|
| 8 | <property name="tomcat.lib" value="/var/tomcat4" /> |
---|
| 9 | |
---|
| 10 | <target name="init"> |
---|
| 11 | <tstamp/> |
---|
| 12 | <mkdir dir="${build}"/> |
---|
| 13 | <mkdir dir="${lib}"/> |
---|
| 14 | </target> |
---|
| 15 | |
---|
| 16 | <target name="compile" depends="init"> |
---|
| 17 | <javac srcdir="${src}" destdir="${build}" debug="on"> |
---|
| 18 | <classpath> |
---|
| 19 | <fileset dir="${lib}"> |
---|
| 20 | <include name="**/*.jar"/> |
---|
| 21 | </fileset> |
---|
| 22 | <fileset dir="${shared.lib}"> |
---|
| 23 | <include name="**/*.jar"/> |
---|
| 24 | </fileset> |
---|
| 25 | <fileset dir="${tomcat.lib}"> |
---|
| 26 | <include name="**/*.jar"/> |
---|
| 27 | </fileset> |
---|
| 28 | </classpath> |
---|
| 29 | </javac> |
---|
| 30 | </target> |
---|
| 31 | |
---|
| 32 | <target name="jar" depends="compile"> |
---|
| 33 | <jar jarfile="${lib}/rtml.jar" basedir="${build}"/> |
---|
| 34 | </target> |
---|
| 35 | |
---|
| 36 | <target name="dist" depends="compile"> |
---|
| 37 | <!-- example from http://jakarta.apache.org/ant/manual/CoreTasks/war.html --> |
---|
| 38 | |
---|
| 39 | <!-- |
---|
| 40 | <war warfile="${dist}/ustorit.war" webxml="${metadata}/web.xml"> |
---|
| 41 | <fileset dir="${jsp}" /> |
---|
| 42 | <zipfileset dir="${images}" prefix="images" /> |
---|
| 43 | <fileset dir="${html}"/> |
---|
| 44 | <lib dir="${lib}" /> |
---|
| 45 | <classes dir="${build}"/> |
---|
| 46 | </war> |
---|
| 47 | --> |
---|
| 48 | </target> |
---|
| 49 | |
---|
| 50 | <target name="clean"> |
---|
| 51 | <delete> |
---|
| 52 | <fileset dir="${build}" includes="**/*.class"/> |
---|
| 53 | </delete> |
---|
| 54 | <delete file="${lib}/rtml.jar"/> |
---|
| 55 | </target> |
---|
| 56 | |
---|
| 57 | </project> |
---|
| 58 | |
---|
Note: See
TracBrowser
for help on using the repository browser.