-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.xml
64 lines (57 loc) · 1.84 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="ruisi-security" default="compile">
<description>
cloub-web
</description>
<!-- =================================
target: init
================================= -->
<target name="init">
<tstamp />
<delete dir="." includes="*.zip" />
<delete dir="output" />
</target>
<path id="web.classpath">
<fileset dir="app/WEB-INF/lib">
<include name="*.jar" />
</fileset>
</path>
<!-- =================================
target: mkdir
================================= -->
<target name="mkdir" depends="init">
<mkdir dir="bin" />
</target>
<!-- =================================
target: compile
================================= -->
<target name="compile" depends="mkdir" description="compile jar,sample">
<javac encoding="UTF-8" source="1.6" target="1.6" debug="true" srcdir="src" destdir="app/WEB-INF/classes">
<include name="*.java" />
<include name="*.xml" />
<include name="*.properties" />
<classpath refid="web.classpath" />
</javac>
<jar destfile="bin/ruisi-report.jar" basedir="app/WEB-INF/classes/">
<include name="com/ruisi/**/*.*" />
<include name="conf/**/*.*" />
<include name="config/**/*.*" />
<include name="weibo4j/**/*.*" />
<include name="org/htmlparser/**/*.*" />
<manifest>
<attribute name="Build-Time" value="${DSTAMP}-${TSTAMP}" />
</manifest>
</jar>
</target>
<!-- =================================
target: copy
=================================
<target name="copy" depends="compile" description="copy app,doc,lib">
<copy todir="D:\work\ruisi-x-report-runtime\WebViewerExample\WEB-INF\lib/">
<fileset dir="bin/lib/">
<include name="*.jar" />
</fileset>
</copy>
</target>
-->
</project>