Re: [equinox-dev] Committer disagreement resolution guidelines

2022-06-21 Thread BJ Hargrave
Most committers are already subscribed to the repo and see all… the messages. So @ mentioning a committer group will not put more email in the committer’s inboxes. They were already going to get the email. -- BJ Hargrave Senior Technical Staff Member, IBM // office: +1 386 848 1781 OSGi Fellow

Re: [equinox-dev] Issue with OSGI Annotations

2022-02-24 Thread BJ Hargrave
You should use maven scope=provided for the org.osgi.service.*.annotations artifacts. They are not meant for runtime use and should not be part of a resolution operation. Don't install them in an OSGi framework. --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow

Re: [equinox-dev] Eclipse Equinox, OSGi specifications and plugin.xml

2021-09-29 Thread BJ Hargrave
If you need to connect to existing Eclipse extension points, such as writing Eclipse plugins which must integrate into the existing Eclipse plugins, then you will probably need to use the Eclipse extension registry model.   If you are doing anything else, use OSGi Services via the OSGi Declarative

Re: [equinox-dev] Should OSGi bundles always export all packages?

2019-12-02 Thread BJ Hargrave
That advice is too broad. A bundle should export the package which are its API. That is, the packages which users of the bundle need access to in order to use the bundle. Packages which are implementation detail should not be exported to properly encapsulate implementation detail. Some bundles

Re: [equinox-dev] In which thread are OSGI services started

2019-09-04 Thread BJ Hargrave
The DS specification says nothing about what thread a DS component's method is invoked upon. It may be someone else's thread or a thread that SCR manages in an executor. But as a component implementer you MUST NOT assume anything about the thread upon which your component's methods are invoked.

Re: [equinox-dev] In which thread are OSGI services started

2019-09-04 Thread BJ Hargrave
It is undefined by the DS specification. SCR is free to use any thread to invoke DS component methods. --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com     - Original message

Re: [equinox-dev] understanding resolving results

2019-06-25 Thread BJ Hargrave
See https://github.com/bndtools/bnd/pull/2867 for how Bnd deals with using Eclipse bundles.   In summary, Bndtools uses Import-Package with bundle-symbolic-name and bundle-version attributes because Eclipse is terrible at managing packages and Require-Bundle is too promiscuous.   --BJ

Re: [equinox-dev] Meta-Type Annotations

2017-04-05 Thread BJ Hargrave
The Metatype annotations are already available on Maven Central/JCenter. Since the annotation classes are not visible/used at runtime, I am curious as to why Eclipse needs to distribute them?   Also, what part of Eclipse will even process the Metatype annotations? Does PDE do that? As far as I

Re: [equinox-dev] Meta-Type Annotations

2017-04-04 Thread BJ Hargrave
It is in that attached jar you mention :-) Look again! --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com     - Original message -From: Peter Nehrer

Re: [equinox-dev] Uses constraint violation: -clean doesn't find solution even though it exists

2017-03-20 Thread BJ Hargrave
Having only one exporter of a package is generally the best way to avoid choice :-)   The import [4.2.1,4.4) seems very odd. Why the upper limit on 4.4? This seems to ignore semantic versioning. I would have expected [4.2,5). Similarly [4.3.3,) is too broad. I would have expected [4.3,5). These

Re: [equinox-dev] Merge of equinox committer groups

2016-03-01 Thread BJ Hargrave
+1   --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com     - Original message -From: Thomas Watson/Austin/IBM@IBMUSSent by: equinox-dev-boun...@eclipse.orgTo: "Equinox development

Re: [equinox-dev] dependency on org.osgi.annotation?

2015-05-08 Thread BJ Hargrave
From: Stephan Herrmann stephan.herrm...@berlin.de On 05/07/2015 05:21 PM, BJ Hargrave wrote: User has an arbitrary plugin project which obviously depends ono.e.osgi. Well I would say that no one should depend upon org.eclipse.osgi. It is an implementation of the OSGi core spec

Re: [equinox-dev] dependency on org.osgi.annotation?

