Re: [equinox-dev] [prov] directory watcher

2007-08-30 Thread Alex Blewitt
Interesting. Does it periodically scan for changes, or does it hook in with the underlying file system notifications to receive changes? I believe that the Win32 resources API has the ability to pick up changes; it would be good if that worked for other systems too. Does it do the reverse,

Re: [equinox-dev] RCP Application doesn't shut down OSGi console

2007-08-30 Thread Alex Blewitt
It depends how you are launching it. If you've got 'osgi.noExit=true' then I'd expect to see that behaviour. Are you running with eclipse -application ? If so, I'd expect that when your application returns from the run() method, it would shut down the framework. Do you know you are returning

Re: [equinox-dev] Equinox-Bundles component is getting crowded

2007-09-13 Thread Alex Blewitt
Frankly, the organisation of Eclipse projects in general falls into the same problem (i.e. is it in tools/, eclipse/, technology/ ... On 13/09/2007, BJ Hargrave [EMAIL PROTECTED] wrote: It is about community and clarity for our consumers. I don't see how arbitrary groupings help here. The

Re: [equinox-dev] Declarative Services with RCP Plug-in Extensions

2007-11-28 Thread Alex Blewitt
On Nov 28, 2007 12:19 AM, Darren Janeczek [EMAIL PROTECTED] wrote: Hello. I need some tips in narrowing down the cause of a problem We've been having in our RCP/OSGi application. Our project is using Declarative Services to manage several bundles of services, and Eclipse Plug-in Extensions

Re: [equinox-dev] Jetty and commons logging

2008-01-05 Thread Alex Blewitt
On Jan 5, 2008 2:38 PM, Jeff McAffer [EMAIL PROTECTED] wrote: Dave, there isn't one. For the most part Eclipse teams use the PDE tooling to build their bundles. Having a maven repo would be a really, really good thing for the Eclipse bundles. After all, it's just a set of directories and some

Re: [equinox-dev] Jetty and commons logging

2008-01-06 Thread Alex Blewitt
On Jan 6, 2008 1:18 AM, Jeff McAffer [EMAIL PROTECTED] wrote: I won't disagree and would certainly welcome anyone who wanted to create/maintain such a repo. It seems that someone has done this at maven.org. The Maven user community should encourage that person to continue doing the work. I

Re: [equinox-dev] Maven and all that [was: Jetty and commons logging]

2008-01-08 Thread Alex Blewitt
On Jan 7, 2008 10:33 PM, Jeff McAffer [EMAIL PROTECTED] wrote: Personally I would find it hard to in any way sanction a repo of any kind that resulted in people getting JARs with names different than what we produced. You mean like someone downloading log4j-1.2.13.jar, and instead of calling

Re: [equinox-dev] Reference remote bundles when writing a new plugin.

2008-02-11 Thread Alex Blewitt
On Feb 11, 2008 12:57 PM, Mark [EMAIL PROTECTED] wrote: Thanks Alex. Perhaps this is also a possible feature for the PDE team. PDE lists bundles in your workspace/runtime, though; it doesn't constrain how they get there. The issue is how you get a bundle stored in a repo into your workspace

Re: [equinox-dev] Reference remote bundles when writing a new plugin.

2008-02-11 Thread Alex Blewitt
On Feb 10, 2008 8:01 PM, Mark [EMAIL PROTECTED] wrote: I have created a couple of plugins that use maven2 in order to publish the jar files in the repository. I would like to be able to reference these budles in a similar manner as one would reference remote jars. However so far I have not

Re: [equinox-dev] [prov] peer-to-peer downloads (ECF)

2008-02-15 Thread Alex Blewitt
On Fri, Feb 15, 2008 at 4:08 PM, Jeff McAffer [EMAIL PROTECTED] wrote: Remy, excuse me if this is really basic and naïve. I've only used bittorent to download large single wad files... Would it be reasonable to use bittorent to download *parts* of things? For example, if you look at an

Re: [equinox-dev] Using log4j with LogService

2008-03-18 Thread Alex Blewitt
On Tue, Mar 18, 2008 at 3:49 AM, Srijith Kochunni [EMAIL PROTECTED] wrote: Thanks for the quick reply. Yes I can use the LogReader Service and then direct it to log4j. Have you looked at PAX logging? http://wiki.ops4j.org/confluence/display/ops4j/Pax+Logging That allows you to have an OSGi

Re: [equinox-dev] p2 update

2008-03-27 Thread Alex Blewitt
Is it possible to define more than one dropins folder? On Mac systems, /Library/Eclipse/ and ~/Library/Eclipse would be good places to define additional dropins locations for users. The normal convention would be to capitalise the directory name, so /Library/Eclipse/Dropins and

Re: [equinox-dev] p2 update

2008-03-27 Thread Alex Blewitt
On Thu, Mar 27, 2008 at 5:18 PM, Pascal Rapicault [EMAIL PROTECTED] wrote: It is technically possible but we don't have a UI to add such locations and will not get to it for 3.4. That, said, since one of the goal p2 is to get people out of the file system, therefore I would highly suggest

Re: [equinox-dev] p2 update

2008-03-27 Thread Alex Blewitt
On Thu, Mar 27, 2008 at 5:38 PM, Alex Blewitt [EMAIL PROTECTED] wrote: Right, it wasn't so much of a question as can it be done (you've been able to do it with hackery and symlinks in the past) but rather allowing Eclipse apps to have this by default to make them better Mac citizens. Here's

