From: | Kartik Ohri <kartikohri13(at)gmail(dot)com> |
---|---|
To: | Chapman Flack <chap(at)anastigmatix(dot)net> |
Cc: | pljava-dev(at)lists(dot)postgresql(dot)org |
Subject: | Re: PL/Java new build plugin |
Date: | 2020-07-18 13:04:14 |
Message-ID: | CAASLQ4OiWCQQwYFnxAQBe2dC6Ms803RjCMX-9AC2=1m0ZzeDhA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
Another thing, I have discovered is that the <script> tag inside pom.xml is
processed by the antrun plugin to generate a build-main.xml file inside
target/antrun. I believe this might be another issue. It is also in sync
with my observation that I have been unable to find anything about writing
blocks and executing blocks of javascript from pom.xml. I think antrun is
using Plexus Utils to process the script tags in pom.xml before executing
the ant task on it.
Therefore, we might need to do something similar as well to extract the
script from the script tag.
PS: One thing struck me that the javascript blocks seem to unnecessary if
this is the case. The scripting plugin is wrapping the java functions in
javascript and then parsing a javascript block to execute it. If it is
possible to use the jshell as a scripting engine from the mojo, we could
eliminate the javascript thing and script in Java instead. However, there
are a couple of things that need to be verified to make sure this works.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Chapman Flack | 2020-07-18 13:55:21 | Re: PL/Java new build plugin |
Previous Message | Kartik Ohri | 2020-07-18 12:43:45 | Re: PL/Java new build plugin |