-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.xml
79 lines (68 loc) · 2.98 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
74
75
76
77
78
79
<project name="client" default="jarClass" basedir=".">
<property name="product" value="beetl"/>
<property name="version" value="1.26.04"/>
<property name="classes.dir" value="${basedir}/bin"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="lib.dir" value="${basedir}"/>
<!--property name="lib.dir" value="E:\lijz\javamonkey\bee\trunk\workspace\tl_sample_web\WebContent\WEB-INF\lib"/-->
<property name="jar.file" value="${product}.${version}.jar"/>
<target name="clean">
<echo>clean build dir</echo>
<delete dir="${build.dir}" quiet="true"/>
</target>
<target name="init" depends="clean">
<mkdir dir="${build.dir}"/>
</target>
<target name="jarClass" depends="init">
<jar destfile="${lib.dir}/${jar.file}">
<fileset dir="${classes.dir}">
<exclude name="org/bee/testcase/**" />
<exclude name="org/antlr/runtime/debug/**" />
<exclude name="**/*.g" />
<exclude name="**/*.tokens" />
<exclude name="org/bee/tl/performance/**" />
<exclude name="org/bee/tl/samples/**" />
<include name="org/bee/tl/core/**"/>
<include name="org/bee/tl/extend/**"/>
<include name="org/antlr/runtime/**"/>
<include name="org/bee/tl/ext/**"/>
</fileset>
<zipfileset src="lib/antlr-runtime-3.4-nodebug.jar"/>
</jar>
</target>
<target name="jarSrc" depends="init">
<jar destfile="${basedir}/beetl_src_${version}.jar">
<fileset dir="${basedir}/src">
<exclude name="**/.svn/**" />
<exclude name="**/samples/**" />
</fileset>
<fileset dir="${basedir}/ext">
<exclude name="**/.svn/**" />
</fileset>
<fileset dir="${basedir}/samples">
<exclude name="**/.svn/**" />
</fileset>
</jar>
</target>
<target name="javadoc" description="Generate the Javadoc HTML pages.">
<delete dir="../javadoc" />
<mkdir dir="../javadoc" />
<javadoc destdir="../javadoc"
windowtitle="Beetl API"
use="yes"
linksource="no"
splitindex="yes"
encoding="UTF-8" docencoding="UTF-8">
<classpath>
<fileset dir="${basedir}/lib">
<include name="*.jar"/>
</fileset>
</classpath>
<!-- 需要修改 Begin -->
<packageset dir="src" defaultexcludes="yes">
<include name="org/bee/**"/>
</packageset>
<!-- 需要修改 End -->
</javadoc>
</target>
</project>