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 1kB3kl-0005tT-MR for pljava-dev@arkaria.postgresql.org; Wed, 26 Aug 2020 22:18:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kB3kk-0000BJ-LY for pljava-dev@arkaria.postgresql.org; Wed, 26 Aug 2020 22:18:46 +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 1kB3kk-0000BB-GW for pljava-dev@lists.postgresql.org; Wed, 26 Aug 2020 22:18:46 +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 1kB3ki-0005SS-9E for pljava-dev@lists.postgresql.org; Wed, 26 Aug 2020 22:18:45 +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:Cc:References:To:Subject:Sender :Reply-To: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=B2u9MlEnJbFSCTtXX2q22V5Btn7F+SpCbsZKQkRQySw=; b=IAKxgE6iLQuT4OH4T1Sv/r0WMN aPguf+fF4Zg01KLvua2XDfBOMHm9u0IXiP6LNdibQSg19T+gLgtTwmn9/Qdpd3F6DRl1oZxFbM2MQ 1FUhyxUjhSLu2Mgi5cLgm0859aucAygFlCImjSL40wEtvvszRUBu0bQXnmcBFmTIVFcqn2V7GrgJm 5OaqLMojmxNDEy3POdmyVZkUD2jymi1DWFEcgYR8WFT69atNq4Oe88nreM/VcoOhRBiQ1qumiZz5x rgcjWI3yGO9M4QyayPyhoAo9yzkYtlc70Jkvxk/7TbO8cusw1iThd0NwTdRCo+jeuSdq5iutcLL6c ajUj+e0w==; Received: from [184.19.31.139] (port=51609) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kB3kh-00Atsl-10; Wed, 26 Aug 2020 18:18:43 -0400 Subject: Re: the ScriptingMojo To: Kartik Ohri References: <5F368380.9070203@anastigmatix.net> <5F368A99.6070709@anastigmatix.net> <5F36965C.60707@anastigmatix.net> <5F3A7DC6.8090905@anastigmatix.net> <5F3D32E9.80504@anastigmatix.net> <5F3D36BE.70703@anastigmatix.net> <5F3D38F8.7050907@anastigmatix.net> <5F3D3A75.5010304@anastigmatix.net> <5F3D3D2E.4070109@anastigmatix.net> <5F3D43BD.4020900@anastigmatix.net> <5F3DA48D.7090408@anastigmatix.net> <5F41943D.9080707@anastigmatix.net> <5F427604.5010103@anastigmatix.net> <5F42A71F.8000002@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F46DFC2.8090207@anastigmatix.net> Date: Wed, 26 Aug 2020 18:18:42 -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: <5F42A71F.8000002@anastigmatix.net> 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 On 08/26/20 12:55, Kartik Ohri wrote: > Windows configuration. I am having some issues with the File.separator > being used in paths. Once I am able to resolve it, we should have all the Serves you right! :) On 08/23/20 13:27, Chapman Flack wrote: > - The Maven-interpolated ${...} properties are convenient for getting > stuff working, but will eventually have to go, as in f413312. Remember that when you write something like this in the Maven config: var source_path = java.nio.file.Paths.get("${basedir}", "src", "main", "c"); Maven has no idea that this config string is JavaScript code, and Maven knows nothing about JavaScript syntax. It's just going to stick the value of ${basedir} into the middle of this long text value that happens to be JavaScript. And if that value contains \ characters, those have special meaning in JS string literals. Maven didn't know any better. All of those string interpolations have to go, and become, for example, var source_path = java.nio.file.Paths.get(project.basedir, "src", "main", "c"); as was done in f413312. Regards, -Chap