-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
32 lines (27 loc) · 818 Bytes
/
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
<?xml version="1.0" ?>
<project default="main">
<property name="message" value="Building the .jar file." />
<property name="src" location="src" />
<property name="output" location="bin" />
<property name="jarout" location="library" />
<property name="jarname" value="PFrame.jar" />
<property name="packagename" value="com/shigeodayo/pframe" />
<target name="main" depends="init, compile, compress">
<echo>
${message}
</echo>
</target>
<target name="init">
<mkdir dir="${output}" />
</target>
<target name="compile">
<javac srcdir="${src}" destdir="${output}" />
</target>
<target name="compress">
<jar destfile="${jarout}/${jarname}" basedir="${output}" includes="${packagename}/**">
<fileset dir="./">
<include name="lib/core.jar" />
</fileset>
</jar>
</target>
</project>