[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A Java Packaging Wishlist



Excellent proposal!

On 5/22/07, Paul Cager <paul-debian@home.paulcager.org> wrote:
Late-night, random thoughts about what would be useful for us Debian
Java packagers. Any comments?

dh_installjars
==============

A new debhelper command:

* Installs Jars into usr/share/java directory, adding correct
  version number suffix (as parsed from the changelog).

* Adds required symlink.

* Arguments specify required Jars (with or without the version
  number suffix), or directories that will be scanned for Jars.

* Can read a "jars" file to get the list of jars (in the same
  way dh_installdocs reads "docs").

If people think this is useful I might email Joey Hess to see if he
would be likely to accept a patch.


Cdbs Enhancements
=================

* /usr/share/cdbs/1/rules/debhelper.mk to add call to
  dh_installjars.

* Amend ant.mk / ant-vars.mk to install Javadocs in the correct
  place (dependent on setting a new DEB_ANT_xx variable).

dh_make enhancements
====================

* When invoking dh_make (with cdbs option) in a directory with a
  build.xml, pkg-java "standard" rules/control files are created,
  including a separate "-doc" package etc.

* When invoked with a pom.xml a pkg-java standard package is created,
  and the pom is parsed to fill out skeleton entries in control,
  copyright etc:

    - authors
    - licenses
    - download location / svn repos
    - dependencies


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
Arnaud Vandyck



Reply to: