Re: OSGi 5 Implementation

2013-11-17 Thread Manuel Faux
On Sat, 16 Nov 2013 02:46:51 -0500
Aleksandar Kurtakov akurt...@redhat.com wrote:

  
  I didn't see that Equinox satisfies the OSGi 5 part, since I didn't
  use this package anymore, as soon I recognized that NetBeans does
  not build with it.  
 
 Is this still true? I know that jtulach(one of the netbeans guys) has
 his own equinox(like?) framework called Netbinox for usage in
 netbeans so you might want to get in contact with him for details. I
 haven't followed Netbeans in years but if you point to concrete
 problem I'll take a look.
 
The problem was not with Equinox per se, but with the version shipped
with Fedora. I needed to write some patches to be able to build
NetBeans against the newest version of Equinox. The component which
needs the patch is Netbinox.

Manuel

 
 Alexander Kurtakov
 Red Hat Eclipse team
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-17 Thread Aleksandar Kurtakov
- Original Message -
 From: Manuel Faux manuel.f...@conf.at
 To: devel@lists.fedoraproject.org
 Sent: Sunday, November 17, 2013 10:50:33 AM
 Subject: Re: OSGi 5 Implementation
 
 On Sat, 16 Nov 2013 02:46:51 -0500
 Aleksandar Kurtakov akurt...@redhat.com wrote:
 
   
   I didn't see that Equinox satisfies the OSGi 5 part, since I didn't
   use this package anymore, as soon I recognized that NetBeans does
   not build with it.
  
  Is this still true? I know that jtulach(one of the netbeans guys) has
  his own equinox(like?) framework called Netbinox for usage in
  netbeans so you might want to get in contact with him for details. I
  haven't followed Netbeans in years but if you point to concrete
  problem I'll take a look.
  
 The problem was not with Equinox per se, but with the version shipped
 with Fedora. I needed to write some patches to be able to build
 NetBeans against the newest version of Equinox. The component which
 needs the patch is Netbinox.

Are you saying that Netbinox builds with equinox downloaded from eclipse.org 
but not with the one from our rpms?


Alexander Kurtakov
Red Hat Eclipse team

 
 Manuel
 
  
  Alexander Kurtakov
  Red Hat Eclipse team
 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-17 Thread Manuel Faux
On Sun, 17 Nov 2013 04:39:06 -0500
Aleksandar Kurtakov akurt...@redhat.com wrote:

 - Original Message -
  From: Manuel Faux manuel.f...@conf.at
  To: devel@lists.fedoraproject.org
  Sent: Sunday, November 17, 2013 10:50:33 AM
  Subject: Re: OSGi 5 Implementation
  
  On Sat, 16 Nov 2013 02:46:51 -0500
  Aleksandar Kurtakov akurt...@redhat.com wrote:
  

I didn't see that Equinox satisfies the OSGi 5 part, since I
didn't use this package anymore, as soon I recognized that
NetBeans does not build with it.
   
   Is this still true? I know that jtulach(one of the netbeans guys)
   has his own equinox(like?) framework called Netbinox for usage in
   netbeans so you might want to get in contact with him for
   details. I haven't followed Netbeans in years but if you point to
   concrete problem I'll take a look.
   
  The problem was not with Equinox per se, but with the version
  shipped with Fedora. I needed to write some patches to be able to
  build NetBeans against the newest version of Equinox. The component
  which needs the patch is Netbinox.
 
 Are you saying that Netbinox builds with equinox downloaded from
 eclipse.org but not with the one from our rpms?
 
With version, i meant release version of Equinox, not the eclipse.com
version vs. Packaged version of Fedora. The problem is, that Netbinox
is intended to be built with Equinox 3.8.0, but Fedora ships Equinox
3.9.0, which causes complication errors.

One problem is for example, that the constructor of
org.eclipse.osgi.baseadaptor.bundlefile.DirBundleFile takes different
arguments in Equinox 3.8.0 and 3.9.0.

Manuel
 
 Alexander Kurtakov
 Red Hat Eclipse team
 
  
  Manuel
  
   
   Alexander Kurtakov
   Red Hat Eclipse team
  --
  devel mailing list
  devel@lists.fedoraproject.org
  https://admin.fedoraproject.org/mailman/listinfo/devel
  Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-17 Thread Aleksandar Kurtakov
- Original Message -
 From: Manuel Faux manuel.f...@conf.at
 To: devel@lists.fedoraproject.org
 Sent: Sunday, November 17, 2013 2:40:25 PM
 Subject: Re: OSGi 5 Implementation
 
 On Sun, 17 Nov 2013 04:39:06 -0500
 Aleksandar Kurtakov akurt...@redhat.com wrote:
 
  - Original Message -
   From: Manuel Faux manuel.f...@conf.at
   To: devel@lists.fedoraproject.org
   Sent: Sunday, November 17, 2013 10:50:33 AM
   Subject: Re: OSGi 5 Implementation
   
   On Sat, 16 Nov 2013 02:46:51 -0500
   Aleksandar Kurtakov akurt...@redhat.com wrote:
   
 
 I didn't see that Equinox satisfies the OSGi 5 part, since I
 didn't use this package anymore, as soon I recognized that
 NetBeans does not build with it.