2015-05-08 Thread BJ Hargrave
runtime. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 ___ equinox-dev mailing list equinox-dev@eclipse.org To change your delivery options

Re: [equinox-dev] dependency on org.osgi.annotation?

2015-05-07 Thread BJ Hargrave
of the annotations. Since the tool is not loading the classes (and they are CLASS retention), the tools processes the class file' bytecodes. FYI, the problem occurs when JDT/UI functionality requests the resolved types of methods in the given interface. -- BJ Hargrave Senior Technical

Re: [equinox-dev] dependency on org.osgi.annotation?

2015-05-07 Thread BJ Hargrave
on-the-fly compilation while working on a client project depending on o.e.osgi, which is available as jar + source attachment? How about don't fail when you can't find something just to make hover information? :-) Currently, JDT concludes that the sourceattachment of o.e.osgi is broken. -- BJ

Re: [equinox-dev] Exporting packages without a version

2014-12-11 Thread BJ Hargrave
constraint 2.8.0? No one should use Require-Bundles. It is so messy. But if you require a bundle, you get the package in the actual bundle that is required. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile

Re: [equinox-dev] persistently identify a container

2014-10-30 Thread BJ Hargrave
I think this is in the problem space of RFC 183. https://github.com/osgi/design/raw/master/rfcs/rfc0183/rfc-0183-CloudEcosystems.pdf -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [equinox-dev] fileinstall equinox solution

2014-09-29 Thread BJ Hargrave
Is there a bug/issue with the details? I don't know any details here. What is the concurrency issue with package refresh? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From

Re: [equinox-dev] fileinstall equinox solution

2014-09-29 Thread BJ Hargrave
Stacktrace? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Raymond Auge raymond.a...@liferay.com To: Equinox development mailing list equinox-dev@eclipse.org, Apache

Re: [equinox-dev] fileinstall equinox solution

2014-09-29 Thread BJ Hargrave
Yes. It does appear that you have allowed fileinstaller to become sucked up on the refresh. Is there a reasonable small test case to reproduce and see why fileinstaller is being refreshed? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [equinox-dev] fileinstall equinox solution

2014-09-29 Thread BJ Hargrave
threads to allow an orderly shutdown. There may be a second order issue of why file installer is getting swept up on the refresh. But the first order problem is why wont file installer stop when requested. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi

Re: [equinox-dev] fileinstall equinox solution

2014-09-29 Thread BJ Hargrave
installer is borked. If you can figure out how to not get fail installer swept up on the refresh you can avoid the design flaw in file installer but file installer needs a better locking design. I do not see any issue with Equinox here. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow

Re: [equinox-dev] fileinstall equinox solution

2014-09-29 Thread BJ Hargrave
gogo.command. So if gogo.command is then refreshed, file installer will also be refreshed. And given the bad locking design in file installer, file installer will deadlock. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848

Re: [equinox-dev] Declarative Service and support of TargetPID ?

2014-08-25 Thread BJ Hargrave
I don't believe it does. Support for target PIDs is not even in the DS spec yet. It will be added in the next spec release via RFC 190 [1]. [1] https://github.com/osgi/design/raw/master/rfcs/rfc0190/rfc-0190-Declarative_Services_Enhancements.pdf -- BJ Hargrave Senior Technical Staff Member

Re: [equinox-dev] Resource not found inside bundle

2014-07-28 Thread BJ Hargrave
That file does appear to be in the classpath. The picture shows it in WEB-INF/classes which is in the Bundle-ClassPath. What does the code look like that is trying to access the file? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com

Re: [equinox-dev] Resource not found inside bundle

2014-07-28 Thread BJ Hargrave
getResources. ClassLoader loader = getClass().getClassLoader(); ... EnumerationURL urls = loader.getResources(api_mapping.xml); -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [equinox-dev] Resolver Problem with guava and e4 (javax.annotation)

2014-07-11 Thread BJ Hargrave
being exported. What the bundle contains will influence the choice. That being said, there is little harm in also importing the packages, so it is a safe (but perhaps of little value) choice. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [equinox-dev] bug or not

