From: | hal(dot)hildebrand at me(dot)com (Hal Hildebrand) |
---|---|
To: | |
Subject: | [Pljava-dev] Source code move to Git |
Date: | 2013-01-14 04:04:42 |
Message-ID: | 8EBAEA33-06CB-4F2E-B7D3-D2F51474734C@me.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
You can execute anything from Maven using the exec maven plugin (http://mojo.codehaus.org/exec-maven-plugin/) There's a specialization for executing Ant, if that's useful (https://maven.apache.org/plugins/maven-antrun-plugin/) So, the mechanics of integrating Make aren't especially difficult.
The bigger difficulty, from my POV, is setting up the environment correctly. Having done this a couple of times, it still seems like quite the chore to actually build the C portion of pl/java. I'm not sure if that's just inherent difficulty or if there's something that can be done to make the process painless. I'm guessing the former because that's the way C programs roll.
In any event, however, it'll be easy to add a Maven module for building the C portion. I just didn't do it right off the bat because I wanted to get the Java portion squared away first, and the fact that I do most of my development on the Mac and I have had no luck getting pl/java to build on the Mac so I'll have to switch to Linux to get that portion squared away.
On Jan 13, 2013, at 7:06 PM, Craig Ringer <craig at 2ndQuadrant.com> wrote:
> On 01/14/2013 09:20 AM, Hal Hildebrand wrote:
>> Okay, first pull request in. This is just the initial structural refactoring to a maven build, no source changes.
>>
>> Doesn't refactor src/test, doesn't refactor C.
>
> The builds use PGXS for the C code, and I think that's the right approach. Maybe we can run the pgxs makefiles from Maven?
> --
> Craig Ringer http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20130113/e2480c97/attachment.html>
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2013-01-14 04:10:23 | [Pljava-dev] Source code move to Git |
Previous Message | Craig Ringer | 2013-01-14 03:06:22 | [Pljava-dev] Source code move to Git |