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

« back to all changes in this revision

Viewing changes to TuxGuitar-gtp/build.xml

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2008-06-19 00:30:30 UTC
  • mfrom: (1.1.1 upstream) (2.1.3 hardy)
  • Revision ID: james.westby@ubuntu.com-20080619003030-agens2gvd5m4dacu
New upstream release (Closes: #481728) also (LP: #176979, #212207)

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-gtp" basedir="." default="all">
 
4
        <description>
 
5
        TuxGuitar GPx File Format Support
 
6
        </description>
 
7
                
 
8
        <property file="build.properties" />
 
9
        <property name="build.src.path" value="src${file.separator}" />
 
10
        <property name="build.path" value="build${file.separator}" />
 
11
        <property name="build.jar" value="tuxguitar-gtp.jar" />
 
12
        
 
13
        <property name="service.class" value="org.herac.tuxguitar.gui.system.plugins.TGPlugin" />
 
14
        <property name="service.provider" value="org.herac.tuxguitar.io.gtp.GTPPluginList" />
 
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="build" depends="init">
 
26
                <echo>+-------------------------------------------------+</echo>
 
27
                <echo>|          B U I L D I N G   P L U G I N          |</echo>
 
28
                <echo>+-------------------------------------------------+</echo>
 
29
                
 
30
                <javac srcdir="${build.src.path}" destdir="${build.path}" debug="false" >
 
31
                        <classpath refid="class.path"/>
 
32
                        <include name="**/*.java"/>
 
33
                </javac>
 
34
                
 
35
                <mkdir dir="${build.path}/META-INF/services" />
 
36
                <echo file="${build.path}/META-INF/services/${service.class}" append="false">${service.provider}</echo>
 
37
                
 
38
                <echo>+-----------------------------------------------+</echo>
 
39
                <echo>|        P A C K A G I N G   P L U G I N        |</echo>
 
40
                <echo>+-----------------------------------------------+</echo>
 
41
                
 
42
                <jar destfile="${build.jar}" basedir="${build.path}" />
 
43
                <delete quiet="true" dir="${build.path}" />
 
44
        </target>
 
45
        
 
46
        <target name="clean">
 
47
                <delete quiet="true" dir="${build.path}" />
 
48
                <delete quiet="true" file="${build.jar}" />
 
49
        </target>
 
50
        
 
51
        <target name="all" depends="build" />
 
52
</project>
 
 
b'\\ No newline at end of file'