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


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

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 Fabio <fabio@pirola.org>
Newsgroups linux.debian.maint.java
Subject Re: SBT dependencies questions
Date Sun, 21 Feb 2016 14:50:02 +0100
Message-ID <r4CyC-6Vu-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> <qZE82-2Ub-7@gated-at.bofh.it>
X-Original-To debian-java@lists.debian.org
X-Mailbox-Line From debian-java-request@lists.debian.org Sun Feb 21 13:43:58 2016
Old-Return-Path <fabio@pirola.org>
X-Amavis-Spam-Status No, score=-6.001 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .pirola. - helo: .mail-03.1984. - helo-domain: .1984.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-java@lists.debian.org> archive/latest/19219
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/56C9BF06.9050505@pirola.org
Approved robomod@news.nic.it
Lines 56
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 21 Feb 2016 14:43:34 +0100
X-Original-Message-ID <56C9BF06.9050505@pirola.org>
X-Original-References <56B5FA6F.2080204@pirola.org> <56B6036D.1040806@apache.org> <56B68700.9030902@pirola.org> <56B7A8C6.7040104@apache.org>
Xref csiph.com linux.debian.maint.java:8894

Show key headers only | View raw


Hi Emmanuel,


Il 07/02/2016 21:27, Emmanuel Bourg ha scritto:
> 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? 
I tried to create a package with all dependencies using sbt-assembly[1] 
but the build process at some point stops. It takes a lot of time and 
memory (some GBs). I also tried to increment Xmx, Xms, XX:MaxPermSize 
but I did not finish to assembly all dependencies.
I follow these steps:
1) download latest sbt binary
2) download latest sbt source
3) add to project/assembly.sbt  : addSbtPlugin("com.eed3si9n" % 
"sbt-assembly" % "0.14.1")
3) from sbt source directory execute command sbt (binary version)
4) when terminal is ready, type "assembly" that execute sbt-assembly task

What do you suggest to do?

>> Can I use jh_makepkg to package sbt?
> If it helps you, yes.
In reply of my questions [2], ed mentioned the sbt-native packager 
plugin[3]. Probably I can use it to create a debian package for sbt 
dependencies, what do you think?

> If you have a specific example I can show you how to do that.
There are the following sbt dependencies:
org.eclipse.jetty.orbit/javax.servlet/orbits/javax.servlet-2.5.0.v201103041518.jar
org.eclipse.jetty/jetty-continuation/jars/jetty-continuation-7.6.9.v20130131.jar
org.eclipse.jetty/jetty-http/jars/jetty-http-7.6.9.v20130131.jar
org.eclipse.jetty/jetty-io/jars/jetty-io-7.6.9.v20130131.jar
org.eclipse.jetty/jetty-security/jars/jetty-security-7.6.9.v20130131.jar
org.eclipse.jetty/jetty-server/jars/jetty-server-7.6.9.v20130131.jar
org.eclipse.jetty/jetty-servlet/jars/jetty-servlet-7.6.9.v20130131.jar
org.eclipse.jetty/jetty-util/jars/jetty-util-7.6.9.v20130131.jar
org.eclipse.jetty/jetty-webapp/jars/jetty-webapp-7.6.9.v20130131.jar
org.eclipse.jetty/jetty-xml/jars/jetty-xml-7.6.9.v20130131.jar
org.eclipse.jgit/org.eclipse.jgit.iplog/jars/org.eclipse.jgit.iplog-2.2.0.201212191850-r.jar
org.eclipse.jgit/org.eclipse.jgit.pgm/jars/org.eclipse.jgit.pgm-2.2.0.201212191850-r.jar
org.eclipse.jgit/org.eclipse.jgit.ui/jars/org.eclipse.jgit.ui-2.2.0.201212191850-r.jar
org.eclipse.jgit/org.eclipse.jgit/jars/org.eclipse.jgit-2.2.0.201212191850-r.jar




[1] https://github.com/sbt/sbt-assembly
[2] 
http://stackoverflow.com/questions/35260953/how-to-build-a-bundle-sbt-from-source-for-offline-use
[3] http://www.scala-sbt.org/sbt-native-packager/

Best Regards
Fabio

Back to linux.debian.maint.java | Previous | NextPrevious 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