Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: =?UTF-8?Q?Miko=C5=82aj_Izdebski?= Newsgroups: linux.debian.maint.java Subject: Re: plans for eclipse luna in debian Date: Tue, 10 Nov 2015 23:30:02 +0100 Message-ID: References: X-Original-To: debian-java@lists.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Tue Nov 10 22:27:43 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.679 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_LOW=-0.7] 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: .gmail. - helo: .mail-yk0-x22f.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=pO7MG5aY6SLhjstbl46Wco1ErSNaeZqfAczm8j5XBFM=; b=oJg9S7/qdqyFXbJl5QGSflQHe30H7M8L8Vb0P31OrP9E1Y5pz3i1qWgvQdCi4ZktUu Bor7V0zn8tLYVnAVw8vMXauay/AMIAoqhOXcUcJVmGlC6xGkMwUoUpbeW1pLFV9S30bS +EnPihDHkl55i0mmO2dcfuSrpLAL3ftOa1wQuqPbzOdzA/953YoKOwFj8UBM1P6gXkxY 3V4ztqbFr3KXv4h5r11DebjBbo2sgdOX1wK6qhU1UvQMCvFq6rU+bQtmHHoCN0y/UKxh VZp9dJGsoTd9VZ5UvCq/gAu81/DsQeUEYi0axSyKpkXNqdn0iA47QtNA1SXzwhLy6LpE mWcA== MIME-Version: 1.0 X-Received: by 10.13.246.70 with SMTP id g67mr6060724ywf.116.1447194445149; Tue, 10 Nov 2015 14:27:25 -0800 (PST) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/18859 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAK1+Uj-YkW=Ek3Z0fZziBMaoKK4XHrS5ogOm3fidKEsP7udWFg@mail.gmail.com Approved: robomod@news.nic.it Lines: 65 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 10 Nov 2015 23:27:25 +0100 X-Original-Message-ID: X-Original-References: <551EA3D7.30105@onenetbeyond.org> <5617EEA7.6030803@gmail.com> <5617F732.6060202@gambaru.de> <562246E8.7050209@gmail.com> <5622636C.2030008@gambaru.de> <5623BF70.3040907@gambaru.de> <56261E4C.8010503@gmail.com> <56267489.3040909@gambaru.de> <5641E335.2060907@gmail.com> <56423C7A.7080509@gambaru.de> Xref: csiph.com linux.debian.maint.java:8540 Hello everybody, I believe this is my first post to the list, so let me first introduce myself quickly. My name is Miko=C5=82aj Izdebski, I am Java build system maintainer in Fedora and Red Hat Enterprise Linux. You can find list of my Fedora packages at [8]. Since 2011 I am sponsored maintainer of one Debian package [9], for which I'm also upstream developer. I am usually lurking on #debian-java and #debian-devel as "mizdebsk". For the past 4 years I've been working on improving and automating Java packaging techniques in Fedora/RHEL. Seeing Debian trying to do the same now (esp. recent implementation of Gradle helper and attempt to package Tycho) I feel obligated to help you, at least by pointing and explaining existing solutions in Fedora, sharing other experience or even doing Debian packaging work. Let me start by mentioning a few problems Fedora had with Eclipse packaging and pointing to solutions for them. If anyone is interested in hearing more details, I'll be glad to elaborate on them. 1. Bootstrapping Tycho. Tycho requires itself to build. Furthermore, there is a dependency cycle between Tycho end Eclipse Platform -- Eclipse requires Tycho to build and Tycho uses Eclipse bundles during runtime. Fedora implements two bootstrap modes for Tycho -- partial bootstrap (requires Eclipse in build-depends) and full bootstrap. Patches and scripts used for bootstrapping Tycho in Fedora are available at [1]. 2. Offline OSGi bundle resolution. Having Tycho packaged doesn't mean it can immediately be used for building packages in offline mode (without network access). Fedora has a patch that implements offline ("local") mode, but it depends on XMvn [4,5] and fedoraproject-p2 [6] (despite its name, fedoraproject-p2 is not Fedora specific and should work in Debian too). Fedora patches for Tycho are available at [1]. 3. Droplets. Eclipse Luna adds a new feature - "P2 fragments" [2], aka "droplets", which significantly reduces Eclipse startup time when used [3], but requires additional work to implement. Again, Fedora creates droplets with by using XMvn and fedoraproject-p2. 4. XMvn. I would like to suggest trying using XMvn project in Debian. It has been designed specifically to automate packaging Java software for GNU/Linux distributions. XMvn strives to be distribution-agnostic (all Fedora- and RPM-specific code are in separate project -- javapackages [7]). XMvn has full support for Apache Maven, Gradle, Eclipse Tycho and Apache Ivy, plus partial support for Aether Ant Tasks and SBT (through Ivy). If there is any interest in seeing XMvn used in Debian then I'm willing to package it, maintain it and implement any upstream code necessary to support Debian use cases. I hope you will find this bit of information helpful. -- Miko=C5=82aj [1] http://pkgs.fedoraproject.org/cgit/tycho.git/tree/ [2] https://wiki.eclipse.org/Equinox/p2/P2_Fragments [3] https://rgrunber.wordpress.com/2015/10/05/eclipse-p2-droplets-in-rawhid= e/ [4] https://mizdebsk.fedorapeople.org/xmvn/site/ [5] https://github.com/mizdebsk/xmvn/ [6] https://github.com/rgrunber/fedoraproject-p2 [7] https://github.com/mizdebsk/javapackages [8] https://admin.fedoraproject.org/pkgdb/packager/mizdebsk/ [9] http://qa.debian.org/developer.php?login=3Dzurgunt@gmail.com