I will some more:
- Support Maven builds and be able to read dependencies from the maven
pom.xml file and translate them to the debian control file entries for
dependencies and run dependencies.
- have a sort of meta information for provides for the major versions
of the JDK/JRE e.g. requires/provides java5-runtime, java6-runtime,
java7-runtime, java5-developmentkit and so on
- have a meta information appservers e.g. requires/provides javaee5-appserver
potentially this could all be based on the JSR numbers where the
different implementing packages include a provides -
jsrxxx-implementation
manfred
Quoting Arnaud Vandyck <[EMAIL PROTECTED]>:
Excellent proposal!
On 5/22/07, Paul Cager <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
--
Arnaud Vandyck
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]