2014-04-28 Thread BJ Hargrave
You don't have to manage the instance. The framework, per spec, must cache the instance the return it for future BundleContext.getService calls. I am quite sure Equinox is fine here. Never heard of a problem in this area. You don't mention what version you use. -- BJ Hargrave Senior Technical

Re: [equinox-dev] branch for R6

2014-04-10 Thread BJ Hargrave
for osgi.annotation.jar as the org.eclipse.osgi project. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Raymond Auge raymond.a...@liferay.com To: Equinox development

Re: [equinox-dev] branch for R6

2014-04-10 Thread BJ Hargrave
Just put a copy of osgi.annotation.jar in your repo. It's not big :-) Then you are self-contained. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Raymond Auge raymond.a

Re: [equinox-dev] OSGi R6 Log service ?

2014-04-10 Thread BJ Hargrave
The framework should register an org.osgi.service.log.LogService upon startup. Implementing the LogService in the Equinox framework is an implementation decision and not required by the OSGi specs. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [equinox-dev] Serious problems with EE Java 1.8 (and EE resolving in general) on Luna

2014-04-09 Thread BJ Hargrave
If you change the underlying JRE, you should probably launch with -clean to flush the cached resolve state. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Tom Schindl

Re: [equinox-dev] [http-service] ongoing work

2014-03-31 Thread BJ Hargrave
Please do NOT put the package in org.eclipse.osgi.services. That is plugin is an abomination for runtime use. For the updated http service impl, the impl project should include the org.osgi.service.http package and export/import it. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi

Re: [equinox-dev] I'm getting null for org.osgi.framework.version property from equinox Luna system bundle

2014-01-18 Thread BJ Hargrave
the information out of the VM, just use BundleContext.getProperty. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Cristiano Gavião cvgav...@gmail.com To: Equinox development

Re: [equinox-dev] I'm getting null for org.osgi.framework.version property from equinox Luna system bundle

2014-01-18 Thread BJ Hargrave
Hmm. Open a bug please. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Cristiano Gavião cvgav...@gmail.com To: Equinox development mailing list equinox-dev@eclipse.org

Re: [equinox-dev] Class visibility without declared dependency

2013-07-27 Thread BJ Hargrave
to not having followed this thread extremely closely, but I don't recall any justification for what you are proposed (exporting a single class from a package). Just because something can be done does not mean it should be done. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [equinox-dev] PermissionInfoCollection issues with perms cloning

2013-04-18 Thread BJ Hargrave
Can you please provide more detail on the issue? What do you mean by cloning? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Raymond Auge raymond.a...@liferay.com

Re: [equinox-dev] PermissionInfoCollection issues with perms cloning

2013-04-18 Thread BJ Hargrave
/permissionadmin/PermissionInfo.html#getEncoded%28%29 -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Raymond Auge raymond.a...@liferay.com To: Equinox development mailing

Re: [equinox-dev] PermissionInfoCollection issues with perms cloning

2013-04-18 Thread BJ Hargrave
in the PermissionInfo. The PermissionInfo contains the class name of the permission type with 0, 1 or 2 String arguments for the constructor. This very much the same as would be done by the Policy object to create permissions based upon the grant information in the policy file. -- BJ Hargrave Senior Technical

Re: [equinox-dev] PermissionInfoCollection issues with perms cloning

2013-04-18 Thread BJ Hargrave
that cannot have those sort of constructors, then you can't use the OSGi permissions specifications and will need to customize a framework implementation to use your own permission management model. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [equinox-dev] bundles wiring and redeployment issues - hotswap

