-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
63 lines (61 loc) · 2.34 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
<?xml version="1.0" encoding="UTF-8" ?>
<project name="Shimeji-ee" basedir="." default="zip">
<target name="zip">
<zip destfile="target/src.zip">
<fileset dir=".">
<include name="**/*"/>
<exclude name="target/**/*"/>
<exclude name="target"/>
<exclude name="bin/**/*"/>
<exclude name="bin"/>
<exclude name=".settings/**"/>
<exclude name=".settings"/>
<exclude name=".classpath"/>
<exclude name=".project"/>
<exclude name=".idea/**/*"/>
<exclude name=".idea"/>
<exclude name="*.iml"/>
<exclude name="*.log"/>
</fileset>
</zip>
<ant target="zip_package">
<property name="edition" value="Calm"/>
</ant>
<ant target="zip_package">
<property name="edition" value="Professional"/>
</ant>
<ant target="zip_package">
<property name="edition" value="Mischievous"/>
</ant>
</target>
<target name="zip_package">
<zip destfile="target/Shimeji-ee_${version}_${edition}.zip">
<fileset dir="target">
<include name="Shimeji-ee.jar"/>
<include name="Shimeji-ee.exe"/>
<include name="src.zip"/>
<include name="lib/*"/>
</fileset>
<mappedresources>
<fileset dir="conf">
<include name="${edition}Behavior.xml"/>
</fileset>
<globmapper from="*.xml" to="conf/behaviors.xml"/>
</mappedresources>
<fileset dir=".">
<include name="Shimeji-ee.bat"/>
<include name="ShimejiHomePage.url"/>
<include name="Shimeji-eeHomePage.url"/>
<include name="originallicence.txt"/>
<include name="originalreadme.txt"/>
<include name="licence.txt"/>
<include name="readme.txt"/>
<include name="changelog.txt"/>
<include name="img/**/*"/>
<include name="conf/**/*"/>
<exclude name="conf/behaviors.xml"/>
<exclude name="conf/*Behavior.xml"/>
</fileset>
</zip>
</target>
</project>