-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.xml
27 lines (25 loc) · 867 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
<project default="xar" name="w2t">
<xmlproperty file="expath-pkg.xml"/>
<property name="project.version" value="${package(version)}"/>
<property name="project.app" value="w2t"/>
<property name="build.dir" value="build"/>
<target name="xar">
<mkdir dir="w2tei" />
<copy todir="w2tei/">
<fileset dir=".">
<include name="*.xsl"/>
<include name="*.xml"/>
<include name="*.xql"/>
</fileset>
</copy>
<mkdir dir="w2tei/add" />
<copy todir="w2tei/add/">
<fileset dir="add/">
<include name="*.xsl"/>
</fileset>
</copy>
<mkdir dir="${build.dir}"/>
<zip basedir="w2tei" destfile="${build.dir}/${project.app}-${project.version}.xar" excludes="${build.dir}/*"/>
<delete dir="w2tei/" />
</target>
</project>