From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gAzoNeXPsF5gXQAA0tVLHw (envelope-from ) for ; Tue, 05 May 2020 02:31:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iHbOD/HPsF5eRAAAbx9fmQ (envelope-from ) for ; Tue, 05 May 2020 02:31:13 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2E42E944562 for ; Tue, 5 May 2020 02:31:11 +0000 (UTC) Received: from localhost ([::1]:60072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVnMV-0001In-II for larch@yhetil.org; Mon, 04 May 2020 22:31:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVnMK-0001IO-3q for guix-devel@gnu.org; Mon, 04 May 2020 22:31:00 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:44877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVnMJ-0005JV-4W for guix-devel@gnu.org; Mon, 04 May 2020 22:30:59 -0400 Received: by mail-pg1-x52e.google.com with SMTP id b8so339943pgi.11 for ; Mon, 04 May 2020 19:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=dJqx3o4jd3krSbaXiK6alyXxExCRQ2MtYhclPUaXTwM=; b=oqoRGHKgWvcZQMGVBnmX4MI4r6mHNEvxxU9vj045Gj8+hB1xeQwHz/1PCISacdB+i0 upaJJcc4OZEw4olUf/fQPbqIDudEAFWWv5IyXH76mjBBgCRCCwuX7hJx4Kio87HaMzUl 8cp7SF/AKf+w0XohmI+3RBHzciQblFXJBWDlaB6KFKqxQ5m7uvtjlKmjySRFLhY7jy9y TdtLME5CzTMFHkINJ7Vv5zdndwfJ29YODxIZd1otguE7rxvsK/xanGPetI//T1ktygpe qYvxxL8LiixeY8b01MMXgREzLPaTnJ47gVlNf1EPpZV43rFANqHrKOSFOacY5tP5+8mu GXHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=dJqx3o4jd3krSbaXiK6alyXxExCRQ2MtYhclPUaXTwM=; b=NXdYm6ao/alJR8hw8lY+Fy41xnOKzkPqqKGh0mJpKPe3MLtgkJsS7Rluq5Fcpp3Psw 0PRMhCO+Lu9JCmw6o7wu5M+KPc4nbVLXyREBMb0z1iG9S9JBokpZ+0zeGRQEfO87u+U3 F2c2P/14MS3U5oBgg0S15vrEPiMMk/pWPtslz9tXb6tAWr6MBGYkCzt9j0Sa2ymXUHsP Cug8hdxqvgfU6ltvm4DfqCwEdJaX1V5TAJ3Iw8iVH7yqO8RUSpUZvcrFyUBR9DBxkjeZ jywGNAoxu6DDYu5GfWX0TB14QFDMOPG2yoeGcrqjoJh4coijzBackorcuopJM81BuwhD makg== X-Gm-Message-State: AGi0PuZYWg14T8eacdBQ3D9vVAPvnZoo4JHzrHr6pQvFk8Upsn3S2tVO pGN1bUZJgwYwmefSmOerrWKh3AVu X-Google-Smtp-Source: APiQypIwRXChQWnqc+IwJbnBXthDYjWHxB4UlTLINVDfFXE4PPLU5QUq2DlvLkU49PWmgmbsQu6XBw== X-Received: by 2002:a63:d06:: with SMTP id c6mr1091819pgl.2.1588645855984; Mon, 04 May 2020 19:30:55 -0700 (PDT) Received: from ?IPv6:2001:44b8:203:1200:be5f:f4ff:fef7:7bdc? (2001-44b8-0203-1200-be5f-f4ff-fef7-7bdc.static.ipv6.internode.on.net. [2001:44b8:203:1200:be5f:f4ff:fef7:7bdc]) by smtp.googlemail.com with ESMTPSA id f6sm410975pfd.175.2020.05.04.19.30.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 May 2020 19:30:55 -0700 (PDT) Subject: Re: OpenJFX 14, gradle To: Alexey Abramov References: <9c7d89ad-2bf1-ad37-b513-ef0c57c22220@gmail.com> <844ksw2i9y.fsf@mmer.org> From: Michael Zucchi Message-ID: Date: Tue, 5 May 2020 12:00:49 +0930 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <844ksw2i9y.fsf@mmer.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-AU Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=notzed@gmail.com; helo=mail-pg1-x52e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 X-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=oqoRGHKg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-1.71 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49531945601848]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_FAIL(0.00)[gmail.com:server fail,2001:470:142::17:server fail]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.13), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[gitlab.com:url,javafx.media:url]; FROM_NEQ_ENVFROM(0.00)[notzed@gmail.com,guix-devel-bounces@gnu.org]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[guix-devel@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: ug1BNwFD3u37 Hi Alexey, On 4/5/20 6:23 pm, Alexey Abramov wrote: > Hi Michael, > > I did almost the same thing but for JDKu8, You can check it https://gitlab.com/Levenson/ in a wip-davmail branch. I packaged graphics, swing, swt and friends. Unfortunatelly tests are disabled for now. I and am trying to make them work. It seems to me that even they do have tests for modules, a bundle needs to be created with all the modules first. At least for openjfx14 the main module resources need to be inside a jar file otherwise they can't be found, having them on the classpath isn't sufficient.  For the css files for example resolving resources in "com/sun/javafx/scene/control/skin" takes a different code path that seems to enforce this. An additional wrinkle with 14 using modular java is that the tests need some proxy classes built into the modules - i found the easiest way is just to recompile everything again with the additional sources on the module source path.  It doesn't take very long at least. I've only looked at the per-module unit tests and i got them to run ok apart from one test which seems to be locale related (LANG=C works).  Those all-commented-out tests are still all-commented-out in javafx14(!).  There seems to be a surprising amount of baggage like that in the repository like the netbeans stuff, which seems nonfunctional. > I thought about makefiles, ant and build.xml, but decided to do everything in scheme for now. My plan is to make tests work, and then polish packages definition. > I just don't know enough scheme or guix and looking at the scheme source it looks pretty ugly when running a bunch of shell commands in sequence.  ant is so very painful for non-trivial builds and pretty useless otherwise.  make has the benefit of easily supporting parallel compilation which speeds it up quite a bit (at least without javafx.web dominating).  The bash script i have is about 240 lines so somewhat more compact than the makefile i have but it uses the exising javafx.media makefiles which cuts it down quite a bit. Thanks for the link, that will help trying to work out how to get this going within the guix build system.  I also need antlr4 which i'm hoping wont be too hard if i remove some of the optional parts/languages. Cheers,  Michael