Re: PL/Java new build plugin

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-08-14 02:44:55
Message-ID: CAASLQ4OEbbz1D7eH-fHPcSwA2u4cPqUV_=+TXZz4wW+0UWX-Dw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

On Fri, Aug 14, 2020, 3:02 AM Chapman Flack <chap(at)anastigmatix(dot)net> wrote:

> On 08/13/20 17:24, Kartik Ohri wrote:
> > I have made the changes to the ProcessBuilder and am now trying to use it
> > build pljava-so using it. I wanted to ask should the working directory
> for
> > the process builder be hard coded as the project's target directory or
> left
> > for the user to specify as an argument.
>
> Hmm, that's a good question.
>
> What if ... instead of script calling new ProcessBuilder(...) to obtain
> an instance, we provide a method (with the same signature), that calls
> the constructor and returns a ProcessBuilder with some common defaults
> already configured?
>
> Then the script can just change any bits it wants different from the
> default.
>
> Regards,
> -Chap
>

Sounds good to me. Will do it this way.
Regards,
Kartik

>

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Chapman Flack 2020-08-14 12:28:48 Re: the ReportScriptingMojo
Previous Message Chapman Flack 2020-08-13 21:32:19 Re: PL/Java new build plugin