~ubuntu-branches/ubuntu/saucy/kunststoff/saucy

« back to all changes in this revision

Viewing changes to build.xml

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2008-01-13 00:44:26 UTC
  • mfrom: (2.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080113004426-g33gpu0l0s7wgdt8
Tags: 2.0.2-4
* Move the package to pkg-java svn.
* debian/control:
  + Set Priority to optional from extra
  + Set Maintainer to Debian Java Maintainers and add myself to Uploaders
* Move the build scripts to debian dir.
* Remove the hard coded version from ant.properties and install the
  versioned jar from debian/rules.
* Bump up Standards-Version to 3.7.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
 
3
 
<project default="jar" name="kunststoff" basedir=".">
4
 
  <property file="./build.properties"/>
5
 
 
6
 
  <target name="clean">
7
 
    <delete dir="${class.dir}" quiet="true"/>
8
 
    <delete file="${jar.name}" quiet="true"/>
9
 
  </target>
10
 
 
11
 
  <target name="compile">
12
 
    <mkdir dir="${class.dir}"/>
13
 
    <javac srcdir="${source.dir}" destdir="${class.dir}"
14
 
    deprecation="true" debug="true" optimize="false"/>
15
 
  </target>
16
 
 
17
 
  <target name="jar" description="o Create the jar" depends="compile">
18
 
    <jar jarfile="${jar.name}" basedir="${class.dir}"/>
19
 
  </target>
20
 
 
21
 
   <target name="install" depends="jar">
22
 
         <mkdir dir="${destdir}/usr/share/java/" />
23
 
         <copy todir="${destdir}/usr/share/java/">
24
 
               <fileset file="${jar.name}" />
25
 
         </copy>
26
 
   </target>
27
 
</project>