blob: 1c79399cb740902c8313479d4f1ce244a7ef8c1e (
plain) (
blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<project name="Greek Reference Database Creator" default="dist" basedir=".">
<description>
Greek reference Database Creator build file.
</description>
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<property name="lib" location="lib"/>
<property name="main-class" value="com.benlinskey.grdbc.GRDBC"/>
<path id="compile-classpath">
<fileset dir="${lib}">
<include name="**/*.jar"/>
</fileset>
</path>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init" description="Compile the source">
<javac srcdir="${src}" destdir="${build}" includeantruntime="false">
<classpath>
<fileset dir="${basedir}/lib">
<include name="*.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="dist" depends="compile"
description="Generate the distribution">
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/grdbc.jar" basedir="${build}">
<manifest>
<attribute name="Main-Class" value="${main-class}"/>
<attribute name="Class-Path" value="${lib}/sqlite-jdbc-3.7.2.jar
${lib}/transcoder-1.2-SNAPSHOT.jar"/>
</manifest>
</jar>
</target>
<target name="clean" description="Clean up">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>
|