Is this still true? I know that jtulach(one of the netbeans guys)
has his own equinox(like?) framework called Netbinox for usage in
netbeans so you might want to get in contact with him for
details. I haven't followed Netbeans in years but if you point to
concrete problem I'll take a look.

   The problem was not with Equinox per se, but with the version
   shipped with Fedora. I needed to write some patches to be able to
   build NetBeans against the newest version of Equinox. The component
   which needs the patch is Netbinox.
  
  Are you saying that Netbinox builds with equinox downloaded from
  eclipse.org but not with the one from our rpms?
  
 With version, i meant release version of Equinox, not the eclipse.com
 version vs. Packaged version of Fedora. The problem is, that Netbinox
 is intended to be built with Equinox 3.8.0, but Fedora ships Equinox
 3.9.0, which causes complication errors.

This is something that must be handled at Netbinox site, Fedora project aims at 
shipping 
latest versions of software so Netbinox need to be fixed to compile/work with 
Equinox 3.9.
Not to mention that Equinox 3.8 is no longer supported upstream so shipping it 
makes no sense.

Alexander Kurtakov
Red Hat Eclipse team

 
 One problem is for example, that the constructor of
 org.eclipse.osgi.baseadaptor.bundlefile.DirBundleFile takes different
 arguments in Equinox 3.8.0 and 3.9.0.
 
 Manuel
  
  Alexander Kurtakov
  Red Hat Eclipse team
  
   
   Manuel
   

Alexander Kurtakov
Red Hat Eclipse team
   --
   devel mailing list
   devel@lists.fedoraproject.org
   https://admin.fedoraproject.org/mailman/listinfo/devel
   Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
 
 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-17 Thread Manuel Faux
On Sun, 17 Nov 2013 07:58:48 -0500
Aleksandar Kurtakov akurt...@redhat.com wrote:

 - Original Message -
  From: Manuel Faux manuel.f...@conf.at
  To: devel@lists.fedoraproject.org
  Sent: Sunday, November 17, 2013 2:40:25 PM
  Subject: Re: OSGi 5 Implementation
  
  On Sun, 17 Nov 2013 04:39:06 -0500
  Aleksandar Kurtakov akurt...@redhat.com wrote:
  
   - Original Message -
From: Manuel Faux manuel.f...@conf.at
To: devel@lists.fedoraproject.org
Sent: Sunday, November 17, 2013 10:50:33 AM
Subject: Re: OSGi 5 Implementation

On Sat, 16 Nov 2013 02:46:51 -0500
Aleksandar Kurtakov akurt...@redhat.com wrote:

  
  I didn't see that Equinox satisfies the OSGi 5 part, since I
  didn't use this package anymore, as soon I recognized that
  NetBeans does not build with it.
 
 Is this still true? I know that jtulach(one of the netbeans
 guys) has his own equinox(like?) framework called Netbinox
 for usage in netbeans so you might want to get in contact
 with him for details. I haven't followed Netbeans in years
 but if you point to concrete problem I'll take a look.
 
The problem was not with Equinox per se, but with the version
shipped with Fedora. I needed to write some patches to be able
to build NetBeans against the newest version of Equinox. The
component which needs the patch is Netbinox.
   
   Are you saying that Netbinox builds with equinox downloaded from
   eclipse.org but not with the one from our rpms?
   
  With version, i meant release version of Equinox, not the
  eclipse.com version vs. Packaged version of Fedora. The problem is,
  that Netbinox is intended to be built with Equinox 3.8.0, but
  Fedora ships Equinox 3.9.0, which causes complication errors.
 
 This is something that must be handled at Netbinox site, Fedora
 project aims at shipping latest versions of software so Netbinox need
 to be fixed to compile/work with Equinox 3.9. Not to mention that
 Equinox 3.8 is no longer supported upstream so shipping it makes no
 sense.

So in that situation the way a packager handles that situation is to
tell upstream (NetBeans in that case) to fix the incompatibility?

I just chose the way to fix it myself, since the previous maintainer of
the netbeans packages also did it that way and I just adopted the spec
files.

The point with NetBeans is, that it does not only concern Equinox, but
also some other libraries, which are shipped by Fedora in newer
versions than NetBeans requires them.

Manuel
 
 Alexander Kurtakov
 Red Hat Eclipse team
 
  
  One problem is for example, that the constructor of
  org.eclipse.osgi.baseadaptor.bundlefile.DirBundleFile takes
  different arguments in Equinox 3.8.0 and 3.9.0.
  
  Manuel
   
   Alexander Kurtakov
   Red Hat Eclipse team
   

Manuel

 
 Alexander Kurtakov
 Red Hat Eclipse team
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
  
  --
  devel mailing list
  devel@lists.fedoraproject.org
  https://admin.fedoraproject.org/mailman/listinfo/devel
  Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-17 Thread Aleksandar Kurtakov
- Original Message -
 From: Manuel Faux manuel.f...@conf.at
 To: devel@lists.fedoraproject.org
 Sent: Sunday, November 17, 2013 3:33:40 PM
 Subject: Re: OSGi 5 Implementation
 
 On Sun, 17 Nov 2013 07:58:48 -0500
 Aleksandar Kurtakov akurt...@redhat.com wrote:
 
  - Original Message -
   From: Manuel Faux manuel.f...@conf.at
   To: devel@lists.fedoraproject.org
   Sent: Sunday, November 17, 2013 2:40:25 PM
   Subject: Re: OSGi 5 Implementation
   
   On Sun, 17 Nov 2013 04:39:06 -0500
   Aleksandar Kurtakov akurt...@redhat.com wrote:
   
