Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435) - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
Date
Msg-id CADK3HHJhEb5v7awgr9x=N6h4FE+1CzDmvv1ERehj-bUoRPw3jQ@mail.gmail.com
Whole thread Raw
In response to Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)  (Pavel Kajaba <pkajaba@redhat.com>)
Responses Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
List pgsql-jdbc
Well to start with there are other operating systems besides Linux. I'd suggest reversing the logic to test for Windows.

Is there some reason not to use github ?




On 19 January 2016 at 06:53, Pavel Kajaba <pkajaba@redhat.com> wrote:
> I think maven profile can be added to exclude waffle from the build.

Maven profile would not help, because waffle is used in core/v3/ConnectionFactoryImpl.java class.

So basically if waffle was excluded it would not compile.

However I have tried to create patch [1], which uses Java reflection API to load different classes during runtime.

What do you think about this approach?

Pavel Kajaba.


[1] https://pkajaba.fedorapeople.org/0001-Disable-using-SSPI-under-Linux.patch


--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

pgsql-jdbc by date:

Previous
From: Pavel Kajaba
Date:
Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
Next
From: Vladimir Sitnikov
Date:
Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)