On Mon, 2003-07-28 at 13:47, Stefan Gybas wrote: > Arnaud Vandyck wrote: > > > I'd propose to conform to dh_* and use something like > > debian/ant or > > debian/package.ant > > I think I have a better solution. I'd like to create an Ant class for > CDBS (http://build-common.alioth.debian.org/) so debian/rules will > become really simple. For example, take a look at debian/rules from the > latest doc++ package, it's really amazing. Imagine this as debian/rules > for all Ant-based Java packages: Excellent plan. CDBS is a godsend for packaging GNOME software (2 includes). > --- cut here --- > > #!/usr/bin/make -f > > include /usr/share/cdbs/1/rules/debhelper.mk > include /usr/share/cdbs/1/class/ant.mk > > # Java home directory > JAVA_HOME=/usr/lib/j2se/1.4 Would there be a way of making this bit magic? i.e. following the /usr/bin/java symlink? > # JARs from /usr/share/java to be added to the class path > CLASSPATH_JARS=xerces bsf servlet-2.3 Excellent solution. Looking forward to this... Ross -- Ross Burton mail: ross@burtonini.com jabber: ross@jabber.debian.net www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
Attachment:
signature.asc
Description: This is a digitally signed message part