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

Contents of /android/TrainInfoService/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 820 - (show annotations) (download) (as text)
Thu Jun 10 09:31:54 2010 UTC (13 years, 11 months ago) by torben
File MIME type: text/xml
File size: 1230 byte(s)
add deploy target
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
19 <target name="compile" depends="init">
20 <javac srcdir="src/" destdir="${builddir}" debug="off" optimize="on" includeantruntime="false">
21 <classpath refid="path.base" />
22 </javac>
23 </target>
24
25 <target name="clean" description="Cleans away all generated files.">
26 <delete dir="${builddir}" />
27 <delete file="${warfile}" />
28 </target>
29
30
31
32 <target name="war" depends="compile" description="Builds the WAR file for installation.">
33 <war warfile="${warfile}" webxml="WebContent/WEB-INF/web.xml">
34 <!-- lib dir="lib" includes="*.jar" /-->
35 <classes dir="${builddir}" includes="**/*.class" />
36 <fileset dir="WebContent" includes="**" />
37 </war>
38 </target>
39
40 <target name="deploy" depends="war">
41 <copy file="${warfile}" todir="/home/app/domain1/autodeploy" />
42 </target>
43
44
45 </project>

  ViewVC Help
Powered by ViewVC 1.1.20