/[projects]/android/TrainInfoService/build.xml
ViewVC logotype

Contents of /android/TrainInfoService/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 822 - (show annotations) (download) (as text)
Thu Jun 10 11:32:22 2010 UTC (13 years, 11 months ago) by torben
File MIME type: text/xml
File size: 1448 byte(s)
added target for compiling CircuitBreaker
1 <project name="TrainInfoService" default="war">
2 <property name="builddir" value="antbuild" />
3 <property name="warfile" value="${ant.project.name}.war" />
4
5 <path id="path.base">
6 <fileset dir="WebContent/WEB-INF/lib/">
7 <include name="*.jar" />
8 </fileset>
9 <fileset dir="/home/app/glassfishv3/glassfish/modules/">
10 <include name="*.jar" />
11 </fileset>
12 </path>
13
14 <target name="init">
15 <mkdir dir="${builddir}" />
16 </target>
17
18 <target name="libs">
19 <ant dir="../CircuitBreaker/" antfile="../CircuitBreaker/build.xml" inheritAll="false" />
20 <copy file="../CircuitBreaker/CircuitBreaker.jar" todir="WebContent/WEB-INF/lib" />
21 </target>
22
23
24
25 <target name="compile" depends="init,libs">
26 <javac srcdir="src/" destdir="${builddir}" debug="off" optimize="on" includeantruntime="false">
27 <classpath refid="path.base" />
28 </javac>
29 </target>
30
31 <target name="clean" description="Cleans away all generated files.">
32 <delete dir="${builddir}" />
33 <delete file="${warfile}" />
34 </target>
35
36
37
38 <target name="war" depends="compile" description="Builds the WAR file for installation.">
39 <war warfile="${warfile}" webxml="WebContent/WEB-INF/web.xml">
40 <!-- lib dir="lib" includes="*.jar" /-->
41 <classes dir="${builddir}" includes="**/*.class" />
42 <fileset dir="WebContent" includes="**" />
43 </war>
44 </target>
45
46 <target name="deploy" depends="war">
47 <copy file="${warfile}" todir="/home/app/domain1/autodeploy" />
48 </target>
49
50
51 </project>

  ViewVC Help
Powered by ViewVC 1.1.20