-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
27 lines (23 loc) · 982 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
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." name="teilex0" default="zip">
<property name="project.version" value="1.5.2" />
<property name="project.name" value="teilex0-oxygen-framework" />
<property name="build.dir" value="build" />
<property name="web.dir" value="web" />
<target name="zip">
<mkdir dir="${project.name}"/>
<copy todir="${project.name}">
<fileset dir="./src" includes="**/**"/>
</copy>
<mkdir dir="${build.dir}" />
<zip destfile="${build.dir}/${project.name}.zip">
<zipfileset dir=".">
<include name="${project.name}/**/**"></include>
</zipfileset>
</zip>
<copy file="${build.dir}/${project.name}.zip" tofile="${build.dir}/${project.name}-${project.version}.zip" />
<copy file="${build.dir}/${project.name}.zip" tofile="${web.dir}/${project.name}-${project.version}.zip" />
<copy file="${build.dir}/${project.name}.zip" todir="${web.dir}" />
<delete dir="${project.name}" />
</target>
</project>