Re: [equinox-dev] Installing a bundle from console does not make it available to the workspace?

2008-05-06 Thread Alex Blewitt
By not available, do you mean that it does not work, or that you can't write a PDE bundle that depends on it? If the latter, it's because PDE caches the target environment, and you have to refresh it. You can do that from window preferences pde target. Then your bundle should he

Re: [equinox-dev] [sec] use of Equinox secure storage

2008-05-14 Thread Alex Blewitt
On Wed, May 14, 2008 at 11:15 PM, Scott Lewis [EMAIL PROTECTED] wrote: Agreed RE: making life easier WRT authentication/account mgmt/single sign-on, etc. I'm hoping that Matt, Eric, Thomas, etc. will also work with us to take further advantage after 3.4 is out. Scott Did you ever have any

Re: [equinox-dev] Is the P2 installer supposed to work?

2008-05-21 Thread Alex Blewitt
On Wed, May 21, 2008 at 5:20 AM, Jeff McAffer [EMAIL PROTECTED] wrote: I should have mentioned... - Please enter a bug for this with your good steps. Thanks! - We have been running the installer on windows and the Mac quite regularly and even via JNLP. This must be a quirk in the build as

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

2008-11-26 Thread Alex Blewitt
I've used equinox to persist/load a Jar from a database system without ever hitting the local file system. It's not just an equinox thing. Alex On Wed, Nov 26, 2008 at 2:45 PM, Fredrik Alströmer [EMAIL PROTECTED] wrote: I'm aware of this, but I figured this was the equinox mailing list, so

Re: [equinox-dev] Update to Jetty and Servlet API in the M4 SDK

2008-12-11 Thread Alex Blewitt
I thought that an API compatible change was only meant to increment the minor version number, rather than the major number? Alex Sent from my (new) iPhone On 11 Dec 2008, at 19:02, Simon Kaegi simon_ka...@ca.ibm.com wrote: In M4 the platform team updated the version of Jetty that comes

Re: [equinox-dev] Update to Jetty and Servlet API in the M4 SDK

2008-12-11 Thread Alex Blewitt
the actual binary API has not changed although the bundle metadata has. -Simon graycol.gifAlex Blewitt ---12/11/2008 02:50:38 PM---I thought that an API compatible change was only meant to increment ecblank.gif From: ecblank.gif Alex Blewitt alex.blew...@gmail.com ecblank.gif

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

2009-04-24 Thread Alex Blewitt
2009/4/24 岡野 真一 okano-shini...@sei.co.jp: Hi all ! I am using Equinox 3.4.2, and I thik I found a bug. The Javadoc of org.osgi.framework.ServiceReference.compareTo(Object) says the following:    This ServiceReference is less than the specified ServiceReference if    it has a lower service

Re: [equinox-dev] Problem when running Equinox with Maven and OSP4J's Pax Construct when behind a proxy

2009-06-12 Thread Alex Blewitt
This is a PAX issue, rather than Equinox. Indeed, Eclipse doesn't actually host the bundles on ibiblio at all ... they're put up by volunteers. You might try a pax-update from the PAX scripts to see if there is any updates. It may be that the Equinox version you've specified is no longer

Re: [equinox-dev] Bridging the plain Java and OSGi classloading worlds

2009-08-19 Thread Alex Blewitt
My understanding is that the interfaces used (and dependent types therin) need to be loadable from oustide the OSGi engine and have the service import the same (external) interface. If you were to have one interface from outside, and one inside, they would complain. Another possibility

Re: [equinox-dev] Configuration Admin Service Problem

2010-01-13 Thread Alex Blewitt
On Jan 13, 2010, at 18:01, David Conde wrote: Hi I would like to know how I can activate Configuration Admin Bundle for Equinox. I have tried by launching org.eclipse.osgi.services.jar bundle where it is suppoused to be, but I when I tried to get the Configuration Admin Service using the

