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

« back to all changes in this revision

Viewing changes to TuxGuitar-winmm/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-winmm" basedir="." default="all">
 
4
        <description>
 
5
                TuxGuitar Winmm
 
6
        </description>
 
7
        
 
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-winmm.jar" />
 
12
        
 
13
        <property name="service.class" value="org.herac.tuxguitar.gui.system.plugins.TGPlugin" />
 
14
        <property name="service.provider" value="org.herac.tuxguitar.player.impl.midiport.winmm.MidiPortProviderPlugin" />
 
15
        
 
16
        <path id="class.path">
 
17
                <pathelement location="${path.tuxguitar}"/>
 
18
                <pathelement location="${path.swt}"/>
 
19
        </path >
 
20
        
 
21
        <target name="init" depends="clean">
 
22
                <mkdir dir="${build.path}" />
 
23
        </target>
 
24
        
 
25
        <target name="clean">
 
26
                <delete quiet="true" dir="${build.path}" />
 
27
                <delete quiet="true" file="${build.jar}" />
 
28
        </target>
 
29
        
 
30
        <target name="build" depends="init">
 
31
                
 
32
                <echo>+--------------------------------------------------------------------+</echo>
 
33
                <echo>|          B U I L D I N G   T U X G U I T A R  -  W I N M M         |</echo>
 
34
                <echo>+--------------------------------------------------------------------+</echo>
 
35
                
 
36
                <javac srcdir="${build.src.path}" destdir="${build.path}" debug="false" >
 
37
                        <classpath refid="class.path"/>
 
38
                        <include name="**/*.java"/>
 
39
                </javac>
 
40
                
 
41
                <mkdir dir="${build.path}/META-INF/services" />
 
42
                <echo file="${build.path}/META-INF/services/${service.class}" append="false">${service.provider}</echo>
 
43
                
 
44
                <echo>+--------------------------------------------------------------------+</echo>
 
45
                <echo>|        P A C K A G I N G   T U X G U I T A R  -  W I N M M         |</echo>
 
46
                <echo>+--------------------------------------------------------------------+</echo>
 
47
                
 
48
                <jar destfile="${build.jar}" basedir="${build.path}" />
 
49
                <delete quiet="true" dir="${build.path}" />
 
50
        </target>
 
51
        
 
52
        <target name="all" depends="build" />
 
53
</project>
 
 
b'\\ No newline at end of file'