Re: PL/Java new build plugin

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: Kartik Ohri <kartikohri13(at)gmail(dot)com>
Cc: pljava-dev(at)lists(dot)postgresql(dot)org
Subject: Re: PL/Java new build plugin
Date: 2020-08-13 21:32:19
Message-ID: 5F35B163.2080005@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Kartik Ohri 2020-08-14 02:44:55 Re: PL/Java new build plugin
Previous Message Kartik Ohri 2020-08-13 21:24:24 Re: PL/Java new build plugin