2013-01-30 Thread BJ Hargrave
. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: matteo rulli matteo.ru...@abodata.com To: equinox-dev@eclipse.org, Date: 2013/01/30 11:47 Subject:[equinox-dev

Re: [equinox-dev] FW: [primarycontacts] Voting Now Open: OSGi Enterprise Release 5 Reference Implementations and Compliance Tests For Approval

2012-11-15 Thread BJ Hargrave
The Eclipse Foundation is a Contributing Associate member of the OSGi Alliance. Contributing Associate members are not eligible to vote on approvals for specifications, reference implementations and compliance tests. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [equinox-dev] Equinox, PDE and packages from the ExtensionClasspath (e.g. JavaFX)

2012-11-13 Thread BJ Hargrave
is launched from code whose classpath does not include ext? I assume the option here is either use the bootclasscloader for the parent of the classloader used to load the framework or use the current classloader for the parent of the classloader used to load the framework. -- BJ Hargrave Senior

Re: [equinox-dev] Bundle-BuddyPolicy vs. Eclipse-BuddyPolicy

2012-07-10 Thread BJ Hargrave
There is no Bundle-BuddyPolicy header in the OSGi spec. This is probably why you cannot find information about it at the OSGi website. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [equinox-dev] target version of osgi specs for juno

2012-07-03 Thread BJ Hargrave
in Equinox Juno. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Raymond Auge raymond.a...@liferay.com To: Equinox development mailing list equinox-dev@eclipse.org, Date

Re: [equinox-dev] looking up binaries

2012-06-10 Thread BJ Hargrave
that class' static initializer calls System.loadLibrary(2). This will then make sure lib2.so is loaded before lib1.so. In general, the native code support in Java is really only useful for loading JNI native libraries. How the dependencies of the JNI native libraries are met is not addressed. -- BJ

Re: [equinox-dev] looking up binaries

2012-06-10 Thread BJ Hargrave
Bundle-NativeCode clause. Any later calls to System.loadLibrary by the bundle would be no-ops. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Scott Lewis sle

Re: [equinox-dev] Service Lookup by GUID very Slow

2012-05-04 Thread BJ Hargrave
Equinox also indexes by objectClass alone. So I am not sure what the discrepancy is here. Would be nice to have the test case code to analyze. Stanley, can you post a gist with the code? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [equinox-dev] Service Lookup by GUID very Slow

2012-05-03 Thread BJ Hargrave
What is service lookup by GUID? Services don't have globally unique identifiers. Can you provide more information on the specifics of your lookup? Such as the code snippet? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office

[equinox-dev] +1 for Bogdan Gheorghe on rt.equinox.framework by BJ Hargrave

2012-03-28 Thread portal on behalf of BJ Hargrave
BJ Hargrave voted: +1 +1 Voting summary: http://portal.eclipse.org/ ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev

[equinox-dev] +1 for Silenio Quarti on rt.equinox.framework by BJ Hargrave

2012-03-28 Thread portal on behalf of BJ Hargrave
BJ Hargrave voted: +1 +1 Voting summary: http://portal.eclipse.org/ ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev

[equinox-dev] +1 for Lazar Kirchev on rt.equinox.bundles by BJ Hargrave

2011-10-03 Thread portal on behalf of BJ Hargrave
BJ Hargrave voted: +1 Required. Must not be blank. Voting summary: http://portal.eclipse.org/ ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev

Re: [equinox-dev] same bundle in multiple regions

2011-09-23 Thread BJ Hargrave
. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Borislav Kapukaranov b.kapukara...@gmail.com To: equinox-dev@eclipse.org, Date: 2011/09/23 06:58 Subject:[equinox

Re: [equinox-dev] Multiple bsnversion in equinox

2011-06-24 Thread BJ Hargrave
Yes. Location is an opaque string. While the framework may interpret the string as a URL to obtain the bits of a bundle, it is otherwise an opaque string. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781

[equinox-dev] +1 for Glyn Normington on rt.equinox.bundles by BJ Hargrave

2011-03-31 Thread portal on behalf of BJ Hargrave
BJ Hargrave voted: +1 It is stupid that the portal requires you to enter a vote comment. Voting summary: http://portal.eclipse.org/ ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev

[equinox-dev] +1 for Borislav Kapukaranov on rt.equinox.bundles by BJ Hargrave

2011-03-31 Thread portal on behalf of BJ Hargrave
BJ Hargrave voted: +1 It is stupid that the portal requires you to enter a vote comment. Voting summary: http://portal.eclipse.org/ ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev

[equinox-dev] +1 for John W Ross on rt.equinox.bundles by BJ Hargrave

2011-03-31 Thread portal on behalf of BJ Hargrave
BJ Hargrave voted: +1 It is stupid that the portal requires you to enter a vote comment. Voting summary: http://portal.eclipse.org/ ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev

Re: [equinox-dev] Replacement for PackageAdmin.getBundles

2011-02-22 Thread BJ Hargrave
There is no replacement for that method. You can just grovel over the bundles to find this information. Seems like a job for a utility class... That method was not a good fit for packageadmin anyway since it nothing to do with the wiring state of the bundles. -- BJ Hargrave Senior Technical

Re: [equinox-dev] Replacement for PackageAdmin.getBundles

2011-02-22 Thread BJ Hargrave
This would be a good time to move away from using PackageAdmin service (and Start Level service) if possible. As Richard pointed out, PackageAdmin is a service, so code always had to be prepared for it to not be available. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [equinox-dev] Replacement for PackageAdmin.getBundles

2011-02-22 Thread BJ Hargrave
I guess this is a good opportunity to fix your code :-) -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Neil Bartlett njbartl...@gmail.com To: Equinox development

Re: [equinox-dev] Plans to replace the Console with GoGo for Indigo

2010-12-02 Thread BJ Hargrave
to eventually start the bundle-supplied console once the internal console is gone. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Jeff McAffer j...@eclipsesource.com

Re: [equinox-dev] Bug in event admin

2010-09-12 Thread BJ Hargrave
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox then select component Compendium and start the summary with [eventadmin]. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [equinox-dev] Question on programatic close of the runtime

2010-03-12 Thread BJ Hargrave
Do I smell DOS attack? :-) -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Neil Bartlett njbartl...@gmail.com To: Equinox development mailing list equinox-dev@eclipse.org

