~ubuntu-branches/ubuntu/oneiric/libspin-java/oneiric

« back to all changes in this revision

Viewing changes to debian/build.xml

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2007-12-16 15:15:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071216151547-0xwxaqstui65ozpd
Tags: 1.5-1
* New upstream release:
  - doesn't use ant anymore but maven; using a workaround with
    maven-ant-helper and our own build.xml
  - doesn't need the patch against build.xml anymore; therefore removing
    ths patch and the dpatch framework
  - depends on libcglib2.1-java; adding the package to Build-Depends-Indep
    and moving libspin-java to contrib because of the dependency
  - the jar now has the version number in the filename; adding a symlink
* Fix debian/watch.
* Clean up debian/rules.
* Move upstream URL from the description to the new Homepage field.
* Change XS-Vcs-* fields to Vcs-*.
* Set Standards-Version to 3.7.3 (no further changes required).
* Add get-orig-source target in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
 
 
3
<project name="pkg-java" default="package" basedir="..">
 
4
 
 
5
    <property file="debian/build.properties"/>
 
6
    <property name="maven.test.skip" value="true"/>
 
7
    <property name="maven.build.xml" value="/usr/share/maven-ant-helper/maven-build.xml"/>
 
8
    <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
 
9
 
 
10
    <target name="clean">
 
11
        <ant target="clean" antfile="${maven.build.xml}" dir="."/>
 
12
    </target>
 
13
 
 
14
    <target name="package">
 
15
        <ant target="package" antfile="${maven.build.xml}" dir=".">
 
16
            <property name="artifactId" value="spin"/>
 
17
            <property name="version" value="1.5"/>
 
18
            <property name="basedir" value="."/>
 
19
        </ant>
 
20
    </target>
 
21
 
 
22
    <target name="javadoc">
 
23
        <javadoc destdir="${javadoc.dir}">
 
24
            <fileset dir="./src/main/java/">
 
25
                <exclude name="**/proxy/CGLibProxyFactory.java"/>
 
26
            </fileset>
 
27
        </javadoc>
 
28
    </target>
 
29
 
 
30
</project>