Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] ClassNotFoundException with, org.eclipse.osgi_3.3.0.v20070530

Oh, I forgot to mention that calculating uses has been part of the organize manifest functionality in 3.3. Check out the new and noteworthy for PDE (5th item down):
http://archive.eclipse.org/eclipse/downloads/drops/S-3.3M5-200702091006/eclipse-news-M5.html

Cheers,

---
Chris Aniszczyk | IBM Lotus | Eclipse Committer | http://mea-bloga.blogspot.com | +1.860.839.2465

Inactive hide details for "Karl Pauls" ---09/19/2007 04:36:29 PM---> Fair enough, we have a button to calculate uses just for y"Karl Pauls" ---09/19/2007 04:36:29 PM---> Fair enough, we have a button to calculate uses just for you now ;) Great. I always wanted a bu


From:

"Karl Pauls" <karlpauls@xxxxxxxxx>

To:

"Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>

Date:

09/19/2007 04:36 PM

Subject:

Re: [equinox-dev] ClassNotFoundException with, org.eclipse.osgi_3.3.0.v20070530




> Fair enough, we have a button to calculate uses just for you now ;)

Great. I always wanted a button named after me in eclipse. Make it "do
the Karl thing" as label :-)

>  We always take feature enhancements to make your life easier within PDE. We
> don't bite:
>  
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDE

Well, the problem is that this would not be a feature enhancement it
would be a bug report. The tool generates incorrect meta-data. You
might not bite but your users may end-up with ClassCastExceptions
because the tool doesn't constrain the export packages correctly and
thus Class space consistency can not be ensured.

regards,

Karl

>  Cheers,
>
>  ---
>  Chris Aniszczyk | IBM Lotus | Eclipse Committer |
>
http://mea-bloga.blogspot.com | +1.860.839.2465
>
>  "Karl Pauls" ---09/19/2007 01:27:39 PM---> PDE has a Plug-in from Existing
> Jars wizard that does this pretty well. Make > sure to check, "an
>
>
>
>
>  From:
>  "Karl Pauls" <karlpauls@xxxxxxxxx>
>
>  To:
>  "Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>
>
>  Date:
>  09/19/2007 01:27 PM
>
>  Subject:
>  Re: [equinox-dev] ClassNotFoundException with,
> org.eclipse.osgi_3.3.0.v20070530
>  ________________________________
>
>
>
>  > PDE has a Plug-in from Existing Jars wizard that does this pretty well.
> Make
>  > sure to check, "analyze library contents and add dependencies"
>
>  True, but the last time I checked this doesn't calculate the uses
>  constraints for packages. This is rather a short-coming so I'd still
>  recommend to look into BND which does that quite nicely :-)
>
>  BND has some eclipse and ant support and besides, in case you are
>  using maven there is a maven plugin available from Apache Felix that
>  uses BND.
>
>  regards,
>
>  Karl
>
>  >  Cheers,
>  >
>  >  ---
>  >  Chris Aniszczyk | IBM Lotus | Eclipse Committer |
>  >
http://mea-bloga.blogspot.com | +1.860.839.2465
>  >
>  >  "Karl Pauls" ---09/19/2007 12:27:34 PM---You might want to look into
> Peter
>  > Kriens' BND tool which makes it easy to create your bundles and d
>  >
>  >
>  >
>  >  From:
>  >  "Karl Pauls" <karlpauls@xxxxxxxxx>
>  >
>  >  To:
>  >  "Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>
>  >
>  >  Date:
>  >  09/19/2007 12:27 PM
>  >
>  >  Subject:
>  >  Re: [equinox-dev] ClassNotFoundException with,
>  > org.eclipse.osgi_3.3.0.v20070530
>  > ________________________________
>  >
>  >
>  >
>  >
>  >  You might want to look into Peter Kriens' BND tool which makes it easy
>  >  to create your bundles and does calculate your imports for you:
>  >
>  >  
http://www.aqute.biz/Code/Bnd
>  >
>  >  regards,
>  >
>  >  Karl
>  >
>  >  On 9/19/07, Tony Seebregts <tony.seebregts@xxxxxxxxx> wrote:
>  >  > Hi Toni,
>  >  >
>  >  > Thanks for the suggestions - I experimented a bit with your
> suggestions
>  >  > and it seems there are two ways round the problem:
>  >  >
>  >  > - either explicitly include all the required libraries in the
>  >  > dependencies list as you suggested (which can be difficult as many of
>  >  > them only show up at runtime).
>  >  >
>  >  > - or set osgi.java.profile.bootdelegation=override
> (I'm
>  > not too sure of
>  >  > the consequences of this though).
>  >  >
>  >  > Changing the org.osgi.framework.bootdelegation or the
>  >  > osgi.contextClassLoader properties had no effect.
>  >  >
>  >  > regards
>  >  >
>  >  > Tony
>  >  >
>  >  > > Date: Wed, 19 Sep 2007 14:14:56 +0200
>  >  > > From: "Toni Menzel" <tonimenzel@xxxxxx>
>  >  > > Subject: Re: [equinox-dev] ClassNotFoundException with
>  >  > >       org.eclipse.osgi_3.3.0.v20070530
>  >  > > To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
>  >  > > Message-ID: <20070919121456.126800@xxxxxxx>
>  >  > > Content-Type: text/plain; charset="us-ascii"
>  >  > >
>  >  > > Usually you should import everything other than java.*
>  >  > > (so add javax.xml.xpath, javax.crypto to your Import-Package
> directive)
>  >  > > Check your org.osgi.framework.bootdelegation
> property.
>  > Usually equinox delegates everything to the bootclasspath (where javax
>  > resides) for historical reasons. But this behaviour is going to change
> and
>  > might have changed already in 3.3..
>  >  > >
>  >  > > /Toni
>  >  >
>  >  > _______________________________________________
>  >  > equinox-dev mailing list
>  >  > equinox-dev@xxxxxxxxxxx
>  >  >
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>  >  >
>  >
>  >
>  >  --
>  >  Karl Pauls
>  >  karlpauls@xxxxxxxxx
>  >  _______________________________________________
>  >  equinox-dev mailing list
>  >  equinox-dev@xxxxxxxxxxx
>  >  
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>  >
>  >
>  >
>  >
>  > _______________________________________________
>  > equinox-dev mailing list
>  > equinox-dev@xxxxxxxxxxx
>  >
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>  >
>  >
>
>
>  --
>  Karl Pauls
>  karlpauls@xxxxxxxxx
>  _______________________________________________
>  equinox-dev mailing list
>  equinox-dev@xxxxxxxxxxx
>  
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>


--
Karl Pauls
karlpauls@xxxxxxxxx
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

GIF image

GIF image


Back to the top