Re: AW: [equinox-dev] Question on programatic close of the runtime

2010-03-12 Thread BJ Hargrave
parked on waitForStop will awaken and can then tidily end the VM's life perhaps including System.exit. (This is all standard OSGi and requires no Equinox specifics.) -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781

Re: [equinox-dev] problem with ServiceTracker.open() and refreshThread in Equinox

2010-01-29 Thread BJ Hargrave
Yes, open a bug Tim. I can see that a fix is needed here. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Tim Diekmann tdiek...@tibco.com To: Equinox development mailing list

Re: [equinox-dev] some issues in creatingfilters

2009-11-15 Thread BJ Hargrave
string which is why you get an exception. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: prof_trg prof.tar...@gmail.com To: equinox-dev@eclipse.org Date: 2009/11/15 07:30

Re: [equinox-dev] OSGi DevCon London Call for Papers

2009-11-03 Thread BJ Hargrave
Please use http and not https to avoiding being asked for credentials. http://www.osgi.org/DevConLondon2010/HomePage -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Ian

Re: [equinox-dev] DS and bundle stop/start

2009-10-27 Thread BJ Hargrave
with specific ordering. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Stoyan Boshev s.bos...@prosyst.com To: Equinox development mailing list equinox-dev@eclipse.org Date

Re: [equinox-dev] DS and bundle stop/start

2009-10-26 Thread BJ Hargrave
Why doesn't DS just asynchronously process bundles which are lazy activated (not lazy started which is an incorrect term)? Then you have the same behavior (async processing) regardless of whether the bundle is lazily or eagerly activated. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi

Re: [equinox-dev] MetaType Service

2009-10-25 Thread BJ Hargrave
You would need to write your own Metatype Service implementation (eg. by deriving from the Equinox implementation) to suppory your custom extensions. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile

Re: [equinox-dev] Question about DI/ DS and Application model

2009-09-16 Thread BJ Hargrave
Isn't there a big problem with the life cycle mismatch between services and extensions? Services require a bundle to be started. Extensions require a bundle to be resolved. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office

