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 1jtbY3-0003Xt-RB for pljava-dev@arkaria.postgresql.org; Thu, 09 Jul 2020 18:45:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jtbY1-0004mP-Dx for pljava-dev@arkaria.postgresql.org; Thu, 09 Jul 2020 18:45: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 1jtbY1-0004mI-6j for pljava-dev@lists.postgresql.org; Thu, 09 Jul 2020 18:45:29 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jtbXy-0007Nc-Gz for pljava-dev@lists.postgresql.org; Thu, 09 Jul 2020 18:45:28 +0000 Received: by mail-ed1-x52f.google.com with SMTP id z17so2628062edr.9 for ; Thu, 09 Jul 2020 11:45: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=egPU9OPyDeUmEV2XWFX84ruNwrbZS4+Ca/iSzrlHJLI=; b=Ogz/jvK8P616voTLL1GovyWwyhD7WiKNDHt7vMLno7dzwRe7HqZV+n22nutHtgB+oj 9ubjjLyFn56YNFGH153CB9cEKVQpcqeCwgSNtC75gxHk0uNsBiqotw+Fb1lwtRQRXCAJ wXvGc42ryIZSwQ0PonTgq5efWGCzwIh/Y1u+uN5zzrl65Nqv5D94yWN8CzVfAgX9d1N5 UqMmhOKrVI2j10b+3whaEqqeqRJMufSAqyYC6C3xvzscz4zTwzyzVMXhEFHp1vYevM2p ebQxxR/97yDsZ8K4HzvlblIWj5GL8atklIybOosItzhS10nTwNBiBtzuypL/sTH22cTr Guww== 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=egPU9OPyDeUmEV2XWFX84ruNwrbZS4+Ca/iSzrlHJLI=; b=ZYJXUaSleRMbjSaQQGg4VRtf6lrrCm1KZCnPoXQoU1/pmn1KkuWV5wXi91M1SaRwug 2Ow/2d9vksRtbJxQAVysT4mj/mN+Yr3W5x8VDA6L4jpq99sr2e6d3C8VnkSb8PcQJpdh UrNepMO021TGyaRW9qBAXRpwQZgd3Cjyt/gT7zJtEl+15PJeghj4n8osypcpcmynusfK eAXdCod69JM1aDcUkBpymc5SdEtXsRitagitWb4jwer1XY7kaBEIkuLzcX05neTzFRv9 NxuDiEinhjyL3DDoKM57Nge8iS2QyQaVjcmEPArz4wnvjXHma1FKcuYfGmV1EaVn6Hao 1haA== X-Gm-Message-State: AOAM532VvWLn+UaUjjtoQkoIdstEwnr/8UPT7XA4Lg8O08O6eEFt3dk6 yD3UQi2/rb5LUiGYD9ANArc9FPaJXfRcUdOsJFss1tIc X-Google-Smtp-Source: ABdhPJylh2VIb8lZQvZjoOR0roleJHkrgdwd7zryttYv6/lDozCX4cB6IMzI0aEzfagpIZBo5BwuMuDxqlfRsiCwd34= X-Received: by 2002:aa7:c4d8:: with SMTP id p24mr69342075edr.323.1594320324891; Thu, 09 Jul 2020 11:45:24 -0700 (PDT) MIME-Version: 1.0 References: <5F02122C.7040905@anastigmatix.net> <5F021785.905@anastigmatix.net> <5F021A20.1050903@anastigmatix.net> <5F02340C.7030002@anastigmatix.net> <5F04FA65.5000600@anastigmatix.net> <5F071CFC.9090306@anastigmatix.net> <5F072647.50301@anastigmatix.net> <5F0734AD.7060001@anastigmatix.net> In-Reply-To: <5F0734AD.7060001@anastigmatix.net> From: Kartik Ohri Date: Fri, 10 Jul 2020 00:15: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="0000000000009f965c05aa06a08b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000009f965c05aa06a08b Content-Type: text/plain; charset="UTF-8" Hi! I am having some temporary internet connectivity issues due to which I am unable to RDP into a Windows VM and debug the issue. Meanwhile, I tried to eliminate the properties file and encountered the include path not found issue in nar-maven plugin. It took some time to find the issue but I was able to find the issue. It was that the pg_config appended a newline character to its output which was being added to the property value causing a path error. I have fixed it now and eliminated the need of the pgxs.properties file. Moving on, I tried to eliminate the CDATA regex in the pom.xml. I have come up with a Java version. There are a few caveats like hex escaping is not supported in Java so these need to be converted to Unicode escaping and so on. But I do not know how to test the regex and what the purpose of libjvmdefault is here. Can you explain it and tell how to test this regex escaping code ? Regards, Kartik. --0000000000009f965c05aa06a08b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!=C2=A0
I am having some temporary internet connecti= vity issues due to which I am unable to RDP into a Windows VM and debug the= issue.=C2=A0

Meanwhile, I tried to eliminate the proper= ties=C2=A0file and encountered the include path not found issue in nar-mave= n plugin. It took some time to find the issue but I was able to find the is= sue. It was that the pg_config appended a newline character to its output w= hich was being added to the property value causing a path error. I have fix= ed it now and eliminated the need of the pgxs.properties file.

Moving on, I tried to eliminate the CDATA regex in the pom.xml. I ha= ve come up with a Java version. There are a few caveats like hex escaping i= s not supported in Java so these need to be converted to Unicode escaping a= nd so on. But I do not know how to test the regex and what the purpose of l= ibjvmdefault is here. Can you explain it and tell how to test this regex es= caping code ?

Regards,
Kartik.
--0000000000009f965c05aa06a08b--