-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.xml
19 lines (19 loc) · 979 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is an ant build script, to be called like 'ant' or 'ant clean'... -->
<project name="svsal" default="xar">
<xmlproperty file="expath-pkg.xml"/> <!-- collapseAttributes="true" -->
<property name="build.dir" value="build"/>
<property name="project.app" value="${package(abbrev)}"/>
<property name="project.version" value="${package(version)}"/>
<target name="xar" description="Generate application xar archive file">
<echo>Making package for ${project.app}</echo>
<mkdir dir="${build.dir}"/>
<zip basedir="."
destfile="${build.dir}/${project.app}-${project.version}.xar"
excludes="${build.dir}/*,${build.dir},**/*.bak,html/**/*,html,snippets/**/*,snippets,temp/**/*,data-bak/**/*,data-bak,.svn/**/*,.svn,.gitignore,repo.xml.tpl"
/>
</target>
<target name="clean">
<delete dir="${build.dir}"/>
</target>
</project>