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


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

Re: SBT dependencies questions

From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: SBT dependencies questions
Date 2016-02-07 21:30 +0100
Message-ID <qZE82-2Ub-7@gated-at.bofh.it> (permalink)
References <qZbz3-82b-7@gated-at.bofh.it> <qZcbN-6L-35@gated-at.bofh.it> <qZkVI-6eE-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Fabio,

Le 7/02/2016 00:51, Fabio a écrit :

> sbt tgz file and deb file [1] contains sbt without dependencies.
> At first run sbt download dependencies and stores them in ~/.ivy2
> directory.
> Do we upload deb scala-sbt.org into non-free? Or do we generate a debian
> package from sbt binary tgz with the same behaviour (download
> dependencies @ first run)?

I don't think we can reuse the scala-sbt.org package as is. We should at
least have a proper source package even if it's in non-free. Regarding
the dependencies that's an excellent question. Would it be possible to
build a self contained package of sbt with its dependencies such that it
can be used in offline mode?


> Can I use jh_makepkg to package sbt?

If it helps you, yes.


> I don't know eclipse orbit. Could you give me more information how to
> package it?

Eclipse Orbit is a project providing OSGi enabled variants of existing
libraries. For example if someone releases a very popular library but
doesn't include the OSGi metadata in the jar, the Orbit project will
release a repacked version of foo with the OSGi metadata.

So if SBT uses orbit-foo, you'll instead use directly the non orbit foo
library available in Debian. This usually implies changing the groupId
of the dependency (org.eclipse.jetty.orbit:foo will become org.foo:foo
for example).

If you have a specific example I can show you how to do that.

Emmanuel Bourg

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


Thread

SBT dependencies questions Fabio <fabio@pirola.org> - 2016-02-06 15:00 +0100
  Re: SBT dependencies questions Emmanuel Bourg <ebourg@apache.org> - 2016-02-06 15:40 +0100
    Re: SBT dependencies questions Fabio <fabio@pirola.org> - 2016-02-07 01:00 +0100
      Re: SBT dependencies questions Emmanuel Bourg <ebourg@apache.org> - 2016-02-07 21:30 +0100
        Re: SBT dependencies questions Fabio <fabio@pirola.org> - 2016-02-21 14:50 +0100

csiph-web