Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8556

Re: Packaging Java Pathfinder

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From tony mancill <tmancill@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Packaging Java Pathfinder
Date Mon, 16 Nov 2015 02:10:02 +0100
Message-ID <qvgsW-Bj-7@gated-at.bofh.it> (permalink)
References <qmBPX-6Vq-1@gated-at.bofh.it> <quZ8K-6fT-3@gated-at.bofh.it> <qv0Hw-7jc-5@gated-at.bofh.it> <qv8F3-3P5-3@gated-at.bofh.it> <qvanx-4YI-49@gated-at.bofh.it>
X-Original-To debian-java@lists.debian.org
X-Mailbox-Line From debian-java-request@lists.debian.org Mon Nov 16 01:00:09 2015
Old-Return-Path <tmancill@debian.org>
X-Amavis-Spam-Status No, score=-11.48 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, CAPINIT=0.5, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5
X-Enigmail-Draft-Status N1110
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.3.0
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d7C07t9bw7souabaHkriaVd7ckgbC49Od"
X-Mailing-List <debian-java@lists.debian.org> archive/latest/18875
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/56492A89.5080306@debian.org
Approved robomod@news.nic.it
Lines 76
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 15 Nov 2015 16:59:53 -0800
X-Original-Message-ID <56492A89.5080306@debian.org>
X-Original-References <1445572423.29523.13.camel@dimjasevic.net> <1447569531.21022.19.camel@dimjasevic.net> <56483F3B.60301@apache.org> <5648B6D8.2030702@debian.org> <1447612754.21022.41.camel@dimjasevic.net>
Xref csiph.com linux.debian.maint.java:8556

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 11/15/2015 10:39 AM, Marko Dimjašević wrote:
> On Sun, 2015-11-15 at 08:46 -0800, tony mancill wrote:
> 
>> When using this recipe, you should also declare a build-dependency on
>> either "openjdk-8-jdk" or "default-jdk (>= 2:1.8)".  The first is (just
>> a tad) more explicit and aligns with the setting of JAVA_HOME.
> 
> Thank you for this!
> 
> I have another question...
> 
> So far a user would manually install Java PathFinder, so they would have
> to configure it by editing a file ~/.jpf/site.properties, where Java
> PathFinder modules (and I intend to package one module later too) would
> figure out where on the disk is the main module, that is Java PathFinder
> itself. However, now there will be Debian packages for Java PathFinder
> and its modules, so the configuration file won't be needed as everything
> will be in /usr/share/java, yet my hunch is the modules will still look
> for ~/.jpf/site.properties.
> 
> Do you have any suggestions on how to handle this? My hunch is I will
> have to patch things such that all modules always look for the main
> module (and possibly other modules) in a specific place
> (i.e. /usr/share/java).

I agree that a patch would be the cleanest approach.  Perhaps you could
get away with simply a wrapper script that sets some system properties?
 (I haven't looked at JPF very closely yet.)

You should also consider whether a JPF user might want to use both the
modules provided by Debian and search for modules configured in the
site.properties file.  The question there will be the search order.

In general, anything you can do to ensure that the package works "out of
the box" without manual user configuration (but while still supporting
local configuration if desired) is the preferred approach.

Cheers,
tony

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-10-23 06:10 +0200
  Re: Packaging Java Pathfinder Emmanuel Bourg <ebourg@apache.org> - 2015-10-23 10:10 +0200
    Re: Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-10-24 08:00 +0200
      Re: Packaging Java Pathfinder Emmanuel Bourg <ebourg@apache.org> - 2015-10-24 15:00 +0200
        Re: Packaging Java Pathfinder tony mancill <tmancill@debian.org> - 2015-10-25 19:00 +0100
  Re: Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-11-15 07:40 +0100
    Re: Packaging Java Pathfinder Emmanuel Bourg <ebourg@apache.org> - 2015-11-15 09:20 +0100
      Re: Packaging Java Pathfinder tony mancill <tmancill@debian.org> - 2015-11-15 17:50 +0100
        Re: Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-11-15 19:40 +0100
          Re: Packaging Java Pathfinder tony mancill <tmancill@debian.org> - 2015-11-16 02:10 +0100
            Re: Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-11-16 05:00 +0100

csiph-web