[equinox-dev] Weekly development meeting details

2008-01-25 Thread John Arthorne
We have a new number for the weekly equinox development meeting, see the wiki for details: http://wiki.eclipse.org/Equinox_Meeting_Minutes#Call-in_Information All contributors/committers interested in helping with the development of Equinox are welcome to join. - ___

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread Thomas Watson
Mark, I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=216648 for you. I tried to CC you to the bug but I noticed you did not seem to have a bugzilla e-mail, unless you use a different e-mail for bugzilla than the one you use to post to equinox-dev. Tom

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread Mark
:( I'll file a report - one other solution pointed out was to seperate interface (api) from the impl and the client. So I guess I should create A, B, and C (A)pi, Impl-(B)undle, and (C)lient Regards osgi> ss Framework is launched. idState Bundle 0ACTIVE org.eclipse.osgi_3.3

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread Thomas Watson
Matt, please open a bug against Equinox->Framework. I have reproduced, it appears to be related to lazy activation. If you remove the Eclipse-LazyStart header from Bundle A then it works. This is an interesting corner case we may need to get a clarification from OSGi on. I assume the old conte

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread BJ Hargrave
But you should not have to refresh. That is the whole point of importing the package which is exported. So that A' can import it from A which is where B imports it from. I think the IllegalStateException is is a bug in Equinox. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread BJ Hargrave
That seems to be a bug in Equinox. You may wish to file a bug report. For giggles, try update 1 without stopping it first. The update operation will automatically stop and restart the updated bundle. Note: in order for import and exporting the package to work here, the exported package in A' mu

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread Mark
I see - It's in an IllegalState until you refresh On 25/01/2008, Mark <[EMAIL PROTECTED]> wrote: > > Try adding: > > Import-Package: bundlea.service > > to the Bundle A manifest. > > = > I just tried the suggestion above - but it blows up? >

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread Mark
Try adding: Import-Package: bundlea.service to the Bundle A manifest. = I just tried the suggestion above - but it blows up? Framework is launched. idState Bundle 0ACTIVE org.eclipse.osgi_3.3.1.R33x_v20070828 1ACTIV

[equinox-dev] Declarative services bug?

2008-01-25 Thread Chris Hopkins
Hi - I think I may have run into a bug with the declarative services implementation (we're currently using org.eclipse.equinox.ds_0.1.0.v20071022.jar). If I have a .jar on the bundle classpath of my bundle and try to access the classes stored in that .jar while DS is creating my service declare

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread Mark
Thanks. So that's expected behaviour - and all makes sense. Regards Mark On 25/01/2008, Jeremy Volkman <[EMAIL PROTECTED]> wrote: > > Mark, > > Since your service interface (IA.java) is contained within bundleA, > bundleB requires a package import from bundleA. The effect that > you're seeing

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread BJ Hargrave
Try adding: Import-Package: bundlea.service to the Bundle A manifest. Then when bundle A is updated to A', A' will import the package from A which is where bundle B is importing it. So bundle B can "see" the service from A' since it implements the interface from A. (This follows from Tom Watso

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread Richard S. Hall
Which is the prime reason why you should also import your service package in A, so that it can wire to other providers if they are available. -> richard Jeremy Volkman wrote: Mark, Since your service interface (IA.java) is contained within bundleA, bundleB requires a package import from bundl

Re: [equinox-dev] [prov] Download manager support for pack200

2008-01-25 Thread Andrew Niefer
I was thinking a new separate classloader containing just the Pack200 classes. We would still want to delegate to the bootclassloader for everything else. However, I doubt the Pack200 classes are by themselves in their own jar that we could just create a URLClassloader for. This was really ju

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread Jeremy Volkman
Mark, Since your service interface (IA.java) is contained within bundleA, bundleB requires a package import from bundleA. The effect that you're seeing is that the old version of bundleA remains in the system and is still used by bundleB after you call "update". Therefore you now have two instan

Re: [equinox-dev] is this a service tracker bug?

2008-01-25 Thread Thomas Watson
Mark, This is because of the pending removal of the old class loader from bundle A which bundle B is still wired to for package bundlea.service. You do not see the new service from bundle B because you would get a ClassCastException. The Framework filters out services that it knows you do not h

Re: [equinox-dev] [prov] Download manager support for pack200

2008-01-25 Thread Thomas Watson
If the Pack200 class is loaded from the VM then it will fall under the boot class loader. There is no way we can throw that class loader away. Are you suggesting that we could somehow load this class from an isolated class loader that is not connected to the boot class loader? Tom

Re: [equinox-dev] [prov] Download manager support for pack200

2008-01-25 Thread Andrew Niefer
As Pascal mentioned, when we first started experimenting with Pack200 we had memory problems. It seemed that Pack200's internal data was static and not cleared between each jar that was packed. So once we had packed a reasonable number of jars we started running out of memory. It could be tha

Re: [equinox-dev] [prov] Download manager support for pack200

2008-01-25 Thread Pascal Rapicault
Also, when we started packing we have had notices memory leakage problems when we were using pack200 through the Java API. |> | From: | |> >-

Re: [equinox-dev] Tom Watson: Equinox co-lead

2008-01-25 Thread Peter Kriens
Well deserved! Kind regards, Peter Kriens On 24 jan 2008, at 05:36, Jeff McAffer wrote: Recently I was reviewing the Equinox project, the direction and the community around it. One of the things that stood out for me is that Tom Watson has been quietly leading vast swaths of the

Re: [equinox-dev] Equinox with OSGi security?

2008-01-25 Thread Marcel Offermans
Hello Thomas, Thanks a lot, now it works! Greetings, Marcel On Jan 24, 2008, at 19:09 , Thomas Watson wrote: The eclipse.security is only used by the org.eclipse.equinox.launcher jar. The eclipse.security option is used by the launcher bootstrap code to indicate that it should setup a pol