Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jagcV-00014y-Gl for pljava-dev@arkaria.postgresql.org; Mon, 18 May 2020 14:19:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jagcU-0004m5-9z for pljava-dev@arkaria.postgresql.org; Mon, 18 May 2020 14:19:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jagcT-0004gn-QW for pljava-dev@lists.postgresql.org; Mon, 18 May 2020 14:19:54 +0000 Received: from anastigmatix.net ([68.171.219.55]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jagcR-0003lL-2s for pljava-dev@lists.postgresql.org; Mon, 18 May 2020 14:19:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kaVqt73d8nH0jnQRsQg/dH+HnhunUyWbhkWCIooS+30=; b=wQ6MHJnFgDPoCbYpoqjHZr4PX5 11w4TlFmqvSVHvBm9kTfi+ptVT7vj/KsqXqfu7CFmbRk5rcBGEKW4rVL/B/01y6PgYHXGpeP979GH lzykTiwaOXD+cg6nyJRtvlSlE1hnrajMSC9kZDUV1AZCpBiSywMbV1cCJKRjPx/AeABIi7ZqdhnVf R+3bMuH9+XmifAtYDWVcTByww7nXEkvsbw0gV0LOmlcoKn9+XANY49bWyGFhx7UeSMVC0preIgXb8 RskbWtVhghKjc646jabPbCVc5yoDt4ATG024hS0e9ga/jOabO4sVC0LCvQf+TlBRIQk1N0S0vvDJ8 Mhu5cWBg==; Received: from [184.19.31.139] (port=58240) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jagcP-00AJzE-ES; Mon, 18 May 2020 10:19:50 -0400 Subject: Re: Starting build-system work (Windows/Mac users please speak up) To: Kartik Ohri , pljava-dev@lists.postgresql.org References: <5EC17E17.7070002@anastigmatix.net> From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5EC29984.90900@anastigmatix.net> Date: Mon, 18 May 2020 10:19:48 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-95.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, I'm adding pljava-dev in the recipients. On 05/18/20 09:19, Kartik Ohri wrote: > way of determining the name of the jar files created by mvn clean install. > I understand that the jar files are named as pljava-pgX.Y-arch-os-link.jar > . I am currently find command to determine the complete name. Is this To determine for sure what the name is going to be would force you to duplicate the logic that sets ${suffix} in pljava-packaging/build.xml, which is rather gruesome, to be honest (and I think I wrote it!). On the other hand, if running mvn clean install, the 'clean' should ensure that no other pljava-pgX.Y-arch-os-link.jar from any earlier run is present, so the only file in that directory matching pljava-pg*.jar should be the right one. (Note that the /directory/ it's created in is always the same, so that isn't part of the puzzle.) Even using 'find' therefore seems needlessly heavyweight; the wildcarded name should do fine. You could do that for the examples jar also, or capture the output when running the installer jar, as it prints the full pathnames where it is installing the files. The wildcard in the build directory is probably simpler; no need for a CI script to be any fancier than what works. Regards, -Chap p.s. Different open-source projects tend to have different mailing-list cultures. When replying to a list message, your mail client should offer options like 'Reply' (only to the person who sent a message), 'Reply List' (only to the list), and 'Reply All' (goes to all of the individually named participants *and* to the list). No need to be shy about sending questions to the list; you're doing development, and that's what a -dev list is for. On mailing lists in the PostgreSQL project, the tradition is 'Reply All', so your reply will go directly to whatever individuals are directly engaging with you in that thread *and also* to the list for archiving. (That tends to mean the people directly participating get two copies, but that's the tradition in the PostgreSQL community.) More on PostgreSQL's mailing list culture is here: https://wiki.postgresql.org/wiki/Mailing_Lists This tradition also prefers to: (1) trim the message being replied to so it includes only the portions getting replies, and (2) write each reply after the trimmed original bit being replied to. It is not considered necessary, in this tradition, to have the entire previous message quoted in the reply, because the mailing list archive is always available to anyone who wants to see the past context. For example, this email thread can be reviewed at https://www.postgresql.org/message-id/5EC17E17.7070002%40anastigmatix.net and all history of pljava-dev at https://www.postgresql.org/list/pljava-dev/ -c