- Original Message -
 From: Manuel Faux manuel.f...@conf.at
 To: devel@lists.fedoraproject.org
 Sent: Sunday, November 17, 2013 10:50:33 AM
 Subject: Re: OSGi 5 Implementation
 
 On Sat, 16 Nov 2013 02:46:51 -0500
 Aleksandar Kurtakov akurt...@redhat.com wrote:
 
   
   I didn't see that Equinox satisfies the OSGi 5 part, since I
   didn't use this package anymore, as soon I recognized that
   NetBeans does not build with it.
  
  Is this still true? I know that jtulach(one of the netbeans
  guys) has his own equinox(like?) framework called Netbinox
  for usage in netbeans so you might want to get in contact
  with him for details. I haven't followed Netbeans in years
  but if you point to concrete problem I'll take a look.
  
 The problem was not with Equinox per se, but with the version
 shipped with Fedora. I needed to write some patches to be able
 to build NetBeans against the newest version of Equinox. The
 component which needs the patch is Netbinox.

Are you saying that Netbinox builds with equinox downloaded from
eclipse.org but not with the one from our rpms?

   With version, i meant release version of Equinox, not the
   eclipse.com version vs. Packaged version of Fedora. The problem is,
   that Netbinox is intended to be built with Equinox 3.8.0, but
   Fedora ships Equinox 3.9.0, which causes complication errors.
  
  This is something that must be handled at Netbinox site, Fedora
  project aims at shipping latest versions of software so Netbinox need
  to be fixed to compile/work with Equinox 3.9. Not to mention that
  Equinox 3.8 is no longer supported upstream so shipping it makes no
  sense.
 
 So in that situation the way a packager handles that situation is to
 tell upstream (NetBeans in that case) to fix the incompatibility?
 
 I just chose the way to fix it myself, since the previous maintainer of
 the netbeans packages also did it that way and I just adopted the spec
 files.

Both, the mission of Fedora is to advance the whole ecosystem, as such it's 
hard for many upstreams to keep pace that's why Fedora maintainers fix 
incompatibilities with newer version and sends the patch upstream for inclusion 
in order to ease packaging in the future.
See https://fedoraproject.org/wiki/Staying_close_to_upstream_projects which 
contains this information in detailed form.

Regards,
Alexander Kurtakov
Red Hat Eclipse team

 
 The point with NetBeans is, that it does not only concern Equinox, but
 also some other libraries, which are shipped by Fedora in newer
 versions than NetBeans requires them.
 
 Manuel
  
  Alexander Kurtakov
  Red Hat Eclipse team
  
   
   One problem is for example, that the constructor of
   org.eclipse.osgi.baseadaptor.bundlefile.DirBundleFile takes
   different arguments in Equinox 3.8.0 and 3.9.0.
   
   Manuel

Alexander Kurtakov
Red Hat Eclipse team

 
 Manuel
 
  
  Alexander Kurtakov
  Red Hat Eclipse team
 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
   
   --
   devel mailing list
   devel@lists.fedoraproject.org
   https://admin.fedoraproject.org/mailman/listinfo/devel
   Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
 
 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-15 Thread Kevin Kofler
Manuel Faux wrote:
 Thanks, the current eclipse-equinox-osgi package works as OGSi 5
 dependency, but unfortunately it does NOT work as OSGi 4 dependency.
 Building fails with some Java errors when I use the current equinox
 package (which provides org.eclipse.osgi_3.9.1.v20131014-1715.jar).

