~ubuntu-branches/ubuntu/oneiric/tuxguitar/oneiric

« back to all changes in this revision

Viewing changes to TuxGuitar-fluidsynth/build.xml

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2008-06-19 00:30:30 UTC
  • mto: (5.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20080619003030-h719szrhsngou7c6
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
 
 
3
<project name="tuxguitar-fluidsynth" basedir="." default="all">
 
4
        <description>
 
5
                TuxGuitar Fluidsynth
 
6
        </description>
 
7
        
 
8
        <property file="build.properties" />
 
9
        <property name="build.src.path" value="src" />
 
10
        <property name="build.share.path" value="share" />
 
11
        <property name="build.path" value="build" />
 
12
        <property name="build.jar" value="tuxguitar-fluidsynth.jar" />
 
13
        
 
14
        <property name="service.class" value="org.herac.tuxguitar.gui.system.plugins.TGPlugin" />
 
15
        <property name="service.provider" value="org.herac.tuxguitar.player.impl.midiport.fluidsynth.MidiPortProviderPlugin" />
 
16
        
 
17
        <path id="class.path">
 
18
                <pathelement location="${path.tuxguitar}"/>
 
19
                <pathelement location="${path.swt}"/>
 
20
        </path >
 
21
        
 
22
        <target name="init" depends="clean">
 
23
                <mkdir dir="${build.path}" />
 
24
        </target>
 
25
        
 
26
        <target name="clean">
 
27
                <delete quiet="true" dir="${build.path}" />
 
28
                <delete quiet="true" file="${build.jar}" />
 
29
        </target>
 
30
        
 
31
        <target name="build" depends="init">
 
32
                
 
33
                <echo>+--------------------------------------------------------------------+</echo>
 
34
                <echo>|    B U I L D I N G   T U X G U I T A R  -  F L U I D S Y N T H     |</echo>
 
35
                <echo>+--------------------------------------------------------------------+</echo>
 
36
                
 
37
                <javac srcdir="${build.src.path}" destdir="${build.path}" debug="false" >
 
38
                        <classpath refid="class.path"/>
 
39
                        <include name="**/*.java"/>
 
40
                </javac>
 
41
                
 
42
                <mkdir dir="${build.path}${file.separator}lang" />
 
43
                <copy todir="${build.path}${file.separator}lang">
 
44
                        <fileset dir="${build.share.path}${file.separator}lang"/>
 
45
                </copy>
 
46
                
 
47
                <mkdir dir="${build.path}/META-INF/services" />
 
48
                <echo file="${build.path}/META-INF/services/${service.class}" append="false">${service.provider}</echo>
 
49
                
 
50
                <echo>+----------------------------------------------------------------------+</echo>
 
51
                <echo>|    P A C K A G I N G   T U X G U I T A R  -  F L U I D S Y N T H     |</echo>
 
52
                <echo>+----------------------------------------------------------------------+</echo>
 
53
                
 
54
                <jar destfile="${build.jar}" basedir="${build.path}" />
 
55
                <delete quiet="true" dir="${build.path}" />
 
56
        </target>
 
57
        
 
58
        <target name="all" depends="build" />
 
59
</project>
 
 
b'\\ No newline at end of file'