1
<?xml version="1.0" encoding="iso-8859-1"?>
3
<project name="TuxGuitar-pdf" basedir="." default="all">
8
<property file="build.properties" />
9
<property name="build.src.path" value="src" />
10
<property name="build.path" value="build" />
11
<property name="build.jar" value="tuxguitar-pdf.jar" />
13
<property name="service.class" value="org.herac.tuxguitar.gui.system.plugins.TGPlugin" />
14
<property name="service.provider" value="org.herac.tuxguitar.io.pdf.PDFPluginExporter" />
16
<path id="class.path">
17
<pathelement location="${path.itext}"/>
18
<pathelement location="${path.swt}"/>
19
<pathelement location="${path.tuxguitar}"/>
22
<target name="init" depends="clean">
23
<mkdir dir="${build.path}" />
26
<target name="build" depends="init">
27
<echo>+-------------------------------------------------+</echo>
28
<echo>| B U I L D I N G P L U G I N P D F |</echo>
29
<echo>+-------------------------------------------------+</echo>
31
<javac srcdir="${build.src.path}" destdir="${build.path}" debug="false" >
32
<classpath refid="class.path"/>
33
<include name="**/*.java"/>
36
<mkdir dir="${build.path}/META-INF/services" />
37
<echo file="${build.path}/META-INF/services/${service.class}" append="false">${service.provider}</echo>
39
<echo>+-----------------------------------------------+</echo>
40
<echo>| P A C K A G I N G P L U G I N |</echo>
41
<echo>+-----------------------------------------------+</echo>
43
<jar destfile="${build.jar}" basedir="${build.path}" />
44
<delete quiet="true" dir="${build.path}" />
48
<delete quiet="true" dir="${build.path}" />
49
<delete quiet="true" file="${build.jar}" />
52
<target name="all" depends="build" />
55
<!-- eof "$Id: build.xml,v 1.7 2008/02/28 00:35:01 rzr Exp $" -->