forked from bestrada/demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
74 lines (58 loc) · 1.73 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0"?>
<!-- yuntao's edit -->
edit 1
<project name="sonic-helloworld" basedir="." default="jar">
<property name="src.dir" value="src"/>
<property name="tools.dir" value="tools"/>
<property name="build.dir" value="build"/>
<property name="classes.dir" value="${build.dir}/classes"/>
<path id="lib">
<fileset dir="${build.dir}">
<include name="*.jar" />
</fileset>
<fileset dir="/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib">
<include name="*.jar" />
</fileset>
</path>
<path id="run.classpath">
<pathelement location="${classes.dir}" />
<path refid="lib"/>
</path>
<target name="compile" depends="init">
<mkdir dir="${classes.dir}"/>
<javac destdir="${classes.dir}">
<src path="${src.dir}"/>
<classpath refid="lib"/>
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="${build.dir}/sonic-helloword.jar">
<fileset dir="${classes.dir}"/>
</jar>
</target>
<target name="run" depends="compile">
<java classname="net.flixster.sonic.HelloSonic" classpathref="run.classpath" fork="true" />
</target>
<target name="clean">
<delete dir="${classes.dir}"/>
<delete dir="${build.dir}"/>
</target>
<target name="init">
<mkdir dir="${build.dir}"/>
<mkdir dir="${classes.dir}"/>
</target>
<!-- wsdl2java taskdef and target
<taskdef name="codegen" classname="org.apache.axis2.tool.ant.AntCodegenTask" classpathref="lib" />
<target name="wsdl" >
<codegen wsdlfilename="wsdl/titledata.wsdl" output="soapclient" classpathref="lib"/>
</target>
<path id="project.classpath">
<pathelement location="${src.dir}" />
</path>
<path id="java">
<fileset dir="D:\Jars\Hibernate">
<include name="*.jar"/>
</fileset>
</path>
-->
</project>