Importing Handle Service code.
[java-idp.git] / build.xml
1 <project name="AA" default="dist" basedir=".">
2
3   <!-- set global properties for this build -->
4   <property name="src" value="."/>
5   <property name="build" value="build"/>
6   <property name="dist"  value="/var/tomcat3/webapps/"/>
7  
8   <target name="init">
9     <!-- Create the time stamp -->
10     <tstamp/>
11     <!-- Create the build directory structure used by compile -->
12     <mkdir dir="${build}" />
13   </target>
14
15   <target name="compile" depends="init">
16     <!-- Compile the java code from ${src} into ${build} -->
17     <javac srcdir="${src}" destdir="${build}" classpath=".:/usr/java/jdk1.3.1_02/lib/jre:/usr/local/shib/lib/shibboleth.jar:/usr/local/shib/lib/xmlParserAPIs.jar:/usr/local/shib/lib/xercesImpl.jar:/var/tomcat3/lib/common/servlet.jar:/var/tomcat3/lib/common/mm.mysql-2.0.8-bin.jar"/>
18   </target>
19   <target name="dist" depends="compile">
20     <war warfile="shibb.war" webxml="web.xml">
21       <classes dir="build"/>
22     </war>
23     <copy file="shibb.war" tofile="${dist}/shibb.war">
24     </copy>
25   </target>
26
27 </project>
28