Re: [equinox-dev] Unclear warning in DS when a service component provides inexisting/unimplemented interface

2009-06-30 Thread BJ Hargrave
You should probably open a bug for this. BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com Office: +1 386 848 1781 Mobile: +1 386 848 3788 - Original Message - From: Kirchev, Lazar [l.kirc...@sap.com] Sent: 06/30/2009 02:11 PM

Re: [equinox-dev] Permission Admin Service Problem

2009-06-26 Thread BJ Hargrave
Did you start Equinox with security on? Those services are not registered unless you start the framework with security on. BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com Office: +1 386 848 1781 Mobile: +1 386 848 3788 - Original

Re: [equinox-dev] Creating heavy weight DS Components

2009-05-29 Thread BJ Hargrave
is created which then provides the service. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Andrew Teirney and...@teirney.net To: equinox-dev@eclipse.org Date: 2009/05/29 17:48

Re: [equinox-dev] Declarative Services Bind/Unbind Method Signatures

2009-05-28 Thread BJ Hargrave
The DS 1.1 spec does NOT require bind and unbind methods for a reference to have the same signatures. If the Equinox DS impl requires them to, please open a bug. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848

RE: [equinox-dev] Framework launching and class loaders

2009-05-26 Thread BJ Hargrave
You can't override exported packages. But, if you use the same package version number as exported by a bundle, the framework will prefer an already exported package when resolving. Since the framework exports the system packages first, then they are preferred. -- BJ Hargrave Senior Technical

RE: [equinox-dev] Conditional Permission are not being checked

2009-05-07 Thread BJ Hargrave
That is a rather old version of Equinox 3.5 (M1). Go to http://download.eclipse.org/equinox/ to see all the versions available and download 3.5 M7. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1

Re: [equinox-dev] ClassLoader leak caused by EventManager's EventThread creation

2009-05-06 Thread BJ Hargrave
Andy, Can you file a bug on this? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Andy Wilkinson andy.wilkin...@springsource.com To: equinox-dev@eclipse.org Date: 2009/05/06

Re: [equinox-dev] policy=dynamic in Declarative Services.

2009-05-04 Thread BJ Hargrave
service available and, with a 1..1 cardinality, the component is deactivated. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Hal Hildebrand hal.hildebr...@oracle.com

Re: [equinox-dev] Security Doubt

2009-04-28 Thread BJ Hargrave
You can configure your system to support this. Note: since using permission is invasive in Java code (doPrivileged), all the bundles, in particular B, must be properly coded with the necessary doPrivileges to make it work. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [equinox-dev] ServiceReference.compareTo(Object)

2009-04-24 Thread BJ Hargrave
Please open a bug in the bugzilla system for this. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: 岡野 真一 okano-shini...@sei.co.jp To: equinox-dev@eclipse.org Date: 2009/04/24

RE: [equinox-dev] Adding Equinox Declarative Services (DS) to theEclipse SDK

2009-01-26 Thread BJ Hargrave
+1 -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Toedter, Kai kai.toed...@siemens.com To: Equinox development mailing list equinox-dev@eclipse.org, General development

Re: [equinox-dev] What bundle class loaded from

2008-11-26 Thread BJ Hargrave
Not in any standard way. A framework is free to store an installed bundle in any way is chooses. It could keep the original JAR file, expand it to the file system, put all the entries in a database, convert it to some VM optimized format, etc. -- BJ Hargrave Senior Technical Staff Member, IBM

Re: [equinox-dev] What bundle class loaded from

2008-11-24 Thread BJ Hargrave
PackageAdmin.getBundle(Class) -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 From: Oleg Zhurakousky [EMAIL PROTECTED] To: Equinox development mailing list equinox-dev@eclipse.org

Re: [equinox-dev] Conceptual problem with OSGi

2008-10-30 Thread BJ Hargrave
It would be better to ask this question on the [EMAIL PROTECTED] list since it is a general OSGi question and not tied to Equinox's implementation. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1

Re: [equinox-dev] service elements in Declaratice Services

