From: Pavel Kajaba <pkajaba@redhat.com>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: Stephen Nelson <stephen@eccostudio.com>
Cc: List <pgsql-jdbc@postgresql.org>
Cc: Pavel Raiskup <praiskup@redhat.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
Date: Thu, 21 Jan 2016 11:03:39 +0100
Message-ID: <1453370619.3932.22.camel@redhat.com> (raw)
In-Reply-To: <CAB=Je-Gd6fC+2cBtrOjon0TqYbm8OmugOfOxgRqkq3cXrsZPgw@mail.gmail.com>
References: <pgjdbc/pgjdbc/pull/435@github.com>
<CADK3HHJhEb5v7awgr9x=N6h4FE+1CzDmvv1ERehj-bUoRPw3jQ@mail.gmail.com>
<1358320242.19481317.1453213885688.JavaMail.zimbra@redhat.com>
<CADK3HHLdSTnR9CKNot+1=-B3j+mWeSf98FVMWGyNb=suoh_P1Q@mail.gmail.com>
<48112715.19853068.1453234429084.JavaMail.zimbra@redhat.com>
<20160119203844.29253718.8068.7048@gmail.com>
<488246730.19885917.1453236547410.JavaMail.zimbra@redhat.com>
<CAB=Je-GxFFQ_LBD9CWgn=0c6L-dc5BO2ijuhK0p_D9z6aC2tag@mail.gmail.com>
<1255064726.20279027.1453281864770.JavaMail.zimbra@redhat.com>
<CAB=Je-Hm=AEM-6Zc7-P=wA5m6+yL6h9C1cuqNN6ZyjD4pWun5w@mail.gmail.com>
<1453289369.3932.8.camel@redhat.com>
<CAB=Je-Gd6fC+2cBtrOjon0TqYbm8OmugOfOxgRqkq3cXrsZPgw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
On Wed, 2016-01-20 at 14:58 +0300, Vladimir Sitnikov wrote:
> > Why do you think it's a time bomb?
> > it won't build because osgi end up somewhere else.
>
> It is a time bomb because it does not ensure it achieves "exclude all
> osgi classes" goal.
> For instance, suppose in a week I add a *test* class to validate that
> OSGi does work in pgjdbc as designed?
> That would add some new files to ".../src/test/java/...".
> You would miss to delete them, thus your build will fail.
>
> Once again: if you delete/add/modify random files from source
> distribution, you are building on sand.
> Expect random failures in that case.
>
> If current pgsql's build procedure somehow does not suit you, go
> ahead
> and raise the discussion on mailing list and/or GitHub's issue.
>
> > Can you think about better solution?
>
> A proper solution starts from "gathering the requirements".
> I have not seen your requirements on the build procedure except "no
> internet".
> Well, at some point there was a statement like "maven cannot be used
> at all".
>
> I perfectly understand, that distribution of "waffle" in linux world
> makes little sense.
> So, I could understand the requirement of "there should be a build
> parameter that excludes waffle from dependencies".
> It is easy to test, so we setup just another Travis job that builds
> "no waffle" variant and it will ensure the build would not get
> corrupted by some random accident here or there.
>
> On the other hand, you go right into the implementation details and
> claim that if you change some "direct call" to "reflective call",
> then
> it would magically solve the problem for you.
> That does not work.
> Even if that fix somehow gets merged in, I expect a pull request in a
> day or two with exactly reverse change set: "improve performance of
> waffle calls..."
>
> That is why I strongly advice you to present your requirements in a
> clear & testable way.
> Does that make sense?
>
Ok, I try to present them:
1) all pgjdbc maven dependencies have in Fedora in form of RPMs.
- we are missing osgi-enterpise and waffle-jna
2) If We are not able to get any dependency into Fedora repositories we
need to find a way how to resolve it without any time bombs/hacks.
- basicaly we need to find way how to remove/disable waffle-jna and
osgi-enterpise.
That's pretty much all we require.
I would like to shed some light into way how we work with maven. There
is tool called XMvn [1]. It works like maven but it is getting jar
files from RPMs which are already installed.
> Vladimir
>
>
[1] https://mizdebsk.fedorapeople.org/xmvn/site/
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: pkajaba@redhat.com, sitnikov.vladimir@gmail.com, stephen@eccostudio.com, praiskup@redhat.com, pg@fastcrypt.com
Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
In-Reply-To: <1453370619.3932.22.camel@redhat.com>
References: <pgjdbc/pgjdbc/pull/435@github.com> <CADK3HHJhEb5v7awgr9x=N6h4FE+1CzDmvv1ERehj-bUoRPw3jQ@mail.gmail.com> <1358320242.19481317.1453213885688.JavaMail.zimbra@redhat.com> <CADK3HHLdSTnR9CKNot+1=-B3j+mWeSf98FVMWGyNb=suoh_P1Q@mail.gmail.com> <48112715.19853068.1453234429084.JavaMail.zimbra@redhat.com> <20160119203844.29253718.8068.7048@gmail.com> <488246730.19885917.1453236547410.JavaMail.zimbra@redhat.com> <CAB=Je-GxFFQ_LBD9CWgn=0c6L-dc5BO2ijuhK0p_D9z6aC2tag@mail.gmail.com> <1255064726.20279027.1453281864770.JavaMail.zimbra@redhat.com> <CAB=Je-Hm=AEM-6Zc7-P=wA5m6+yL6h9C1cuqNN6ZyjD4pWun5w@mail.gmail.com> <1453289369.3932.8.camel@redhat.com> <CAB=Je-Gd6fC+2cBtrOjon0TqYbm8OmugOfOxgRqkq3cXrsZPgw@mail.gmail.com> <1453370619.3932.22.camel@redhat.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox