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 1jxiV8-0005mx-4s for pljava-dev@arkaria.postgresql.org; Tue, 21 Jul 2020 02:59:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jxiV7-0003NG-10 for pljava-dev@arkaria.postgresql.org; Tue, 21 Jul 2020 02:59:29 +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 1jxiV6-0003N8-PL for pljava-dev@lists.postgresql.org; Tue, 21 Jul 2020 02:59:28 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jxiV4-000293-HL for pljava-dev@lists.postgresql.org; Tue, 21 Jul 2020 02:59:28 +0000 Received: by mail-ed1-x536.google.com with SMTP id d18so14203120edv.6 for ; Mon, 20 Jul 2020 19:59:26 -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=iWn40XwIfmffXopifKlKNc9wtpkT/O28THQy0m+1q0s=; b=spBBXLHwUqYdjGoE9wXI0F25M/NZgNl7ey12ki/5Tt7FV647bor3SoHGCwIheyjzG5 +74T7Q0EQcKTYxvMjhXsDJ5Bt89VBOpn2J8IkiF6rs4x3q6HoTHhCadIc5WPy9evqtAJ A/yuw0AjpkLxIbjpXSUSqxxmClkob3MFwh6nPetBcp9BbDUkF8TEYMirDzYLePR5+Ke3 B0RmsE/lIhwXmpRoP2xHBF9j1IxwqwR3G+rf1tmx6lMArro4JPvxrSE421vBMIMjvUOs PnPM1yojus5RipakYLBkbxsAWeajnbmS7RzyMSrVZ50XVRRp4XtfnxJw65KJzy8olGd5 of0w== 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=iWn40XwIfmffXopifKlKNc9wtpkT/O28THQy0m+1q0s=; b=L+MX3sEVp0D4oYFjCYPRk7aVEWs1DpMyXQBrOw8XEOYzcIZk5jI3XCkvuqDJVObPF2 rGkPdu9lYRwJwDbNu5MyUo8vVsPzl0ZRfzoAFlvQOUFcMM0F4vv7eiKMV/5g58Eikqgk CXQMiznNbKZxBY5kcUWaAPxseYkgh5OZA1MhA1uSwYwIwCjkJN9n7jlCcZIW+In+1oy3 8tH6+OxDEKI5VHXEONp1mw8scKRRVrUrdO+GUv8k19/m8VruHICYZRrjuFFxP+Ae+QvM WyhwiAtf+wKJX29tzfRiW4pV3ef08BOp1UK4SA9b7OEbEaKaNmK1HtmSeInce2yQPIif fvEw== X-Gm-Message-State: AOAM53071amGqxfmfBdTeWsQO+ONpuYwF/xfS0YkCyiXF4w57Qt3qnyl PwD9B8Jagg5yk14oDrHG3MhG75da0bOdfL9sg8A9f9ch X-Google-Smtp-Source: ABdhPJwkZ/pMDizqY1bZIaamo8tCfLL/GbfxCWLFuojrJ62pQXQ5QLTkDQxDVF+b1Pl9L3X5K7y5B2Snj5NVhzG7gAs= X-Received: by 2002:a50:c044:: with SMTP id u4mr25301173edd.366.1595300365087; Mon, 20 Jul 2020 19:59:25 -0700 (PDT) MIME-Version: 1.0 References: <5F0D35BA.30904@anastigmatix.net> <5F0E3972.5070609@anastigmatix.net> <5F0F2DA2.5090603@anastigmatix.net> <5F12FF49.6090906@anastigmatix.net> <5F12FF80.5020208@anastigmatix.net> <5F1338F8.6030506@anastigmatix.net> <5F135B84.8070302@anastigmatix.net> <5F14C34E.4020704@anastigmatix.net> In-Reply-To: <5F14C34E.4020704@anastigmatix.net> From: Kartik Ohri Date: Tue, 21 Jul 2020 08:29:13 +0530 Message-ID: Subject: Re: PL/Java new build plugin To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000009237af05aaeacfdc" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000009237af05aaeacfdc Content-Type: text/plain; charset="UTF-8" > > Something isn't quite right about the handling of -Dpljava.libjvmdefault; > the C compiler gives syntax errors if I use it (the build succeeds if > I don't). Running with -X shows this being passed to the compiler: > > -DPLJAVA_LIBJVMDEFAULT=${pljava.qlibjvmdefault} > It is because the plugin is no longer detecting PLJAVA_LIBJVMDEFAULT. I did not retain the method to automatically detect the variable and use it and set its value. Should we keep it in the configuration block in pom.xml since we have exposed the C quoting as well to the script engine or make an exception for this to be specified via command line ? --0000000000009237af05aaeacfdc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Something isn't quite right about the handling of -D= pljava.libjvmdefault;
the C compiler gives syntax errors if I use it (the build succeeds if
I don't). Running with -X shows this being passed to the compiler:

-DPLJAVA_LIBJVMDEFAULT=3D${pljava.qlibjvmdefault}
It i= s=C2=A0because the plugin is no longer detecting PLJAVA_LIBJVMDEFAULT. I di= d not retain the method to automatically detect the variable and use it and= set its=C2=A0value. Should=C2=A0we keep it in the configuration block in p= om.xml since we have exposed the C quoting as well to the script engine or = make an exception for this to be specified=C2=A0via command line ?
--0000000000009237af05aaeacfdc--