-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
44 lines (37 loc) · 1.14 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
<?xml version='1.0' encoding='UTF-8'?>
<project name="SamplePlugin" default="all" basedir=".">
<target name="all" depends="clean,compile,jar" />
<path id="classpath">
<pathelement location="C:/SVN/ICN_IMPL/CODE/LIBS/navigatorAPI.jar" />
<pathelement location="./lib/j2ee.jar" />
<pathelement location="./temp" />
</path>
<target name="clean">
<delete dir="temp" />
</target>
<target name="compile">
<mkdir dir="temp" />
<javac srcdir="src" destdir="temp" source="1.6" target="1.6" debug="true">
<classpath refid="classpath" />
<include name="**/*.java" />
</javac>
</target>
<target name="jar">
<copy todir="temp">
<fileset dir="src">
<include name="**/WebContent/**" />
</fileset>
</copy>
<jar jarfile="SamplePlugin.jar">
<fileset dir="./temp" includes="**/*" />
<manifest>
<attribute name="Plugin-Class" value="com.aon.sample.Sample" />
<section name="build">
<attribute name="Built-By" value="${user.name}" />
<attribute name="Build" value="${TODAY}" />
</section>
</manifest>
</jar>
<delete dir="./temp" />
</target>
</project>