Does eclipse-equinox-osgi need separate builds or even versions for OSGi 4 
and 5? (I ask because this appears to be the case for Knopflerfish according 
to its site. http://www.eclipse.org/equinox/ doesn't mention OSGi 5 at all.)

Kevin Kofler

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-15 Thread Aleksandar Kurtakov



- Original Message -
 From: Kevin Kofler kevin.kof...@chello.at
 To: devel@lists.fedoraproject.org
 Sent: Saturday, November 16, 2013 12:46:40 AM
 Subject: Re: OSGi 5 Implementation
 
 Manuel Faux wrote:
  Thanks, the current eclipse-equinox-osgi package works as OGSi 5
  dependency, but unfortunately it does NOT work as OSGi 4 dependency.
  Building fails with some Java errors when I use the current equinox
  package (which provides org.eclipse.osgi_3.9.1.v20131014-1715.jar).
 
 Does eclipse-equinox-osgi need separate builds or even versions for OSGi 4
 and 5? (I ask because this appears to be the case for Knopflerfish according
 to its site. http://www.eclipse.org/equinox/ doesn't mention OSGi 5 at all.)

No, it is OSGi 5 by default. What you see on this page is pure leftover from 
the past, I opened a bug about it [1].
On another page http://projects.eclipse.org/projects/rt.equinox it's correctly 
written as OSGi 5.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=421887

Alexander Kurtakov

 
 Kevin Kofler
 
 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-15 Thread Aleksandar Kurtakov
- Original Message -
 From: Manuel Faux manuel.f...@conf.at
 To: devel@lists.fedoraproject.org
 Sent: Monday, November 11, 2013 7:08:53 PM
 Subject: Re: OSGi 5 Implementation
 
 On Mon, 11 Nov 2013 09:45:07 -0500
 Aleksandar Kurtakov akurt...@redhat.com wrote:
 
  I join late to the discussion but Equinox is the reference
  implementation for OSGi R5. What are the problems trying to use
  eclipse-equinox ?
 Thanks, the current eclipse-equinox-osgi package works as OGSi 5
 dependency, but unfortunately it does NOT work as OSGi 4 dependency.
 Building fails with some Java errors when I use the current equinox
 package (which provides org.eclipse.osgi_3.9.1.v20131014-1715.jar).
Equinox is R5 implementation and new major version always introduce 
incompatibilities so this is not surprising at all. It might be worth the 
effort to port to R5.

 
 I didn't see that Equinox satisfies the OSGi 5 part, since I didn't use
 this package anymore, as soon I recognized that NetBeans does not build
 with it.

Is this still true? I know that jtulach(one of the netbeans guys) has his own 
equinox(like?) framework called Netbinox for usage in netbeans so you might 
want to get in contact with him for details. I haven't followed Netbeans in 
years but if you point to concrete problem I'll take a look.


Alexander Kurtakov
Red Hat Eclipse team
 
 Manuel
  
  http://projects.eclipse.org/projects/rt.equinox
  
  Alexander Kurtakov
  Red Hat Eclipse team
  
  - Original Message -
   From: Manuel Faux manuel.f...@conf.at
   To: devel@lists.fedoraproject.org
   Sent: Monday, November 11, 2013 4:31:31 PM
   Subject: Re: OSGi 5 Implementation
   
   On Mon, 11 Nov 2013 12:02:07 +0100
   punto...@libero.it punto...@libero.it wrote:
   
Il 11/11/2013 11:35, Manuel Faux ha scritto:
 On Mon, 11 Nov 2013 11:07:55 +0100
 punto...@libero.it punto...@libero.it wrote:

 Il 11/11/2013 10:53, Mikolaj Izdebski ha scritto:
 On 11/09/2013 03:25 PM, Manuel Faux wrote:
 I'm trying to build NetBeans 7.4 under Fedora, which
 requires an OSGi 5 specification. NetBeans originally ships
 the OSGi Alliance's specification, whose license is not
 compatible with Fedora, as far as I know
 (http://www.osgi.org/Download/Release5?info=nothanks).
 This license is clearly non-free.
 The strange thing is, that the pre-download information (the
 link above) shows a quite restrictive license, but when you
 actually download the file, the LICENSE file in the jar file
 mentions Apache License 2.0.

 Is there any OSGi 5 implementation already in Fedora's repos
 I can use for that purpose? All packages I checked so far
 only support OSGi 4 (Eclipse Equinox, JBoss OSGi, Apache
 Felix).
 Not that I know.

 I found Knopflerfish, which is a OSGi 5 platform licensed
 under BSD license, which would be compatible to Fedora
 (http://www.knopflerfish.org/). Unfortunately this package
 does not yet exist for Fedora. Building this package, would
 be kind of a plan B.
 Knopflerfish depends on code from OSGi Alliance [1], so if
 that code is non-free then packaging Knopflerfish itself
 won't solve the problem.
 the main knopflerfish module no, maybe other sub-modules,
 depend on ee.minimum.jar
 I'm not so deep into OSGi frameworks, but basically we just
 need the framework, not even the complete service platform. To
 build this framework, the ee.minimum.jar is required. Is this
 the critical part
the only build dep required for build this framework is
objectweb-asm 3.x (the rest of the build deps are listed as
comment in my spec file
https://bugzilla.redhat.com/show_bug.cgi?id=874472) before do
this assertion should be require to know what you are talking
about...
   My bad, the build.xml [2] of the Knopflerfish 5.0.0 framework
   mentions ee.minimum.jar, even it is not necessarily required (only
   as an extension for JDK  7).
but i think i don't want upgrade K to 5.0.0 (OSGi R5 ri/apis,
already built on my system), the previous release are requires
for build an use some https://github.com/ops4j/ libraries (R4 and
R5 are not compatible) i apologized if my comment seem a bit hard
regards
   I think in this case a package of the framework would be sufficient,
   since it has only a few dependencies.
   Any complaints about this?
 depending on OSGi Alliance licensed code? If yes, how is it ever
 possible to get an OSGi 5 framework into a FOSS product?

 [1]
 https://knopflerfish.org/svn/knopflerfish.org/trunk/osgi/ee/ee.minimum.jar

 regards
 Manuel

   
   [2]
   https://www.knopflerfish.org/svn/knopflerfish.org/tags/5.0.0/osgi/framework/build.xml
   
   Manuel
   --
   devel mailing list
   devel@lists.fedoraproject.org
   https://admin.fedoraproject.org/mailman/listinfo/devel
   Fedora Code of Conduct: http://fedoraproject.org/code

Re: OSGi 5 Implementation

2013-11-11 Thread Mikolaj Izdebski
On 11/09/2013 03:25 PM, Manuel Faux wrote:
 I'm trying to build NetBeans 7.4 under Fedora, which requires an OSGi 5
 specification. NetBeans originally ships the OSGi Alliance's
 specification, whose license is not compatible with Fedora, as far as I
 know (http://www.osgi.org/Download/Release5?info=nothanks).

This license is clearly non-free.

 Is there any OSGi 5 implementation already in Fedora's repos I can use
 for that purpose? All packages I checked so far only support OSGi 4
 (Eclipse Equinox, JBoss OSGi, Apache Felix).

Not that I know.

 I found Knopflerfish, which is a OSGi 5 platform licensed under BSD
 license, which would be compatible to Fedora
 (http://www.knopflerfish.org/). Unfortunately this package does not yet
 exist for Fedora. Building this package, would be kind of a plan B.

Knopflerfish depends on code from OSGi Alliance [1], so if that code is
non-free then packaging Knopflerfish itself won't solve the problem.

[1]
https://knopflerfish.org/svn/knopflerfish.org/trunk/osgi/ee/ee.minimum.jar

-- 
Mikolaj Izdebski
IRC: mizdebsk

PS. For Java-related topics you can post to java-devel instead.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-11 Thread punto...@libero.it

Il 11/11/2013 10:53, Mikolaj Izdebski ha scritto:

On 11/09/2013 03:25 PM, Manuel Faux wrote:

I'm trying to build NetBeans 7.4 under Fedora, which requires an OSGi 5
specification. NetBeans originally ships the OSGi Alliance's
specification, whose license is not compatible with Fedora, as far as I
know (http://www.osgi.org/Download/Release5?info=nothanks).

This license is clearly non-free.


Is there any OSGi 5 implementation already in Fedora's repos I can use
for that purpose? All packages I checked so far only support OSGi 4
(Eclipse Equinox, JBoss OSGi, Apache Felix).

Not that I know.


I found Knopflerfish, which is a OSGi 5 platform licensed under BSD
license, which would be compatible to Fedora
(http://www.knopflerfish.org/). Unfortunately this package does not yet
exist for Fedora. Building this package, would be kind of a plan B.

Knopflerfish depends on code from OSGi Alliance [1], so if that code is
non-free then packaging Knopflerfish itself won't solve the problem.
the main knopflerfish module no, maybe other sub-modules, depend on 
ee.minimum.jar

[1]
https://knopflerfish.org/svn/knopflerfish.org/trunk/osgi/ee/ee.minimum.jar


regards
attachment: puntogil.vcf-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-11 Thread Mikolaj Izdebski
On 11/11/2013 11:07 AM, punto...@libero.it wrote:
 Il 11/11/2013 10:53, Mikolaj Izdebski ha scritto:
 On 11/09/2013 03:25 PM, Manuel Faux wrote:
 I found Knopflerfish, which is a OSGi 5 platform licensed under BSD
 license, which would be compatible to Fedora
 (http://www.knopflerfish.org/). Unfortunately this package does not yet
 exist for Fedora. Building this package, would be kind of a plan B.
 Knopflerfish depends on code from OSGi Alliance [1], so if that code is
 non-free then packaging Knopflerfish itself won't solve the problem.
 the main knopflerfish module no, maybe other sub-modules, depend on
 ee.minimum.jar

That's possible.  I didn't go into details.

-- 
Mikolaj Izdebski
IRC: mizdebsk
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-11 Thread Manuel Faux
On Mon, 11 Nov 2013 11:07:55 +0100
punto...@libero.it punto...@libero.it wrote:

 Il 11/11/2013 10:53, Mikolaj Izdebski ha scritto:
  On 11/09/2013 03:25 PM, Manuel Faux wrote:
  I'm trying to build NetBeans 7.4 under Fedora, which requires an
  OSGi 5 specification. NetBeans originally ships the OSGi Alliance's
  specification, whose license is not compatible with Fedora, as far
  as I know (http://www.osgi.org/Download/Release5?info=nothanks).
  This license is clearly non-free.
The strange thing is, that the pre-download information (the link
above) shows a quite restrictive license, but when you actually
download the file, the LICENSE file in the jar file mentions Apache
License 2.0.

 
  Is there any OSGi 5 implementation already in Fedora's repos I can
  use for that purpose? All packages I checked so far only support
  OSGi 4 (Eclipse Equinox, JBoss OSGi, Apache Felix).
  Not that I know.
 
  I found Knopflerfish, which is a OSGi 5 platform licensed under BSD
  license, which would be compatible to Fedora
  (http://www.knopflerfish.org/). Unfortunately this package does
  not yet exist for Fedora. Building this package, would be kind of
  a plan B.
  Knopflerfish depends on code from OSGi Alliance [1], so if that
  code is non-free then packaging Knopflerfish itself won't solve the
  problem.
 the main knopflerfish module no, maybe other sub-modules, depend on 
 ee.minimum.jar
I'm not so deep into OSGi frameworks, but basically we just need the
framework, not even the complete service platform. To build this
framework, the ee.minimum.jar is required. Is this the critical part
depending on OSGi Alliance licensed code? If yes, how is it ever
possible to get an OSGi 5 framework into a FOSS product?

  [1]
  https://knopflerfish.org/svn/knopflerfish.org/trunk/osgi/ee/ee.minimum.jar
 
 regards

Manuel
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-11 Thread punto...@libero.it

Il 11/11/2013 11:35, Manuel Faux ha scritto:

On Mon, 11 Nov 2013 11:07:55 +0100
punto...@libero.it punto...@libero.it wrote:


Il 11/11/2013 10:53, Mikolaj Izdebski ha scritto:

On 11/09/2013 03:25 PM, Manuel Faux wrote:

I'm trying to build NetBeans 7.4 under Fedora, which requires an
OSGi 5 specification. NetBeans originally ships the OSGi Alliance's
specification, whose license is not compatible with Fedora, as far
as I know (http://www.osgi.org/Download/Release5?info=nothanks).

This license is clearly non-free.

The strange thing is, that the pre-download information (the link
above) shows a quite restrictive license, but when you actually
download the file, the LICENSE file in the jar file mentions Apache
License 2.0.


Is there any OSGi 5 implementation already in Fedora's repos I can
use for that purpose? All packages I checked so far only support
OSGi 4 (Eclipse Equinox, JBoss OSGi, Apache Felix).

Not that I know.


I found Knopflerfish, which is a OSGi 5 platform licensed under BSD
license, which would be compatible to Fedora
(http://www.knopflerfish.org/). Unfortunately this package does
not yet exist for Fedora. Building this package, would be kind of
a plan B.

Knopflerfish depends on code from OSGi Alliance [1], so if that
code is non-free then packaging Knopflerfish itself won't solve the
problem.

the main knopflerfish module no, maybe other sub-modules, depend on
ee.minimum.jar

I'm not so deep into OSGi frameworks, but basically we just need the
framework, not even the complete service platform. To build this
framework, the ee.minimum.jar is required. Is this the critical part

the only build dep required for build this framework is objectweb-asm 3.x
(the rest of the build deps are listed as comment in my spec file 
https://bugzilla.redhat.com/show_bug.cgi?id=874472)
before do this assertion should be require to know what you are talking 
about...
but i think i don't want upgrade K to 5.0.0 (OSGi R5 ri/apis, already 
built on my system), the previous release are requires for build an use 
some https://github.com/ops4j/ libraries (R4 and R5 are not compatible)

i apologized if my comment seem a bit hard
regards

depending on OSGi Alliance licensed code? If yes, how is it ever
possible to get an OSGi 5 framework into a FOSS product?


[1]
https://knopflerfish.org/svn/knopflerfish.org/trunk/osgi/ee/ee.minimum.jar


regards

Manuel


attachment: puntogil.vcf-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-11 Thread Manuel Faux
On Mon, 11 Nov 2013 12:02:07 +0100
punto...@libero.it punto...@libero.it wrote:

 Il 11/11/2013 11:35, Manuel Faux ha scritto:
  On Mon, 11 Nov 2013 11:07:55 +0100
  punto...@libero.it punto...@libero.it wrote:
 
  Il 11/11/2013 10:53, Mikolaj Izdebski ha scritto:
  On 11/09/2013 03:25 PM, Manuel Faux wrote:
  I'm trying to build NetBeans 7.4 under Fedora, which requires an
  OSGi 5 specification. NetBeans originally ships the OSGi
  Alliance's specification, whose license is not compatible with
  Fedora, as far as I know
  (http://www.osgi.org/Download/Release5?info=nothanks).
  This license is clearly non-free.
  The strange thing is, that the pre-download information (the link
  above) shows a quite restrictive license, but when you actually
  download the file, the LICENSE file in the jar file mentions Apache
  License 2.0.
 
  Is there any OSGi 5 implementation already in Fedora's repos I
  can use for that purpose? All packages I checked so far only
  support OSGi 4 (Eclipse Equinox, JBoss OSGi, Apache Felix).
  Not that I know.
 
  I found Knopflerfish, which is a OSGi 5 platform licensed under
  BSD license, which would be compatible to Fedora
  (http://www.knopflerfish.org/). Unfortunately this package does
  not yet exist for Fedora. Building this package, would be kind of
  a plan B.
  Knopflerfish depends on code from OSGi Alliance [1], so if that
  code is non-free then packaging Knopflerfish itself won't solve
  the problem.
  the main knopflerfish module no, maybe other sub-modules, depend on
  ee.minimum.jar
  I'm not so deep into OSGi frameworks, but basically we just need the
  framework, not even the complete service platform. To build this
  framework, the ee.minimum.jar is required. Is this the critical part
 the only build dep required for build this framework is objectweb-asm
 3.x (the rest of the build deps are listed as comment in my spec file 
 https://bugzilla.redhat.com/show_bug.cgi?id=874472)
 before do this assertion should be require to know what you are
 talking about...
My bad, the build.xml [2] of the Knopflerfish 5.0.0 framework mentions
ee.minimum.jar, even it is not necessarily required (only as an
extension for JDK  7).
 but i think i don't want upgrade K to 5.0.0 (OSGi R5 ri/apis, already 
 built on my system), the previous release are requires for build an
 use some https://github.com/ops4j/ libraries (R4 and R5 are not
 compatible) i apologized if my comment seem a bit hard
 regards
I think in this case a package of the framework would be sufficient,
since it has only a few dependencies.
Any complaints about this?
  depending on OSGi Alliance licensed code? If yes, how is it ever
  possible to get an OSGi 5 framework into a FOSS product?
 
  [1]
  https://knopflerfish.org/svn/knopflerfish.org/trunk/osgi/ee/ee.minimum.jar
 
  regards
  Manuel
 

[2]
https://www.knopflerfish.org/svn/knopflerfish.org/tags/5.0.0/osgi/framework/build.xml

Manuel
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-11 Thread Aleksandar Kurtakov
I join late to the discussion but Equinox is the reference implementation for 
OSGi R5. What are the problems trying to use eclipse-equinox ?

http://projects.eclipse.org/projects/rt.equinox

Alexander Kurtakov
Red Hat Eclipse team

- Original Message -
 From: Manuel Faux manuel.f...@conf.at
 To: devel@lists.fedoraproject.org
 Sent: Monday, November 11, 2013 4:31:31 PM
 Subject: Re: OSGi 5 Implementation
 
 On Mon, 11 Nov 2013 12:02:07 +0100
 punto...@libero.it punto...@libero.it wrote:
 
  Il 11/11/2013 11:35, Manuel Faux ha scritto:
   On Mon, 11 Nov 2013 11:07:55 +0100
   punto...@libero.it punto...@libero.it wrote:
  
   Il 11/11/2013 10:53, Mikolaj Izdebski ha scritto:
   On 11/09/2013 03:25 PM, Manuel Faux wrote:
   I'm trying to build NetBeans 7.4 under Fedora, which requires an
   OSGi 5 specification. NetBeans originally ships the OSGi
   Alliance's specification, whose license is not compatible with
   Fedora, as far as I know
   (http://www.osgi.org/Download/Release5?info=nothanks).
   This license is clearly non-free.
   The strange thing is, that the pre-download information (the link
   above) shows a quite restrictive license, but when you actually
   download the file, the LICENSE file in the jar file mentions Apache
   License 2.0.
  
   Is there any OSGi 5 implementation already in Fedora's repos I
   can use for that purpose? All packages I checked so far only
   support OSGi 4 (Eclipse Equinox, JBoss OSGi, Apache Felix).
   Not that I know.
  
   I found Knopflerfish, which is a OSGi 5 platform licensed under
   BSD license, which would be compatible to Fedora
   (http://www.knopflerfish.org/). Unfortunately this package does
   not yet exist for Fedora. Building this package, would be kind of
   a plan B.
   Knopflerfish depends on code from OSGi Alliance [1], so if that
   code is non-free then packaging Knopflerfish itself won't solve
   the problem.
   the main knopflerfish module no, maybe other sub-modules, depend on
   ee.minimum.jar
   I'm not so deep into OSGi frameworks, but basically we just need the
   framework, not even the complete service platform. To build this
   framework, the ee.minimum.jar is required. Is this the critical part
  the only build dep required for build this framework is objectweb-asm
  3.x (the rest of the build deps are listed as comment in my spec file
  https://bugzilla.redhat.com/show_bug.cgi?id=874472)
  before do this assertion should be require to know what you are
  talking about...
 My bad, the build.xml [2] of the Knopflerfish 5.0.0 framework mentions
 ee.minimum.jar, even it is not necessarily required (only as an
 extension for JDK  7).
  but i think i don't want upgrade K to 5.0.0 (OSGi R5 ri/apis, already
  built on my system), the previous release are requires for build an
  use some https://github.com/ops4j/ libraries (R4 and R5 are not
  compatible) i apologized if my comment seem a bit hard
  regards
 I think in this case a package of the framework would be sufficient,
 since it has only a few dependencies.
 Any complaints about this?
   depending on OSGi Alliance licensed code? If yes, how is it ever
   possible to get an OSGi 5 framework into a FOSS product?
  
   [1]
   https://knopflerfish.org/svn/knopflerfish.org/trunk/osgi/ee/ee.minimum.jar
  
   regards
   Manuel
  
 
 [2]
 https://www.knopflerfish.org/svn/knopflerfish.org/tags/5.0.0/osgi/framework/build.xml
 
 Manuel
 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-11 Thread Manuel Faux
On Mon, 11 Nov 2013 09:45:07 -0500
Aleksandar Kurtakov akurt...@redhat.com wrote:

 I join late to the discussion but Equinox is the reference
 implementation for OSGi R5. What are the problems trying to use
 eclipse-equinox ?
Thanks, the current eclipse-equinox-osgi package works as OGSi 5
dependency, but unfortunately it does NOT work as OSGi 4 dependency.
Building fails with some Java errors when I use the current equinox
package (which provides org.eclipse.osgi_3.9.1.v20131014-1715.jar).

I didn't see that Equinox satisfies the OSGi 5 part, since I didn't use
this package anymore, as soon I recognized that NetBeans does not build
with it.

Manuel
 
 http://projects.eclipse.org/projects/rt.equinox
 
 Alexander Kurtakov
 Red Hat Eclipse team
 
 - Original Message -
  From: Manuel Faux manuel.f...@conf.at
  To: devel@lists.fedoraproject.org
  Sent: Monday, November 11, 2013 4:31:31 PM
  Subject: Re: OSGi 5 Implementation
  
  On Mon, 11 Nov 2013 12:02:07 +0100
  punto...@libero.it punto...@libero.it wrote:
  
   Il 11/11/2013 11:35, Manuel Faux ha scritto:
On Mon, 11 Nov 2013 11:07:55 +0100
punto...@libero.it punto...@libero.it wrote:
   
Il 11/11/2013 10:53, Mikolaj Izdebski ha scritto:
On 11/09/2013 03:25 PM, Manuel Faux wrote:
I'm trying to build NetBeans 7.4 under Fedora, which
requires an OSGi 5 specification. NetBeans originally ships
the OSGi Alliance's specification, whose license is not
compatible with Fedora, as far as I know
(http://www.osgi.org/Download/Release5?info=nothanks).
This license is clearly non-free.
The strange thing is, that the pre-download information (the
link above) shows a quite restrictive license, but when you
actually download the file, the LICENSE file in the jar file
mentions Apache License 2.0.
   
Is there any OSGi 5 implementation already in Fedora's repos
I can use for that purpose? All packages I checked so far
only support OSGi 4 (Eclipse Equinox, JBoss OSGi, Apache
Felix).
Not that I know.
   
I found Knopflerfish, which is a OSGi 5 platform licensed
under BSD license, which would be compatible to Fedora
(http://www.knopflerfish.org/). Unfortunately this package
does not yet exist for Fedora. Building this package, would
be kind of a plan B.
Knopflerfish depends on code from OSGi Alliance [1], so if
that code is non-free then packaging Knopflerfish itself
won't solve the problem.
the main knopflerfish module no, maybe other sub-modules,
depend on ee.minimum.jar
I'm not so deep into OSGi frameworks, but basically we just
need the framework, not even the complete service platform. To
build this framework, the ee.minimum.jar is required. Is this
the critical part
   the only build dep required for build this framework is
   objectweb-asm 3.x (the rest of the build deps are listed as
   comment in my spec file
   https://bugzilla.redhat.com/show_bug.cgi?id=874472) before do
   this assertion should be require to know what you are talking
   about...
  My bad, the build.xml [2] of the Knopflerfish 5.0.0 framework
  mentions ee.minimum.jar, even it is not necessarily required (only
  as an extension for JDK  7).
   but i think i don't want upgrade K to 5.0.0 (OSGi R5 ri/apis,
   already built on my system), the previous release are requires
   for build an use some https://github.com/ops4j/ libraries (R4 and
   R5 are not compatible) i apologized if my comment seem a bit hard
   regards
  I think in this case a package of the framework would be sufficient,
  since it has only a few dependencies.
  Any complaints about this?
depending on OSGi Alliance licensed code? If yes, how is it ever
possible to get an OSGi 5 framework into a FOSS product?
   
[1]
https://knopflerfish.org/svn/knopflerfish.org/trunk/osgi/ee/ee.minimum.jar
   
regards
Manuel
   
  
  [2]
  https://www.knopflerfish.org/svn/knopflerfish.org/tags/5.0.0/osgi/framework/build.xml
  
  Manuel
  --
  devel mailing list
  devel@lists.fedoraproject.org
  https://admin.fedoraproject.org/mailman/listinfo/devel
  Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

OSGi 5 Implementation

2013-11-09 Thread Manuel Faux
I'm trying to build NetBeans 7.4 under Fedora, which requires an OSGi 5
specification. NetBeans originally ships the OSGi Alliance's
specification, whose license is not compatible with Fedora, as far as I
know (http://www.osgi.org/Download/Release5?info=nothanks).

Is there any OSGi 5 implementation already in Fedora's repos I can use
for that purpose? All packages I checked so far only support OSGi 4
(Eclipse Equinox, JBoss OSGi, Apache Felix).

I found Knopflerfish, which is a OSGi 5 platform licensed under BSD
license, which would be compatible to Fedora
(http://www.knopflerfish.org/). Unfortunately this package does not yet
exist for Fedora. Building this package, would be kind of a plan B.


Manuel
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-09 Thread punto...@libero.it

Il 09/11/2013 15:25, Manuel Faux ha scritto:

I'm trying to build NetBeans 7.4 under Fedora, which requires an OSGi 5
specification. NetBeans originally ships the OSGi Alliance's
specification, whose license is not compatible with Fedora, as far as I
know (http://www.osgi.org/Download/Release5?info=nothanks).

Is there any OSGi 5 implementation already in Fedora's repos I can use
for that purpose? All packages I checked so far only support OSGi 4
(Eclipse Equinox, JBoss OSGi, Apache Felix).

try with eclipse-equinox-osgi package
pushd libs.osgi/external
  %lnSys %{_javadir}/eclipse/osgi.jar osgi.core-4.3.jar
  %lnSys %{_javadir}/eclipse/osgi.services.jar osgi.cmpn-4.2.jar
popd

I found Knopflerfish, which is a OSGi 5 platform licensed under BSD
license, which would be compatible to Fedora
(http://www.knopflerfish.org/). Unfortunately this package does not yet
exist for Fedora. Building this package, would be kind of a plan B.

see https://bugzilla.redhat.com/show_bug.cgi?id=874472 (should be updated)


Manuel

regards
gil
attachment: puntogil.vcf-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: OSGi 5 Implementation

2013-11-09 Thread Manuel Faux
On Sat, 9 Nov 2013 23:04:17 +0100
punto...@libero.it punto...@libero.it wrote:

 Il 09/11/2013 15:25, Manuel Faux ha scritto:
  I'm trying to build NetBeans 7.4 under Fedora, which requires an
  OSGi 5 specification. NetBeans originally ships the OSGi Alliance's
  specification, whose license is not compatible with Fedora, as far
  as I know (http://www.osgi.org/Download/Release5?info=nothanks).
 
  Is there any OSGi 5 implementation already in Fedora's repos I can
  use for that purpose? All packages I checked so far only support
  OSGi 4 (Eclipse Equinox, JBoss OSGi, Apache Felix).
 try with eclipse-equinox-osgi package
 pushd libs.osgi/external
%lnSys %{_javadir}/eclipse/osgi.jar osgi.core-4.3.jar
%lnSys %{_javadir}/eclipse/osgi.services.jar osgi.cmpn-4.2.jar
 popd
Unfortunately Equinox only support OSGi 4, NB 7.4 requires Eclipse
Equinox for OSGi 4 and also an OSGi 5 implementation.

  I found Knopflerfish, which is a OSGi 5 platform licensed under BSD
  license, which would be compatible to Fedora
  (http://www.knopflerfish.org/). Unfortunately this package does not
  yet exist for Fedora. Building this package, would be kind of a
  plan B.
 see https://bugzilla.redhat.com/show_bug.cgi?id=874472 (should be
 updated)
I saw this already, but I would like to avoid having another
dependency, for NB, if there would be an existing OGSi 5 package,
therefor just plan B.

 
  Manuel
 regards
 gil

Manuel
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct