Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F36A2200B89 for ; Wed, 21 Sep 2016 14:08:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2055160ADB; Wed, 21 Sep 2016 12:08:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 444DE160ACF for ; Wed, 21 Sep 2016 14:08:34 +0200 (CEST) Received: (qmail 14533 invoked by uid 500); 21 Sep 2016 12:08:28 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 14521 invoked by uid 99); 21 Sep 2016 12:08:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2016 12:08:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 892B3C26F9 for ; Wed, 21 Sep 2016 12:08:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.396 X-Spam-Level: *** X-Spam-Status: No, score=3.396 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=2.397] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id vEFMRrUqAuHH for ; Wed, 21 Sep 2016 12:08:25 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 2DD4A60D2B for ; Wed, 21 Sep 2016 12:08:25 +0000 (UTC) Received: from JanmySN ([93.130.239.4]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0MP5C3-1brteR10L9-006Lst for ; Wed, 21 Sep 2016 14:08:24 +0200 From: =?UTF-8?Q?Jan_Mat=C3=A8rne_=28jhm=29?= To: "'Ant Developers List'" References: <87mvj6h91c.fsf@v45346.1blu.de> <003901d21101$270a4670$751ed350$@de> <877fa97bld.fsf@v45346.1blu.de> In-Reply-To: <877fa97bld.fsf@v45346.1blu.de> Subject: AW: Multi-Release JARs Date: Wed, 21 Sep 2016 14:08:15 +0200 Message-ID: <002e01d21400$d596c8b0$80c45a10$@de> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdIRll7G4c1A9pQRQcqlw4y2MyCwlgCamCCQ Content-Language: de X-Provags-ID: V03:K0:WaKl7gQq+2sxvmwvZFaOGCL7XfounYVbpuXjOHmQj4Bdw9D+aIo q5r7ntJmSGStG5M74gkSA+MHhIRI+M6P18p0xF6f8s2B9d2HcHGdONqB5jxVhiom979ef7P i38/aKoBx86HByNaMZ2+HIa4E8TAzMvgKaYS9ctaVtiQrUbUooC0RHK6/tJE9QV1bwj2U1G u+sfUCQGynZ5wS0jgb3BA== X-UI-Out-Filterresults: notjunk:1;V01:K0:KOXrYJje9JE=:T+jnrccA+ISNe3GziIZyDb 0htHwD9BUwDg8amG6JtOHkY7dQVqEIk3Qzu3I5Qw2xGwYBdi+LLddKGTn89rwRveqQrvh8j1u hxu+fRRKgrxctUK/Q/WnMBGUeylpKRG2c4PCGym+FV2DRIDy780iV8qIIPbWkaTljJ0fGD+Ao sExouVs5euS4a4z53mdLQzon6FfT/Ny71we5rYp/upeHZId9QcaVcNmN+gK144RbHUNBPe3Mp p+UkP7J19V6nDcJ/uXyOzEfIFfCQw9IN9yElD7kfxjtYMldfGiy+W1PNsa3I+HcYRUVXjsrVo s1J5LAsMOcALGdlUjqD487S399Ssdw2iis639nhKP/WwS9UbAtJl85N87HJTBbiYVM246hYNE l8x9t+BxGWmbvEFoGua92/isILBQXASm86VpTR8dVMSijIRPBdk0BO0O0i4ySQUHsNLxmN7cO aUiK4+2Hm3ttaZ0hAy4+qxSxCwasW/GMctej0RmROCI374I4/6D4B97CR+wnpMJ1lLaK3HJ23 uatecfq9Ziyv8nXLQiplrnGUlZL3a9AcSB4K5UmaapGEmN/QJLiibYfFDPnVmZ7Z7os07bqF3 UQXh5oqYJ6mHVt6y+mbwrEkghLVeLWckCfZiXyPiYOxebvmOtwb5Qd4roLxYpZtjyjNYRUDPc 2SCbUrfenoMVC9iE4QftQc78eSam0h/n/8nhmD6HHMeGKIHdc7ktBxK3ngBblsOA8Y5sUR6DI gxrr7TCj+pZROvaQ archived-at: Wed, 21 Sep 2016 12:08:35 -0000 I did a simple version using plain and . Jan > -----Urspr=C3=BCngliche Nachricht----- > Von: Stefan Bodewig [mailto:bodewig@apache.org] > Gesendet: Sonntag, 18. September 2016 12:21 > An: dev@ant.apache.org > Betreff: Re: Multi-Release JARs >=20 > On 2016-09-17, Jan Mat=C3=A8rne (jhm) wrote: >=20 > >> * Multi-Release JARs need a special manifest attribute, we should > add an > >> attribute to the jar task that sets this. >=20 > > I dont think so. We could set this flag by ourself if the > > is set. >=20 > Agreed. People who want to manually put together the jar would have to > set the attribute themselves, then. >=20 > > We discussed also the possibility of merging different jars. > > Say you have a Java8 jar, a Java9 jar and a Java10 jar, you could > > merge these into a multirelease jar. >=20 > > Because of the different classfile versions, the common files of > these > > jars arent identical, so we cant find them easily. So the easy, but > > not smart, solution ends in having the common files in every version > branch of the jar. >=20 > > > > ... > >=20 > could work that way. Likely would need to perform some fiddling WRT > manifest attributes. >=20 > > Another idea I had (for few minutes) is combining the jar'ing with > the > > compiling. > > > > > > > point > > to > > Java9 only > > > > point to Java10 only would do three compile runs > > now > > * default: Java8 > > * version=3D9: Java9, with classes from previous runs on classpath > > (havent thought about the identical names yet ... ;) > > * version=3D10: Java10, ... > > Finally create the MRJar. >=20 > I guess configuration of the task will be quite longish but I can see > how this would streamline hte process. >=20 > Stefan >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional > commands, e-mail: dev-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org