From owner-freebsd-java@freebsd.org Mon Mar 6 18:15:28 2017 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AC30CFBB4D for ; Mon, 6 Mar 2017 18:15:28 +0000 (UTC) (envelope-from jochen.rassler@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 65B541FE5 for ; Mon, 6 Mar 2017 18:15:28 +0000 (UTC) (envelope-from jochen.rassler@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 619C9CFBB4B; Mon, 6 Mar 2017 18:15:28 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61120CFBB4A; Mon, 6 Mar 2017 18:15:28 +0000 (UTC) (envelope-from jochen.rassler@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6C961FE4; Mon, 6 Mar 2017 18:15:27 +0000 (UTC) (envelope-from jochen.rassler@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id t193so71865348wmt.1; Mon, 06 Mar 2017 10:15:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=WbUGofFrs7ErAwHAep9KTFyg8XSxg47fryotAsWTJv8=; b=OiSvOK4+hOtaTRlLYh1NsR7IBn+EGEvq7B4t0V8/GCCmgELLlOYzF73cik1FBWNNJM BePYIXaLydsAEKiyfzi09xr8gtNv9ijW+PF3nafzp0gAP4x5FSaJADWfGE0UQ0aJilUh tNQUka+UBeCerPrQEDcTRYpTi1ceNx0uSkO6VrFRwgfGB6HbAWNPTBCLjMgYOxY7ChFm r9uWWG79OmJ8ZTuVa/j4xLIwIpmWpEHsGrhMh9QTj8Pruby27g0tBMWRwWPxvQJLA0il H8gJTjpbqBrH/MzJ1JeBataGbFoqqDkpq+nNn+YWFwVzI8b1FlgeF74qiNxzxKoOAhE+ uy2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=WbUGofFrs7ErAwHAep9KTFyg8XSxg47fryotAsWTJv8=; b=juUHgiMqHUtVgNScPB1wFxSWCvXwGbPYOp7AwpcNIF6FEgpfdgASPTMslsBjLLJomG Z44hS0oZWhuGGBiayOlBCwYjwBn22IL5yWqX5jiIkHC6rpBnOIvE9l4LH3ZifN/+Elby lxJB2MmC1U38fzH194Zn+tcz7EqqiweexE5ZAl+9joa+3kBsQq11k0fIvOAkypwaEHfy CyFRb8yfNJR98olOeutLOrDARn7BRz4wtRcMT+FrY+CTRwBI8qvK7dv9tluiXYdaV7Vm f+6AoYdcJ+lrSqbujzPYI29o10VIVLdxlTwZLRNSk8dVwDsJS7NxUAbAvAsMxh/f1MZC pfbA== X-Gm-Message-State: AMke39keDn+6thBkU3GNS2u1Ya4djEiWArAymFpt99DitOvOYrM5+XtSxQVeQCqFIsbuNg== X-Received: by 10.28.88.129 with SMTP id m123mr15390244wmb.28.1488824126081; Mon, 06 Mar 2017 10:15:26 -0800 (PST) Received: from [127.0.0.1] (port-92-202-126-145.dynamic.qsc.de. [92.202.126.145]) by smtp.googlemail.com with ESMTPSA id 128sm15846249wmp.11.2017.03.06.10.15.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Mar 2017 10:15:25 -0800 (PST) From: "=?UTF-8?Q?Dr._Jochen_Ra=c3=9fler?=" X-Google-Original-From: =?UTF-8?Q?Dr._Jochen_Ra=c3=9fler?= Subject: Re: openjfx8-devel future question To: Kurt Jaeger , =?UTF-8?Q?Dr._Jochen_Ra=c3=9fler?= References: <6f550c7d-5228-58fd-4a5c-e3142819331b@googlemail.com> <20170306175540.GQ13006@home.opsec.eu> Cc: java@FreeBSD.org, ports@FreeBSD.org Message-ID: <2f6cc49f-a878-5567-7c46-6411893d3cb5@googlemail.com> Date: Mon, 6 Mar 2017 19:15:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20170306175540.GQ13006@home.opsec.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Antivirus: avast! (VPS 170306-0, 06.03.2017), Outbound message X-Antivirus-Status: Clean X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 18:15:28 -0000 Thank you Kurt for your reply. I have to look more detailed into this. I'm quite new to FreeBSD on the one hand an the gradle build tool on the other hand. (And gradle is what is used by openjfx) What I understood currently is that gradle downloads the dependencies only for building the package. To run a application, the dependencies have to be installed, otherwise the application will crash with some exceptions (in case of Java). So there seems to be a difference between FreeBSD ports and dependencies to the build process. Why does the ports system not build and install the dependencies firstly and use those installed packages for the further build process? They will be needed anyway for the completely build package... Or maybe I am missing a important point... regards, Jochen Am 06.03.2017 um 18:55 schrieb Kurt Jaeger: > Hi! > >> currently I'm developing a email client using OpenJDK8 and openJFX8 (and= >> of course javamail) under FreeBSD 11 STABLE. > > Interesting. > >> I'd like to use the HTMLEditor widget, which is part of the JavaFX >> framework, but not running under the above mentioned configuration, as >> openjfx does not compile against webkit (or parts of it). There are more= >> such artifacts, as for example MP3 player widget, which needs gstreamer.= >> Obviously, those dependencies are defined for the package, but not >> included by the gradle build script for FreeBSD. This might be, because >> of some maven repositories, as e.g. webview >> (https://repo1.maven.org/maven2/com/sun/webkit/webview-deps/1.3/) having= >> no FreeBSD definition files. > > From what I understand: If you have java code that needs to be compiled > using maven, maven automagically fetches dependencies from > the maven repos out there. > > The problem for a freebsd port is: during the build phase not > 'fetch from extern' is allowed, so we need to explicitly name > the distfiles to be fetched before, which breaks a lot of the > maven assumptions and is a mess to maintain. > >> Are there any plans to include full openjfx support in the next FreeBSD >> release or any integration for the upcoming OpenJDK9? >> Maybe is there >> already support in CURRENT? Is there any political reason not to include= >> those packages (license,..)? > > The problem is the build process in the ports framework. > > If someone would integrate the fetch-distfile process of maven > in the ports framework, all those java codes build using maven > would be become much more simpler to maintain. > > See the discussion in > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D188110#c37 > > and followups. > --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr=C3=BCft. https://www.avast.com/antivirus