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 1jxiWn-0005vi-Uu for pljava-dev@arkaria.postgresql.org; Tue, 21 Jul 2020 03:01:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jxiWm-0003zB-Ta for pljava-dev@arkaria.postgresql.org; Tue, 21 Jul 2020 03:01:12 +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 1jxiWm-0003z4-Nq for pljava-dev@lists.postgresql.org; Tue, 21 Jul 2020 03:01:12 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jxiWk-0002Ab-Rw for pljava-dev@lists.postgresql.org; Tue, 21 Jul 2020 03:01:12 +0000 Received: by mail-ej1-x635.google.com with SMTP id br7so20139662ejb.5 for ; Mon, 20 Jul 2020 20:01:10 -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=qKzyIx0sVXzSR31oLpC89xnNtMttjyI94mLsvR0a+Lk=; b=fWg1fp0RzAYTfQvnF3JFL4VwsIBp59eYN4FJyTK01v/MTVWZzSefUcWH84d0uO1P1l Ml4BHsNfl9KReK7x3WYXEtW1Ju7lON2Y6kUi2bjgra84zkJliy4G8Uzyp3h8zsymYY7X oaFlRGOXUiHtUt6vPRV+6EgTL6UvlCRpJJVYVMPnZPfX8+qNMIjNFQuq4suG5fcREFDj ylk5gslS3Con1pAOkAib10ou3i/DxvwFOloTwIJy9NnXeXaCNrkmou4MCsAHTgaOV30x ojBPf9yNbSxPXGOINrUosPJCjJFZuPC3MN4Y1CCwlZVUvr1r9rGdLen/MLYHDG5XVSWL eHcg== 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=qKzyIx0sVXzSR31oLpC89xnNtMttjyI94mLsvR0a+Lk=; b=PUS8aJZtytGRDsMgEVZzVB3WjXbwnb5PRQR3G2H9joSGQIS/wnOco7HdO3CVWeHhHq KV+0Ix+hpfsYUbEuUtR2XPBP6+NA3huYGPfoHCZ1giZMyy2UPQ7Xvb5IYOuegwtxhtV7 z/m7p6w2MP1QXuS1Ybtao0b7IFwo8nsbZWV/myyTHCOlHC93iABhBm7jE/vFZEZM0GTE oPnpuAr8wB/unmifoM3SwYzNGhzFWHBhu+Oog28B6/yZw83LOC27e2eraXyJrj7xMRQK 7OG4l0g5EDq2d4z1Tz4+ywpPYkcvdPKvZh2AfT3SYxCDTtSlcJR08fyQWQDt0aDVeNFt BhgQ== X-Gm-Message-State: AOAM5334A5fmYKJY50hqIyathRp9157FHmKJYvh+KbrLGTSkU4I2u8Op acp84oqXrzNWA7DvTqFsa3sJBzPGvH33fh/PhM6WBpUr X-Google-Smtp-Source: ABdhPJxxXU8K4MKfvydzp6QrMHEnfh9FSpgoFs2by8VSDjamia4PxUpeQjGZNWLIrP9yMtQjTvNuzIhtcaNHgDUOIiA= X-Received: by 2002:a17:906:2296:: with SMTP id p22mr22884215eja.510.1595300469871; Mon, 20 Jul 2020 20:01:09 -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: From: Kartik Ohri Date: Tue, 21 Jul 2020 08:30:57 +0530 Message-ID: Subject: Re: PL/Java new build plugin To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000d11a5005aaead52d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000d11a5005aaead52d Content-Type: text/plain; charset="UTF-8" On Tue, Jul 21, 2020 at 8:29 AM Kartik Ohri wrote: > 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 ? > To be sure and also to confirm, I didn't misunderstand something, can you share the configuration block and the maven command you executed ? --000000000000d11a5005aaead52d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 21, 2020 at 8:29 AM Kartik Oh= ri <kartikohri13@gmail.com= > wrote:
Something isn't quite right a= bout 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=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 ?
To be sure and also to confirm, I didn't mis= understand something, can you share the configuration block and the maven c= ommand you executed ?=C2=A0
--000000000000d11a5005aaead52d--