Re: [equinox-dev] How to add whole directory in classpath and how to controll osgi console log

2010-02-18 Thread Alex Blewitt
On Thu, Feb 18, 2010 at 9:30 AM, Swapnil Patil swapnil123pa...@gmail.comwrote: Tom, Thank you for the comment. I hope next version of OSGi implementations will add support for this classpath case. There's no real need to do this. You have to generate the bundle/manifest from something; that

Re: [equinox-dev] jetty-http / jsp / problem with session-scoped beans after bundle update

2010-03-02 Thread Alex Blewitt
On 3 Mar 2010, at 00:51, Yuriy Malchenko wrote: Or maybe I should take the needed classes (session/application scoped) to a separate bundle which will not be needed to update frequently? But anyway sometimes it might, so it's not a good solution. It's generally a good idea to separate out

Re: [equinox-dev] Calling Equinox close command by code

2010-04-29 Thread Alex Blewitt
You mean System.exit()? Sent from my (new) iPhone On 29 Apr 2010, at 12:16, David Conde dco...@citic.es wrote: Hi again, For me it is not enough to call context.getBundle(0).stop() since this does something similar to shutdown command (shutdown the OSGi Framework) and I need something

Re: [equinox-dev] Calling Equinox close command by code

2010-04-29 Thread Alex Blewitt
wrote: Yes, this was what I meant. Finally, the problem was solved by waiting the Bundle(0)'s RESOLVED state and then calling to System.exit(). Regards -Mensaje original- De: equinox-dev-boun...@eclipse.org [mailto:equinox-dev- boun...@eclipse.org] En nombre de Alex Blewitt Enviado

Re: [equinox-dev] How to best simulate standalone Equinox deployment in Eclipse

2010-11-19 Thread Alex Blewitt
2010/11/19 Robert Krüger krue...@lesspain.de: I'm going through the (so far rather painful) process of trying to deploy my OSGI app developed within Eclipse 3.6 in a standalone Equinox environment for the first time. The main problem is the runtime in PDE simulates the Eclipse workbench,

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

2010-12-01 Thread Alex Blewitt
On 1 Dec 2010, at 22:06, Thomas Watson wrote: There have been various discussions about replacing our framework console with something a bit more functional and flexible like apache gogo [1]. At this point in the Indigo release we do not plan to remove our own console for the Indigo

Re: [equinox-dev] Custom manifest headers

2011-08-19 Thread Alex Blewitt
Note that the OSGi 4.3 spec introduces the concept of Require-Capability. Equinox has a pre implementation of this with the Eclipse-GenericRequire, which of course is not understood by Felix. As a result, Felix doesn't know that it's missing a requirement (so starts it) whilst Equinox 'obeys'

Re: [equinox-dev] Difference in system.packages.extra behaviour between 3.6.2 and 3.7

2011-09-08 Thread Alex Blewitt
See also the OSGi wiki page on http://wiki.osgi.org/wiki/Boot_Delegation Alex On Sep 8, 2011, at 13:42, Neil Bartlett wrote: Hi Ben, I tend to see this the other way around…. if you are using that package then you should have an Import-Package statement for it. If that causes problems for

Re: [equinox-dev] Service component deployment fails into a running Equinox application

2012-02-08 Thread Alex Blewitt
Do you have an optional import for the package name? If you do, and that bundle starts first, then it won't be wired to the package. If you start up the bundle containing the package first, then start up the provider, it will resolve the list of optional imports. Once started, even if an

Re: [equinox-dev] extending the classpath of an embedded Framework

2012-08-30 Thread Alex Blewitt
On 30 Aug 2012, at 15:58, Raymond Auge raymond.a...@liferay.com wrote: I think I'm going to try this (on the fly fragment creation) I've done this in the past with great success, and it works on other OSGi runtimes as well so you're not depending on any Equinox specific tech to make it

Re: [equinox-dev] TrustEngine and other security services

2013-01-04 Thread Alex Blewitt
If you need an example that is publicly available, the Apache Directory Studio plugin is signed with an Apache certificate that shows up as untrusted when I attempt to install it: http://directory.apache.org/studio/update/1.x/ On Eclipse 4.2, the pop-up window asking to trust easily gets

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

2013-01-30 Thread Alex Blewitt
You can't. You have a binding on the MyBean class in the code of both B and C so you are pinned to exactly that version. Alex Sent from my iPhone 4S On 30 Jan 2013, at 16:47, matteo rulli matteo.ru...@abodata.com wrote: I'm facing the following issue under OSGi environment: let's say I

Re: [equinox-dev] How to use web services in an Equinox OSGi container.

