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 1jvOrZ-0004bM-MX for pljava-dev@arkaria.postgresql.org; Tue, 14 Jul 2020 17:37:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jvOrX-0001JC-Fp for pljava-dev@arkaria.postgresql.org; Tue, 14 Jul 2020 17:37:03 +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 1jvOrX-0001J5-8L for pljava-dev@lists.postgresql.org; Tue, 14 Jul 2020 17:37:03 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jvOrQ-0000yj-Q3 for pljava-dev@lists.postgresql.org; Tue, 14 Jul 2020 17:37:02 +0000 Received: by mail-ed1-x532.google.com with SMTP id bm28so16375796edb.2 for ; Tue, 14 Jul 2020 10:36:56 -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=x1MyPKuv/o3UeS/G3IvhaxwE31+Xasa0lQ+9F/2L5fM=; b=hfCGi9TABtHYLoVq7ru8rYT7RqnADkOClyPBj5k7Cz7n8N0tjl4vHmxMB6QfCxxfpK xmOJlCuzYqx1dAEwhu0T/5+1eYkGUEdNeYmpz7i40Os0qspj8CI4p4d3rWLYY3Gt0wrL TDW7mXlHIJITGE+K/mVXtoe89/xqQU9W8A0Au6BBzSKCEL1XXvLGIG8l0B9OTNarbjSC lJeHyWzLMsA9470GK8XugUV1e/g/nXn9b3En3PZbIKv5ti5V96s8IvPWTgEug2Xs6yDn 6rQOtnbi/u8OQH6T0ERhnVWcyqH+OJlnU2kwyBXgj3tJ9fBXnLozpioGqDhwjYM2RXs5 ceHg== 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=x1MyPKuv/o3UeS/G3IvhaxwE31+Xasa0lQ+9F/2L5fM=; b=soEJQDQnv9uWzcEGXPhlX3dRdJ8nmYE+Urr88NjxEngHZtzkawC/A8jKkK0d9nIunh xxUCmx5xBeofkRYrxrT+LbUsFitSMiLRN++m/SaPBDQtudd5DEnQPWFWXSc9lN5FP0oM pbaF0aercT30OZWrl44kbehzTWgaZPLPQA/2OjjpIqS8xKVgmqmNIYYY2tVo1L0bnCLU +QVqzryxXqusWKIFoUFksI26aPla1AdzVKCDC9THzOavUSZpJz3Bz+gTiRSDghXWZ9su XzyAmoYHjpQMumeOrTXGNskQSRZwePk7CaPsSf/asuguNwjpCs2/gIepYIcg+TORZgt3 /vCA== X-Gm-Message-State: AOAM531WV0VixZhOE9iWWPASmhoYL+KmaqZ2Dpph2du78oF827F1QjcC MVqIRN+JoWX9ZftIsECRYWSVUY0V83gSG6qGATGNgdAEWaM= X-Google-Smtp-Source: ABdhPJx1Ebde0l+fpkWqddG8lUX5CVtNn3X872wHxezFlVw1yB9CRnGlFt1/JzJW0slgskBWjlbHTvtTC1SbCxdbooQ= X-Received: by 2002:aa7:c4d8:: with SMTP id p24mr5474772edr.323.1594748214904; Tue, 14 Jul 2020 10:36:54 -0700 (PDT) MIME-Version: 1.0 References: <5F04FA65.5000600@anastigmatix.net> <5F071CFC.9090306@anastigmatix.net> <5F072647.50301@anastigmatix.net> <5F0734AD.7060001@anastigmatix.net> <5F077926.2050806@anastigmatix.net> <5F07C2D5.5050904@anastigmatix.net> <5F0D35BA.30904@anastigmatix.net> In-Reply-To: <5F0D35BA.30904@anastigmatix.net> From: Kartik Ohri Date: Tue, 14 Jul 2020 23:06:43 +0530 Message-ID: Subject: Re: PL/Java new build plugin To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000db094605aa6a4025" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000db094605aa6a4025 Content-Type: text/plain; charset="UTF-8" > > By the way, if you have a moment for a break in between other things, > I would be happy if you could look at the pull request I just put in [3]. > > I don't have an easy way to test it on Windows, and I wouldn't be > surprised if some details in init() or start(), for example, might > need adjustment there. > Sure. Running a CI check is as easy as opening a PR against the master branch of my PL/Java fork. For this case, https://github.com/amCap1712/pljava/pull/4 . At the bottom, you can click details next to the CI provider to view detailed logs of each build. As of now, the Windows build will fail for Java 9, 10 (probably PG 9 as well) in any case so that can be ignored. I'll notify you once the build is done. -------- I have begun implementing a basic script integration mojo but while trying to test it, I get a NullPointerException because the ScriptManager is unable to find any suitable engine. How can I fix this ? ScriptEngineManager manager = new ScriptEngineManager(); engine = manager.getEngineByMimeType("application/javascript"); Regards, Kartik. --000000000000db094605aa6a4025 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
By the way, if you have a moment for a break in between = other things,
I would be happy if you could look at the pull request I just put in [3].
I don't have an easy way to test it on Windows, and I wouldn't be surprised if some details in init() or start(), for example, might
need adjustment there.

Sure. Running a = CI check is as easy as opening a PR against the master branch of my PL/Java= fork. For this case,=C2=A0https://github.com/amCap1712/pljava/pull/4=C2=A0. At the bottom,= you can click details next to the CI provider to view detailed logs of eac= h build. As of now, the Windows build will fail for Java 9, 10 (probably PG= 9 as well) in any case so that can be ignored. I'll notify you once th= e build is done.

--------
I have begun i= mplementing a basic script integration mojo but while trying to test it, I = get a NullPointerException because the ScriptManager is unable to find any = suitable engine. How can I fix this ?=C2=A0
ScriptEngineManager manager =3D new ScriptEngineManager();
engine= =3D manager.getEngineByMimeType("application/javascript");
Regards,
Kartik.
--000000000000db094605aa6a4025--