~ubuntu-branches/ubuntu/maverick/balloontip/maverick

« back to all changes in this revision

Viewing changes to debian/patches/build.xml.diff

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Handschuh
  • Date: 2008-11-12 20:06:17 UTC
  • Revision ID: james.westby@ubuntu.com-20081112200617-hyyiad7q6r01ysrb
Tags: 2008.11.14-0ubuntu1
* Initial release (LP: #297325).
* debian/patches/build.xml.diff
  - This patch adds the creation of the bin dir before compile because it is
    used as the build location and deletes it on clean 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- build.xml   2008-11-14 00:03:04.000000000 +0100
 
2
+++ build.xml   2008-11-14 18:19:13.000000000 +0100
 
3
@@ -7,11 +7,12 @@
 
4
        <property name="compile" location="src/net" />
 
5
        <property name="bin" location="bin" />
 
6
        <property name="doc" location="doc/javadoc" />
 
7
-       <property name="jarName" value="balloontip_${date}.jar" />
 
8
+       <property name="jarName" value="balloontip.jar" />
 
9
        <property name="jarWithExamplesName" value="balloontip_with_examples_${date}.jar" />
 
10
        <property name="zipName" value="balloontip_${date}.zip" />
 
11
        
 
12
-       <target name="compile" description="Compiles the Balloontip project">
 
13
+       <target name="compile" description="Compiles the Balloontip project">
 
14
+               <mkdir dir="${bin}"/>
 
15
                <javac srcdir="${compile}" destdir="${bin}" compiler="javac1.5" />
 
16
        </target>
 
17
        
 
18
@@ -61,7 +62,7 @@
 
19
                                <include name="*.jar" />
 
20
                                <include name="*.zip" />
 
21
                        </fileset>
 
22
-                       <fileset dir="${doc}" />
 
23
+                       <fileset dir="${bin}" />
 
24
                </delete>
 
25
        </target>
 
26
-</project>
 
27
\ No newline at end of file
 
28
+</project>