Re: Packaging Advice (SB-MASE)
- To: Paul McEnery <pmcenery@gmail.com>
- Cc: pkg-java-maintainers@lists.alioth.debian.org, Debian Java List <debian-java@lists.debian.org>
- Subject: Re: Packaging Advice (SB-MASE)
- From: Niels Thykier <niels@thykier.net>
- Date: Sat, 12 Dec 2009 13:33:48 +0100
- Message-id: <4B238DAC.3010508@thykier.net>
- In-reply-to: <b4892f8e0912120346j742ed4cbg9c916446722d39e@mail.gmail.com>
- References: <b4892f8e0912120346j742ed4cbg9c916446722d39e@mail.gmail.com>
Paul McEnery wrote: > I'm looking for some advice on how best to package a particular Java > application. The application in question is SB-MASE > (http://sourceforge.net/projects/sbmase/). > > The package is provided with a "classes" directory with a "start.bat" > file which runs java pointing to the Main class. The package also > contains a "src" directory with all of the source which I am able to > build using openjdk. There are two areas where I need some help. > > 1. Images and icons. > The application uses images which are simply in an "images" directory > relative to the current working directory. Should I try and JAR-ify > the images or should I simply put them in /usr/share/sb-mase/images? > Either way I think I am going to need to patch the source to point to > this location. Is any one of these methods (jar or structure in > /usr/share) preferred? > > 2. Configuration (including serialized objects!) > The application reads some configuration on startup from > "config"/*.dat (relative path). What should I do about this? If I put > them in /etc/sb-mase/ I will need to (a) patch the application, (b) > introduce some sort of group permissions to allow users to be able to > write to this directory. Or, should I be trying to do something that > allows /etc/sb-mase/*.dat to be read if ~/.sb-mase/* does not exist? > Since many of these .dat files are Serialized objects... should I > rather put the "config" directory in /usr/share/sb-mase/ (which is > just used on first startup)? Either way... some patching is going to > be required - which I am happy to undertake. > > I would appreciate it if someone could take a look at the original > source package and make a couple of recommendations. > > Many thanks, > > Paul. > > _______________________________________________ > pkg-java-maintainers mailing list > pkg-java-maintainers@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers > Hi Paul I am just forwarding your mail to <debian-java@lits.debian.org> - that is the list we use for debates and questions (pkg-java is for mails from bts and automated sources). ~Niels
Attachment:
signature.asc
Description: OpenPGP digital signature
Reply to:
- Prev by Date: iceweasel javaplugin
- Next by Date: FUTEX_WAIT java - was iceweasel javaplugin
- Previous by thread: Re: FUTEX_WAIT java - was iceweasel javaplugin
- Next by thread: maven-rules for plugin version
- Index(es):