2013-04-21 Thread Alex Blewitt
On 21 Apr 2013, at 10:44, Prasad Jeewantha wrote: I need to develop an application with back-end and front-end clearly separated through web services. The BE and FE of the application should run on two separate JVMs in two Equinox containers. The BE-FE communication happens through

Re: [equinox-dev] Simpler JavaFX class loading

2014-02-25 Thread Alex Blewitt
Can you not just install a fragment to the system bundle that exports the javafx packages? Sent from my iPhone 5 On 25 Feb 2014, at 16:15, Doug Schaefer dschae...@qnx.com wrote: Hey gang, I’m aware of the work Tom S has done with class loading hooks to get JavaFX classes to load. I’m

Re: [equinox-dev] State of Gerrit jobs

2014-03-17 Thread Alex Blewitt
On 17 Mar 2014, at 21:32, Gunnar Wagenknecht gun...@wagenknecht.org wrote: On 2014-03-16 17:06:33 +, Mickael Istria said: I don't think it's that much a matter of resource, it's more that you're the first one to report this issue. Did you open a bug for it? So there were only two

Re: [equinox-dev] 32bit vs 64bit launcher

2014-07-16 Thread Alex Blewitt
You might find that a wow64 launch of Eclipse 32 should work, but to do so needs to know its in 32 bit mode. I believe that the auto detection will still think it's in 64 bit mode even with 32 bit wow and so the 32 bit launcher looks for the 64 bit library and then fails to load or not find it.

Re: [equinox-dev] Composite repository entry that does not bring in categories

2014-08-07 Thread Alex Blewitt
No, this is not possible with P2. You can however mirror the repository then strip out the categories from the file though. Alex Sent from my iPhone 5 On 7 Aug 2014, at 20:25, Konstantin Komissarchik konstantin.komissarc...@oracle.com wrote: Sending this question to the dev mailing list

Re: [equinox-dev] Equinox console not working

2014-10-09 Thread Alex Blewitt
The built-in console was removed, as per the release notes. Built-in Equinox OSGi console removed On 9 Oct 2014, at 12:30, Artem Zhirkov a...@develdynamic.com wrote: Hello, I've just downloaded the recent release version of equinox and tried to follow the quick start guide, but even

Re: [equinox-dev] Equinox DS Performance Problem

2014-11-25 Thread Alex Blewitt
It would be better to create a bug report at bugs.eclipse.org and attach the files and description there. Alex Sent from my iPhat 6 On 25 Nov 2014, at 21:26, Colin Williams col...@i9technologies.com wrote: Hi everyone, This is a follow-up to my forum post [1], because I have more

Re: [equinox-dev] Bundles remaining in life cyle Starting.

2015-05-07 Thread Alex Blewitt
I think they’re placed into that state if they are lazily started, i.e. they have a BundleActivationPolicy of ‘lazy’. http://www.osgi.org/Design/LazyStart http://wiki.osgi.org/wiki/Bundle-ActivationPolicy I think it goes from ‘starting’ to ‘started’ when classes have been loaded from the

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

2015-05-08 Thread Alex Blewitt
There are Eclipse-specific classes in o.e.osgi such as NLS and Debug which makes it hard to do what you suggest, especially since these are provided in a supplements bundle which cannot co exist in an eclipse runtime. Alex Sent from my iPhat 6 On 8 May 2015, at 09:21, BJ Hargrave

Re: [equinox-dev] OSGiServiceSupplier

2015-09-25 Thread Alex Blewitt
> short-comings you mention in your blog. > > Finally I do thank you for proposing a solution to a problem and bringing it > here for discussion, I just don't feel comfortable with the current solution > :-) > > Tom > > > > > > From:Alex

Re: [equinox-dev] OSGiServiceSupplier

2015-09-25 Thread Alex Blewitt
BTW I updated the examples in my blog post to use AutoClosable and have a finalize method. So Tom’s comments below reflected the version before I made those changes. > On 25 Sep 2015, at 22:20, Alex Blewitt <alex.blew...@gmail.com> wrote: > > Thanks for the feedback.

[equinox-dev] OSGiServiceSupplier

2015-09-25 Thread Alex Blewitt
I posted on http://alblue.bandlem.com/2015/10/osgi-services-in-java-8.html earlier today about using Java 8’s Supplier to acquire a service on-demand without having to do expensive client-side coding, and that would fail fast in

Re: [equinox-dev] OSGiServiceSupplier

2015-09-25 Thread Alex Blewitt
gt;>> >>>public <V,R> Function<V,R> createFunction(BiFunction<V, S, R> f) { >>>return (v) -> { >>>ServiceReference reference = >>> this.context.getServiceReference(this.serviceType); >>>if( reference