-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
25 lines (19 loc) · 1.06 KB
/
build.xml
File metadata and controls
25 lines (19 loc) · 1.06 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="test" default="zip-test" basedir=".">
<description>Test Build File</description>
<loadproperties srcfile="build.properties" />
<property name="dist" location="dist" />
<target name="init">
<tstamp>
<format property="FILE_TSTAMP" pattern="yyyy-MM-dd_HH.mm" />
</tstamp>
<!--creates the build directory-->
<mkdir dir="${dist}" />
</target>
<target name="zip-test" depends="init" description="Creates a dist-zip that contains most of the projects files.">
<delete file="${dist}/test-${app.version}.tar.gz" quiet="true" />
<tar destfile="${dist}/test-${app.version}.tar.gz" basedir="." compression="gzip"
excludes=".metadata/**, RemoteSystemsTempFiles/**, **/local-files/**, **/output/**, **/log/**, **/build/**, , **/dist/**, **/classes-eclipse/**, **/tmp/**, **/tmp-junit/**, **/slurp/**, **/geoip-db/GeoIPASNum.dat, **/geoip-db/GeoC*.dat, **/geoip-db/GeoLite*.dat, **/*_private.properties">
</tar>
</target>
</project>