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

Re: Getting a Java package in the distribution?



Cool, thanks for the tips, everybody! :)

I'll work on the package and fix it soon! Integrating the ant build process seems interesting too, even if i don't know why somebody should
build a java package from source (without changing it before)? There
probably won't be a speed improvement... ;)


Andreas Schmitz wrote:
Jan Schulz wrote:

Hi,


This package can't be in main, since the source code is not included (at least not extracted). Even if it was correctly included and used to build the JAR,


Does it need to be extracted? The problem with java source packages
are usually, that they are not a least conform with the format which
dpkg-source likes, so almost ever java package I've seen (including my
own...) has a 'uncompress-stamp' in debian/rules and justs puts the
upstream file somwhere and and build a orig.tar.gz by hand.


Well, I don't know very much about Debian packaging at all, but I
packaged one Java program (which is using j2sdk1.4.*). It builds itself
using dpkg-buildpackage or apt-get -b source so feel free to have a look
at it. (Most of it I learned from the ant package, so having a look at
it would be a good thing.)

http://cdox.sf.net

or

deb ftp://sammael.tabu.stw-bonn.de/pub/debian/ testing contrib
deb-src ftp://sammael.tabu.stw-bonn.de/pub/debian/ testing contrib

Beware, it won't be online too long the next time (I'll be moving
probably, and so is the server).

Regards, Andreas





Reply to: