1
<?xml version="1.0" encoding="iso-8859-1"?>
3
<project name="TuxGuitar-lilypond" basedir="." default="all">
5
TuxGuitar Lilypond Exporter
8
<property file="build.properties" />
9
<property name="build.src.path" value="src${file.separator}" />
10
<property name="build.share.path" value="share${file.separator}" />
11
<property name="build.path" value="build${file.separator}" />
12
<property name="build.jar" value="tuxguitar-lilypond.jar" />
14
<property name="service.class" value="org.herac.tuxguitar.gui.system.plugins.TGPlugin" />
15
<property name="service.provider" value="org.herac.tuxguitar.io.lilypond.LilypondPluginExporter" />
17
<path id="class.path">
18
<pathelement location="${path.tuxguitar}"/>
19
<pathelement location="${path.swt}"/>
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 |</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}${file.separator}lang" />
37
<copy todir="${build.path}${file.separator}lang">
38
<fileset dir="${build.share.path}${file.separator}lang"/>
41
<mkdir dir="${build.path}/META-INF/services" />
42
<echo file="${build.path}/META-INF/services/${service.class}" append="false">${service.provider}</echo>
44
<echo>+-----------------------------------------------+</echo>
45
<echo>| P A C K A G I N G P L U G I N |</echo>
46
<echo>+-----------------------------------------------+</echo>
48
<jar destfile="${build.jar}" basedir="${build.path}" />
49
<delete quiet="true" dir="${build.path}" />
53
<delete quiet="true" dir="${build.path}" />
54
<delete quiet="true" file="${build.jar}" />
57
<target name="all" depends="build" />
59
<!-- eof "$Id: build.xml,v 1.5 2008/02/28 00:35:00 rzr Exp $" -->