From owner-freebsd-ports@freebsd.org Sat Jul 29 09:16:04 2017 Return-Path: Delivered-To: freebsd-ports@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 1BECFDBF2A7 for ; Sat, 29 Jul 2017 09:16:04 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (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 BC38D6557B for ; Sat, 29 Jul 2017 09:16:03 +0000 (UTC) (envelope-from timp87@gmail.com) Received: by mail-ua0-x234.google.com with SMTP id d29so166050305uai.2 for ; Sat, 29 Jul 2017 02:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=4Nm5aNuzaBZ6XRPzJJDTajCwAUVd8YzYOdJAqx3Q6GI=; b=ICHiUcsQ+2K+h08eioYcRi22j1TI12gS1colNdi43rL4HyBfVGqxYJVrsMqS3+MM8v nlKYjZX9EGyBKb11hW/GtjQMJcqN7+PT9NPmwtuQjIphmwolZ6+1ntLDPddKR+dpwCaY VAhHctnU53+3jx15oXFc2nV0a1q0KfB1P8osjwRdOxx/YLVWc4rHSaRq21Y+ZPMIx8kh GFxp4Bf1iNN3TVsYIoHmRZzIMkOnV6ny4yv01p/VgiNhZE/dw3rUUvY6KIaOvvmYSz36 wnyqc8vlSTuxYsUvQpDuqCg5GIDeZ1zAoWRO4u0FKSeP9uD0h7bl5+Pfzu8uY0ch6TE5 4lCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4Nm5aNuzaBZ6XRPzJJDTajCwAUVd8YzYOdJAqx3Q6GI=; b=Pq04cPh+ukdFDxYKD6ftA1p8uD8Yn5hKc3YjQfT1Jh6XuNmlY4ZjDEmMUl2EmFuiO8 /aK9NoP0ODROJVgSLN0zEKy4hcM3dGwamRVABcDD+SdKFqiZU/KIXgEmF2W89yMkntDY BOspXOW7LbXE/cKjY9Xoe4RQ5CO6jf1o0I0M209NgFTi2o96AD3yokVVhvzPjt4GzlAy ltrx2tTIuLeOpmDCl+shWWxPg3uVUp5Oq0mwl5qj2ZEyEXY8fQx2tLckzq8/nheyT5e0 vUZIwWChCUdfP1DG910xwSZBinIrEDbmXWUjXPyvwa0thO1cCI0XzeoH2VlnLZovA5zL ol1w== X-Gm-Message-State: AIVw1110K/XQhBqUmwVLICrz75IhjY/ikSSEJVObQ8kOSFFWFYIZ+ml6 MqyhwfOP6Dr0uTczeoiDug1z9qZtFDNp X-Received: by 10.159.55.49 with SMTP id z46mr6215543uad.131.1501319762803; Sat, 29 Jul 2017 02:16:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.119.86 with HTTP; Sat, 29 Jul 2017 02:16:02 -0700 (PDT) In-Reply-To: <639899A1-314C-4160-A90F-110E7A53A9D1@posteo.net> References: <639899A1-314C-4160-A90F-110E7A53A9D1@posteo.net> From: Pavel Timofeev Date: Sat, 29 Jul 2017 12:16:02 +0300 Message-ID: Subject: Re: JVM based port dependencies? To: Dmytro Bilokha Cc: ports-list freebsd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2017 09:16:04 -0000 2017-07-20 21:27 GMT+03:00 Dmytro Bilokha : > 20 =D0=BB=D0=B8=D0=BF=D0=BD=D1=8F 2017 =D1=80. 18:17:13 GMT+02:00, Pavel = Timofeev > =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2: >> >> Hello! >> What is the best practice for ports running on top of JVM (like >> ZooKeeper or ElasticSearch): >> use all bundled jars (for example, log4j) or take them from other >> ports as dependencies? >> ________________________________ >> >> freebsd-ports@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > Hello! > As far as I see, ports running on top of JVM usually use bundled jars. To= be > sure about best practice you can check some already existing ports (Eclip= se, > Idea, Glassfish, Tomcat, etc). > -- > Best regards, > Dmytro Bilokha Thanks a lot for your answer. I found a documentation for this question https://www.freebsd.org/doc/en/books/porters-handbook/using-java.html: ... It is up the porter to decide whether the port installs the additional JAR dependencies under this directory or uses the already installed ones (from ${JAVAJARDIR}). ... However I got even more question about porting a java application after reading this doc. I'll ask them in freebsd-java@