-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.xml
32 lines (26 loc) · 1.04 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
<?xml version="1.0" encoding="UTF-8"?>
<project default="all" name="pb-components-api">
<property name="dist" value="./dist"/>
<property name="build" value="./build"/>
<xmlproperty file="demo/expath-pkg.xml"/>
<property name="project.app" value="${package(abbrev)}"/>
<property name="project.version" value="${package(version)}"/>
<target name="all" depends="xar"/>
<target name="rebuild" depends="clean,all"/>
<target name="clean">
<delete dir="${build}"/>
</target>
<target name="xar">
<zip destfile="${build}/${project.app}-${project.version}.xar">
<fileset dir=".">
<include name="dist/**"/>
<include name="i18n/**"/>
<include name="images/**"/>
<include name="lib/**"/>
<include name="css/**"/>
</fileset>
<zipfileset dir="demo" prefix="" includes="*.xml"/>
<zipfileset dir="demo" prefix="" includes="*.xql"/>
</zip>
</target>
</project>