2008-10-28 Thread BJ Hargrave
description. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 From: Toedter, Kai [EMAIL PROTECTED] To: Equinox development mailing list equinox-dev@eclipse.org Date: 2008/10/28 09:14 AM

Re: [equinox-dev] .qualifier for export package?

2008-09-05 Thread BJ Hargrave
be no problem as every will use the latest build for all bundles. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 From: David M Williams/Raleigh/[EMAIL PROTECTED] To: Equinox

Re: [equinox-dev] .qualifier for export package?

2008-09-05 Thread BJ Hargrave
the version number since there may have been changes in other areas of the package which are not affected by the back out. Original: 1.2 Make change A: 1.2.0.qual1 Make change B: 1.2.0.qual2 Backout change A: 1.2.0.qual1 is not right since change B is still there. -- BJ Hargrave Senior

Re: [equinox-dev] .qualifier for export package?

2008-09-05 Thread BJ Hargrave
. It will lead one to believe that importing that package with a qualifier is ok and meaningful. But a qualifier of a build date or tag says nothing about API backwards compatibility. It is just a form of identity with no meaningful ordering. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi

Re: [equinox-dev] When is DS done loading services?

2008-09-04 Thread BJ Hargrave
dependency on B. When all the Bs are available then enable the component providing service A (which are declared disabled in its description). The trick is of course to be able to know when all the service Bs are available such that we are ready to enable serviceA. -- BJ Hargrave Senior

Re: [equinox-dev] When is DS done loading services?

2008-09-04 Thread BJ Hargrave
to handled asynchronously. This splits the DS work between work that can be quickly done during bundle activation and work that will take time which is done after bundle activation. I don't think any change to the DS spec is needed to allow this behavior. -- BJ Hargrave Senior Technical Staff

Re: [equinox-dev] When is DS done loading services?

2008-09-04 Thread BJ Hargrave
I totally agree. This is what I actually wanted in the very beginning of this thread. OK, but I certainly did not understand that at the beginning :-) -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781

Re: [equinox-dev] When is DS done loading services?

2008-09-03 Thread BJ Hargrave
and unregistered at any time. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 From: Stoyan Boshev [EMAIL PROTECTED] To: Equinox development mailing list equinox-dev@eclipse.org Date

Re: [equinox-dev] .qualifier for export package?

2008-09-03 Thread BJ Hargrave
changes. But API is a specified thing that changes deliberately and (hopefully) slowly and its version is not subject to implementation. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788

RE: [equinox-dev] When is DS done loading services?

2008-09-03 Thread BJ Hargrave
. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 From: Cortez, Otto [EMAIL PROTECTED] To: Equinox development mailing list equinox-dev@eclipse.org Date: 2008/09/03 02:48 PM Subject

Re: [equinox-dev] .qualifier for export package?

2008-09-02 Thread BJ Hargrave
I would be extremely cautious about using qualifier on package versions. I must say that I have never seen it done. It seems an over specification. I think that having build tools to advise you to increment the micro is more than sufficient. -- BJ Hargrave Senior Technical Staff Member, IBM

Re: [equinox-dev] .qualifier for export package?

2008-09-02 Thread BJ Hargrave
. Only the package organization remains. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 ___ equinox-dev mailing list equinox-dev@eclipse.org

Re: [equinox-dev] DS and references without an interface

2008-07-22 Thread BJ Hargrave
That will only work for services registered under the name java.lang.Object. I imagine the size of that set is zero. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 From: Stefan

Re: [equinox-dev] Equinox and UTF-8

2008-07-10 Thread BJ Hargrave
Well you should not be getting bytes from a String. A String is a set of Characters. Some characters may fit into bytes, but some are wider. Also, remember that the length of a String is the number of characters not the number of bytes into which those characters may be encoded. -- BJ

Re: [equinox-dev] Question regarding class loader and getPackages()

2008-06-02 Thread BJ Hargrave
://dev.eclipse.org/mailman/listinfo/equinox-dev -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788 ___ equinox-dev mailing list equinox-dev@eclipse.org

  1   2   >