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 1jqqdM-0008CK-78 for pljava-dev@arkaria.postgresql.org; Thu, 02 Jul 2020 04:15:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jqqdJ-00082a-Vf for pljava-dev@arkaria.postgresql.org; Thu, 02 Jul 2020 04:15:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqqdJ-00082T-OM for pljava-dev@lists.postgresql.org; Thu, 02 Jul 2020 04:15:33 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jqqdC-0005Vm-1N for pljava-dev@lists.postgresql.org; Thu, 02 Jul 2020 04:15:32 +0000 Received: by mail-ej1-x62b.google.com with SMTP id rk21so27520360ejb.2 for ; Wed, 01 Jul 2020 21:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r0nUx6CDA+dLsL0VYwuJ35yvQ5CxOTjkRCI78JOMW20=; b=Tjzm9UPn46qYS7+Vji+3hsIb3+ZWSEbFTm1DfH7JM9HmgBVNRzW/POmp4sBpKEYQIk NlLXbiqA1yCDGWcI/B+WbUDhVYuhLh8EYvthi2H6OFwOy2UhC8FxzSmt21VPFC5l5lZU jKPl/yIq6T0XvirIRyAJCzTJNDa0GPSpmLpx3nyMItZIN0XwR1zGYdWIo4OkB5YStP+b fw5z/whVIvHaZMuxZrR2btfWnPRGG/W3EXA6yZQgt3TSovcjW140aPpZPyG5428uHHzC vDO4DOU43vCCk4S9NPQrRGZSxIJFnWej14MwOQINfCE7S4/BzZ5u3KcAAatpvgHOZ7a0 b2qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=r0nUx6CDA+dLsL0VYwuJ35yvQ5CxOTjkRCI78JOMW20=; b=c+a3coeipuib0nyms7OUlNKbqY5y0vFJHVWaHMZmnjlPMKcLtYTZ7w/y7QPST687gD WpKhop7ENDm6jg1ZpaRkQwrYRKE7SvSVyD9CjHhyesTtdFEqVxHyawnY/r11y72OIpJW uScrgktenCAiQ5boRSUZecIDUkaUNyDOqUSgJhZSZ2Yk94IRyDJ0Upcg5amHhjElB5If gwN4CYsITxlsEaN18lqf+WW3T1+d0qgljlEaGytSHBrqCldk7IMLGAeAtbvD8775eTmP dTN+Iw9RVyp2JbhSE3Mi7Df28hvB47HKhUK5oGopXZlF+MQNYXSvesa/+iKUR4Ezvqo/ MYhg== X-Gm-Message-State: AOAM5322VnaQzAmJidN7C5VEOlkYBpHe/Idn/dXU7mMfeAIlfi2/KTmx 5w4S4tBzruRi9v/j6DfAId13d2lx1KXZ+p490VY9LFn0 X-Google-Smtp-Source: ABdhPJxzL64qLjeu+syjIGKYl4ktGzbQsBmQ+h51oYtFFIcefnnsR+ddzBXheDDMa5Z2sxxXa6CsaePWEW/DJg1excE= X-Received: by 2002:a17:906:b15:: with SMTP id u21mr25978484ejg.520.1593663322996; Wed, 01 Jul 2020 21:15:22 -0700 (PDT) MIME-Version: 1.0 References: <5EF7B265.3060907@anastigmatix.net> <5EFA6C22.8060006@anastigmatix.net> <5EFC18D9.3090108@anastigmatix.net> <5EFD41B1.30009@anastigmatix.net> In-Reply-To: <5EFD41B1.30009@anastigmatix.net> From: Kartik Ohri Date: Thu, 2 Jul 2020 09:45:11 +0530 Message-ID: Subject: Re: PL/Java new build plugin To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000042467705a96da820" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000042467705a96da820 Content-Type: text/plain; charset="UTF-8" > > A next step could be to keep everything else unchanged, but see if you > can eliminate the code in pljava-so/build.xml that writes the > pgsql.properties file, and the places in pljava-{so,packaging}/pom.xml > that read that file, and see if everything works with the new plugin > doing the work of finding the right values and setting those properties. > That could quickly make pljava-so/build.xml just go away. I was reading about setting properties in MOJOs and found this detailed answer . I think this impacts how we utilise the plugin. Can you take a look? --00000000000042467705a96da820 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A next step could be to keep everything else unchanged, = but see if you
can eliminate the code in pljava-so/build.xml that writes the
pgsql.properties file, and the places in pljava-{so,packaging}/pom.xml
that read that file, and see if everything works with the new plugin
doing the work of finding the right values and setting those properties. That could quickly make pljava-so/build.xml just go away.
= =C2=A0
I was reading about setting properties in MOJOs and found = this detailed answ= er. I think this impacts how we utilise the plugin. Can you take a look= ?
--00000000000042467705a96da820--