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


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

Re: SBT dependencies questions

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: SBT dependencies questions
Date Sun, 07 Feb 2016 21:30:02 +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>
X-Mailbox-Line From debian-java-request@lists.debian.org Sun Feb 7 20:28:20 2016
Old-Return-Path <emmanuel.bourg@gmail.com>
X-Amavis-Spam-Status No, score=-7.448 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=b1ZS9xXUm/X3MQt6VMzlqTC9OfQg7R3ARjIgXRZVTgE=; b=eIVY59RhkFD+ReF30p2X84Peqyet5+HQmxFFdHnnWIeDI+Ngw5+T2PaH7rnzn+k4Tf nqza36qudZ4mZNhC3ps/joGhpWKmRSFmIxBlE9Hu5jP5p+QE5523zdvZqq0aWX3pZIlq vHHQhG89vC6ZMJFAEGV9BWFWUbFeZqnAhW8ZLVlqlYcH7unHrcdy8VE3QNH+qsb71Ug/ beeZGJJWsXykuersQgn+Vc+WdYSZzirJnGYmWq7puVEHu5WtS49zOPQqncTwN5hLFCJ3 FqWJJ/6gosnzJo0Xp6gNYxDt6ljOOHdlFHQp/YvPuy4abdCmg7zzc5KE8khdP2smpVP+ AqLw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=b1ZS9xXUm/X3MQt6VMzlqTC9OfQg7R3ARjIgXRZVTgE=; b=T5Kbg7yYE7bUaLjWvEImVxnvNtc7dnCTWJaI4nLkNN2oHkD3HPKkTs2UzIX3yQH3Vy Q41O+NvKcpAIA+wYY2WJWm+lHFr1Ak2k2AG42rn+/7IiKVyeCi83VMAUZaodgQEMyvX7 JvkGph3cl+6PM6W+vUqGFoXijZ3++9h0vZ6k4JD0PT3nXC91ezmF7exNiPoEuRv8lxsS sQUYI809yMeVzXa1W/dVB0McDx/R1ITugtXRwB+HHn2U8TGqMDROmnPFuGqP2LR10iTL y0Y4P1IKmD7ZTla3FB6DvW54U/Md5hRY++dOYIXO4R6aV8rO+F87xyAtoPAv23sAAUlN 6A8Q==
X-Gm-Message-State AG10YOQIk4s/oBTbyifgoe6a5hSyS88DI3O58RkNEiEMDj2aWjOBcQuwoaQWH1HUY0gCgQ==
X-Received by 10.28.50.137 with SMTP id y131mr50081229wmy.102.1454876871909; Sun, 07 Feb 2016 12:27:51 -0800 (PST)
Sender robomod@news.nic.it
X-Enigmail-Draft-Status N1110
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-15
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-java@lists.debian.org> archive/latest/19155
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/56B7A8C6.7040104@apache.org
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
X-Original-Date Sun, 7 Feb 2016 21:27:50 +0100
X-Original-Message-ID <56B7A8C6.7040104@apache.org>
X-Original-References <56B5FA6F.2080204@pirola.org> <56B6036D.1040806@apache.org> <56B68700.9030902@pirola.org>
X-Original-Sender Emmanuel Bourg <emmanuel.bourg@gmail.com>
Xref csiph.com linux.debian.maint.java:8835

Show key headers only | 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