-
Notifications
You must be signed in to change notification settings - Fork 32
/
create-tools-src-zip.xml
36 lines (25 loc) · 1.02 KB
/
create-tools-src-zip.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
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="jangaroo-create-sources-zip" default="compress-sources">
<description>
Creates the tools sources zip archive from the Jangaroo source tree.
Call this script setting the following properties:
version: The version number to include in the archive name.
</description>
<property name="output.dir" location="target"/>
<property name="tools.src.archive.name" value="jangaroo-${version}-tools-src.zip"/>
<target name="init">
<mkdir dir="${output.dir}"/>
</target>
<target name="compress-sources" depends="init"
description="Creates the tools sources archive">
<zip destfile="${output.dir}/${tools.src.archive.name}">
<zipfileset dir="${basedir}" prefix="jangaroo-${version}">
<include name="pom.xml"/>
<include name="jooc/pom.xml"/>
<include name="jooc/src/**"/>
<include name="release/pom.xml"/>
<include name="release/src/**"/>
</zipfileset>
</zip>
</target>
</project>