pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Raiskup <praiskup@redhat.com>
To: Vitalii Tymchyshyn <vit@tym.im>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: Álvaro Hernández Tortosa <aht@8kdata.com>
Cc: Pavel Kajaba <pkajaba@redhat.com>
Cc: Stephen Nelson <stephen@eccostudio.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: Step towards being able to build on Linux (Pull request #435)
Date: Fri, 22 Jan 2016 09:49:29 +0100
Message-ID: <1885902.CVk9m1gFGk@nb.usersys.redhat.com> (raw)
In-Reply-To: <CABWW-d2qjhvnaN7nPQqr-Mso=O_xYuGnU=TJBRzHcUz2Q9=J=g@mail.gmail.com>
References: <pgjdbc/pgjdbc/pull/435@github.com>
	<CADK3HHKw4dgCsD1UUJw=YN8w07rTN8MN8NF=L6T3JNcQF_s0=g@mail.gmail.com>
	<CABWW-d2qjhvnaN7nPQqr-Mso=O_xYuGnU=TJBRzHcUz2Q9=J=g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Hi Vitalii,

On Friday 22 of January 2016 00:39:17 Vitalii Tymchyshyn wrote:
> I did some research. The OSGi dependencies can be replaced to the OSS ones:
> osgi-core to org.apache.felix:osgi-core:1.4.0 that is already in Fedora
> osge-enterprise to org.ops4j.pax.jdbc:pax-jdbc-spec:0.6.0. This one is not
> there, but other OPS4J packages are in there, so I presume this one can be
> added too. Please confirm.

Let me check please, OSS alternative is definitely better!  But if we
could make this optional build/runtime dependancy, that would be better.

Pavel

> The only change other than dependency needed is due to a little older spec
> used:
> 
> Index: pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java
> IDEA additional info:
> Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
> <+>UTF-8
> ===================================================================
> --- pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java
> (revision 0f979c3bbe1a36e6614e3d448ea43de7be27448b)
> +++ pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java
> (revision )
> @@ -22,7 +22,7 @@
>   * This class is an OSGi Bundle Activator and should only be used
> internally by the OSGi Framework
>   */
>  public class PGBundleActivator implements BundleActivator {
> -  private ServiceRegistration<?> _registration;
> +  private ServiceRegistration _registration;
> 
>    public void start(BundleContext context) throws Exception {
>      Dictionary<String, Object> properties = new Hashtable<String, Object>();
> 
> 
> 
> Чт, 21 січ. 2016 о 17:41 Dave Cramer <pg@fastcrypt.com> пише:
> 
> > Yes, Alvaro found one that should work
> > https://fedoraproject.org/wiki/PackagingDrafts/OSGiGuidelines, although I
> > don't see a ubuntu one
> >
> > Dave Cramer
> >
> > davec@postgresintl.com
> > www.postgresintl.com
> >
> > On 21 January 2016 at 17:04, Vladimir Sitnikov <
> > sitnikov.vladimir@gmail.com> wrote:
> >
> >> >So it seems like one solution to osgi is just to copy the sources into
> >> the project. These are all interfaces, and a minimal number of files, I
> >> think around 4
> >>
> >> What's the problem with packaging OSGi interfaces as usual rpms (or
> >> whatever is used for packaging)?
> >> As for me, "copy&pasting <<minimal number of files, I think around
> >> 4>>" does not solve legal issues if there are any.
> >> On top of that, exposing OSGi interfaces as part of pgjdbc.jar would
> >> probably void OSGi compliance. The jar would just not load due to
> >> invalid contents.
> >>
> >> Vladimir
> >>
> >
> >



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



view thread (16+ messages)

Message-ID: <1885902.CVk9m1gFGk@nb.usersys.redhat.com>
Permalink:  ../1885902.CVk9m1gFGk@nb.usersys.redhat.com/
Also on:    postgresql.org/message-id/1885902.CVk9m1gFGk@nb.usersys.redhat.com

 · 

reply

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: praiskup@redhat.com, vit@tym.im, pg@fastcrypt.com, sitnikov.vladimir@gmail.com, aht@8kdata.com, pkajaba@redhat.com, stephen@eccostudio.com
  Subject: Re: Step towards being able to build on Linux (Pull request #435)
  In-Reply-To: <1885902.CVk9m1gFGk@nb.usersys.redhat.com>
  References: <pgjdbc/pgjdbc/pull/435@github.com> <CADK3HHKw4dgCsD1UUJw=YN8w07rTN8MN8NF=L6T3JNcQF_s0=g@mail.gmail.com> <CABWW-d2qjhvnaN7nPQqr-Mso=O_xYuGnU=TJBRzHcUz2Q9=J=g@mail.gmail.com> <1885902.CVk9m1gFGk@nb.usersys.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