-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
28 lines (25 loc) · 1.23 KB
/
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
28
<?xml version="1.0" encoding="UTF-8"?>
<project name="FlexiGraph" default="default" basedir=".">
<description>Builds, tests, and runs the project Graph.</description>
<import file="nbproject/build-impl.xml"/>
<target name="-pre-jar" depends="-do-compile-test">
<delete dir="build/classes/examples"/>
</target>
<target name="dist" depends="compile,jar,javadoc"
description="Create a self-contained, package with this project's artifacts">
<delete dir="nbproject/private"/>
<property name="zip.file" value="dist/Flexigraph.zip"/>
<zip destfile="${zip.file}">
<zipfileset dir="src" prefix="src"/>
<zipfileset dir="examples" prefix="examples"/>
<zipfileset dir="test" prefix="test"/>
<zipfileset file="build.xml" prefix=""/>
<zipfileset file="LICENCE.txt" prefix=""/>
<zipfileset dir="nbproject" prefix="nbproject"/>
<zipfileset dir="dist/javadoc" prefix="docs"/>
<zipfileset file="${dist.jar}" prefix="dist"/>
<zipfileset file="lib/*.jar" prefix="lib"/>
<zipfileset file="testlib/*.jar" prefix="testlib"/>
</zip>
</target>
</project>