Re: Plaintext password in configuration files for Jetty and Webconsole

2016-04-23 Thread peter . kriens
variables. Peter Kriens Sent from my iPhone > On Apr 23, 2016, at 11:18 AM, Carsten Ziegeler <cziege...@apache.org> wrote: > > Antonio Sanso wrote >> hi, >> >> I would actually have the same question? >> >> Is there anything can be done here ? If no

Re: WebSockets usage

2015-10-28 Thread Peter Kriens
Why would web sockets be faster than Server Sent Events? Kind regards, Peter Kriens > On 26 okt. 2015, at 12:53, factor3 <rbro...@bluebottle.com> wrote: > > Greetings, pkriens: > > Your suggestion is an interesting one, and I will look into it for my

Re: WebSockets usage

2015-10-26 Thread Peter Kriens
ree/master/osgi.enroute.examples.scheduler.application <https://github.com/osgi/osgi.enroute.examples/tree/master/osgi.enroute.examples.scheduler.application> (most examples in this repo use the Server Sent Events to update the GUI in real time). Kind regards, Peter Kriens > On 25 okt. 2015, at 16:38,

Re: Re[2]: How to connect 2 declarative services?

2015-07-18 Thread peter . kriens
http://enroute.osgi.org/services/org.osgi.service.component.html Sent from my iPhone On 18 Jul 2015, at 19:01, Alex Sviridov ooo_satu...@mail.ru wrote: Thank you for your answer. Could you provide an example on my example - as all is in development process and I can find old information.

Re: DependencyManager and bundle-private components

2015-05-25 Thread Peter Kriens
) dependencies - injection, for the rest plain old java since injection does not really provide you with anything but familiarity. And if you really absolutely want injection … just use Guice or another DI container inside your component? Kind regards, Peter Kriens On 22 mei 2015, at 10

Re: Core and Compendium APIS at runtime

2015-05-25 Thread Peter Kriens
am quite convinced that the provider including the API is the best solution in most cases. Kind regards, Peter Kriens On 20 mei 2015, at 17:37, Milen Dyankov milendyan...@gmail.com wrote: Well I agree in general. My only point is that IMHO the one defining the API should also

Re: OSGi Declarative Services dependency on a generic supertype

2015-02-05 Thread Peter Kriens
of good engineering is quite often automating too much. Kind regards, Peter Kriens Verstuurd vanaf mijn iPhone Op 5 feb. 2015 om 19:06 heeft Pawel Pogorzelski pawel.pogorzels...@gmail.com het volgende geschreven: Alright, thanks Neil. I can see can see some corner cases where

Re: How to use a service immediately after its activation?

2014-03-20 Thread Peter Kriens
to be handled specially instead of snapping on. Kind regards, Peter Kriens On 19 mrt. 2014, at 12:25, Bertrand Delacretaz bdelacre...@apache.org wrote: Hi, On Tue, Mar 18, 2014 at 10:22 PM, Neil Bartlett njbartl...@gmail.com wrote: ...Whatever you're trying to do in your special

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-17 Thread Peter Kriens
to just add this little extra thing because you do not want to create another unit. Kind regards, Peter Kriens On 14 mrt. 2014, at 15:29, Raymond Auge raymond.a...@liferay.com wrote: I actually went through this same thought process within the past two years as I really didn't

Re: Instance reference issues

2013-12-09 Thread Peter Kriens
. I use DS for all my OSGi code and I rarely use anything else but 1:1 static and 0:n dynamic. Kind regards, Peter Kriens On 9 dec. 2013, at 08:58, Snorre Lothar von Gohren Edwin snorre.ed...@gmail.com wrote: Iv noticed an addition to this question. Its also kind comparable

OSGi and Persistence

2013-11-25 Thread Peter Kriens
to: peter.kri...@aqute.biz Kind regards, Peter Kriens - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-25 Thread Peter Kriens
final package segment that starts with an upper case and is not fully upper case. However, don't hold your breath ... this is low priority and I am very busy so a patch (with test cases) would be welcome. https://github.com/bndtools/bnd/issues/423 Kind regards, Peter Kriens On 24

Re: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread Peter Kriens
soon ... Of course the simplest workaround is of course to not make it an inner class? :-) Kind regards, Peter Kriens On 24 okt. 2013, at 08:57, CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com wrote: Dear Felix Team, It seems I found a bug (see below) in the Maven

Re: DataSourceFactory

2013-10-21 Thread Peter Kriens
, I did it myself for MySQL and hope to get this work in their code base since it is quite trivial to do. This is still experimental but you can find this at: http://github.com/osgi/osgi.bundles and feedback is appreciated. Kind regards, Peter Kriens On 19 okt. 2013, at 22:41, bokie

Re: declarative Services

2013-06-01 Thread Peter Kriens
If I had to start over with the design of OSGi there would be no bundle activator, just DS components ... The activator was a mistake since it is a singleton and I now sometimes wonder what we are smoking, forcing people to handle their own service dependencies. DS's support services, service

Re: bundle-plugin removes part of version number

2013-05-14 Thread Peter Kriens
Simplicity ... Kind regards, Peter Kriens On 14 mei 2013, at 11:00, Sahoo wrote: Hi Felix, I had assumed that . was allowed in qualifier. Thanks for pointing out my mistake. If someone knows the logic behind this restriction, please mention. Thanks, Sahoo On Thursday 09 May

Re: FileInstall - Avoiding framework refresh

2012-12-19 Thread Peter Kriens
I think FileInstall just exposes a bug in your setup. Code that can't withstand a refresh is buggy. It is better to find those bugs early and fix them then when they start happening in production. Kind regards, Peter Kriens On 18 dec. 2012, at 22:08, Raul Kripalani wrote: Hi all

Re: Maven bundle plugin split-package question

2011-11-21 Thread Peter Kriens
, Peter Kriens On 21 nov. 2011, at 16:50, David Bosschaert wrote: Hi Stuart, On 21 November 2011 15:38, Stuart McCulloch mccu...@gmail.com wrote: On 21 Nov 2011, at 15:11, David Bosschaert wrote: What happens at the moment with the Maven Bundle Plugin 2.3.4 (we can't use 2.3.5

Re: Generating Source bundles for eclipse

2011-11-02 Thread Peter Kriens
Just put -sources in the bnd file. This will put your sources in the JAR at OSGI-INF, eclipse will recognize this. Peter Kriens - Sent while on the road, mobile +33698332260 Op 31 okt. 2011 om 11:59 heeft Simon Goodall simon.good...@minimaxlabs.com het volgende geschreven: I am trying

Re: Apache Aries BluePrint Annotations and Maven Felix Bundle Plugin

2011-08-26 Thread Peter Kriens
bnd has no knowledge about Blueprint annotations. I think you need a special plugin for that. And why would it generate an Export-Service header? Kind regards, Peter Kriens On 25 aug 2011, at 23:32, Matt Madhavan wrote: Hello Peter, I was testing with the Aries Blue Print

Re: May be I'm having an Issue with MavenFelix Plugin

2011-08-24 Thread Peter Kriens
Can you send me the pom? It looks like the analysis does not take the Bundle-ClassPath into account but the verifier does. Kind regards, Peter Kriens On 24 aug 2011, at 00:48, Matt Madhavan wrote: Hello Peter, I think I may have an issue with MavenFelix Pl;ugin. I have removed

Re: Maven Felix Bundle plugin (BND) - How to tell BND to ignore the jars inside of WEB-INF/lib

2011-08-23 Thread Peter Kriens
they are the authors of this app. Kind regards, Peter Kriens Hello Peter, As posted in an earlier post (actually a reply to your reply) I have a stringent requirement from my client that everything I do as far as OSGi development process, must run seamlessly with in IBM RAD

Re: Maven Felix Bundle plugin (BND) - How to tell BND to ignore the jars inside of WEB-INF/lib

2011-08-23 Thread Peter Kriens
Well, at least your experiences and feedback would be appreciated. I can take that to the guys local here and they probably would not mind distribute it as an OSGi app as long as it also runs on older envs. Kind regards, Peter Kriens On 23 aug 2011, at 19:29, Matt Madhavan wrote

Re: Maven Felix Bundle plugin (BND) - How to tell BND to ignore the jars inside of WEB-INF/lib

2011-08-23 Thread Peter Kriens
Looking forward to this! Kind regards, Peter Kriens On 23 aug 2011, at 23:42, Matt Madhavan wrote: Hi Peter, That is no problem. Actually it will be my pleasure. I'm a big beneficiary of the tools you and the PAX folks like Toni et all. Glad to have a chance to give back something

Re: Install Object as bundle

2011-08-22 Thread Peter Kriens
As this is open source you're now on the hook for documentation ... :-) Kind regards, Peter Kriens On 22 aug 2011, at 16:47, john.dun...@exceter.com wrote: I'd like to apologize to anyone I may have offended with my previous posts. Having reviewed a couple blog posts, PAX Exam

Re: Install Object as bundle

2011-08-22 Thread Peter Kriens
Hey, when you're at it ... I can use some bnd documenters! Kind regards, Peter Kriens On 22 aug 2011, at 19:57, Matt Madhavan wrote: Hi John, I have to admit though! The documentation could be whole lot better. But I also have to admit to what Peter said. We should all contribute

Re: Fun with OSGI

2011-08-14 Thread Peter Kriens
but it will not force you to be modular, class loader hacks still work. Kind regards, Peter Kriens P.S. Somehow it feels like you see the container as too big. It takes +/-100ms to start a framework. So if you're testing you do not need to create a MockBundleContext. Anyway, MOST of your code

OSGi, Where Are Thou?

2011-07-18 Thread Peter Kriens
regards, Peter Kriens - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: OSGi, Where Are Thou?

2011-07-18 Thread Peter Kriens
Hmm, the widget is actually already slowing down at 150 users. See what I can do. It is, however, a standard Google shared spaces widget Kind regards, Peter Kriens On 18 jul 2011, at 15:44, Christian Schneider wrote: Hi Peter, already joined. It is only a bit sad that the app does

Re: OSGi, Where Are Thou?

2011-07-18 Thread Peter Kriens
Thanks, help out and spread the news! I really might drop in for lunch of a serious number of people come together. Kind regards, Peter Kriens On 18 jul 2011, at 16:08, Toni Menzel wrote: Google'ing helps in many cases.. Sometimes more helpful than outdated blogs. @Peter: nice

Re: Maven bundle plugin and DynamicImport-Package

2011-07-12 Thread Peter Kriens
Doesn't optional then work better (if you know the packages)? Kind regards, Peter Kriens On 7 jul 2011, at 20:00, Alasdair Nottingham wrote: Hi, I have just created a bundle that does a DynamicImport-Package. Is it possible to get the Maven bundle plugin to generate the package

Re: Maven bundle plugin and DynamicImport-Package

2011-07-12 Thread Peter Kriens
As you're VERY closely tied to the spec package I would just export the package ... Kind regards, Peter Kriens On 12 jul 2011, at 11:21, Alasdair Nottingham wrote: No it doesn't. I'm taking advantage of the deferred resolution behaviour of DynamicImport-Package rather than the up

Re: Abstract classes as service specifications

2011-06-13 Thread Peter Kriens
There is actually no technical reason why you could not proxy with classes as long as they're not final. With iPOJO's byte weaving capabilities already in place you can easily create a subclass. Kind regards, Peter Kriens On 10 jun 2011, at 15:31, Richard S. Hall wrote: On 6/10/11 4

Re: Implementing the OSGi logging service

2011-06-08 Thread Peter Kriens
regret I have is that we did not use the whiteboard for the log readers ... Kind regards, Peter Kriens On 8 jun 2011, at 08:28, Christopher BROWN wrote: Interesting idea... In that case, the default Felix Log Service should work for me (it's just a memory store IIRC). The only issue

Re: ConfigurationAdmin SCR component self-update

2011-06-08 Thread Peter Kriens
for the initial start and any updates. Clean and simple. Of course you should not do this for fine grained updates but for courser configuration that is the approach: update config - use the notification to reflect the update. Kind regards, Peter Kriens On 5 jun 2011, at 07:49, Andrei Pozolotin

Re: Provider Version Policy

2011-06-07 Thread Peter Kriens
For the instructions you have to be at the bnd documentation: http://www.aqute.biz/Bnd/Bnd Kind regards, Peter Kriens On 6 jun 2011, at 20:39, Matt Hughes wrote: I'm trying to configure a separate version policy for providers vs consumers as described here (http://www.aqute.biz

Re: Spring like Bean definition profiles in/for OSGi/Blueprint - An interesting question

2011-06-07 Thread Peter Kriens
to develop something similar as its native model is often not well understood by enterprise developers. Kind regards, Peter Kriens On 23 mei 2011, at 18:47, Matt Madhavan wrote: Hello All, This is an interesting question for you all! For all these years Spring users have been

Re: How can I get a compatible version syntax in Manifest.MF from the maven-bundle-plugin Plugin? The new one generates new syntax that can't be read by ServiceMix

2011-06-07 Thread Peter Kriens
regards, Peter Kriens Questions: 1. Is there a way to force the plugin to use the older version=X.Y syntax? -version-policy=${version;==} 2. Is there a way to specify a version of the plug into generate the older syntax? -version-policy=${version;==} 3. Is there a way to specify

Re: Felix Maven2 bundle plugin : problem with version ranges

2011-05-25 Thread Peter Kriens
is specified on an import. Kind regards, Peter Kriens On 25 mei 2011, at 07:49, Andy Jefferson wrote: I think the disconnect is that the maven-bundle-plugin (as I understand it) generates the Import-Package version number by letting Bnd analyze the *jar* in question

Re: how can I handle error condition during activate()?

2011-05-23 Thread Peter Kriens
It is the beauty of DS: Just throw the exception and it ends up in the log! Kind regards, Peter Kriens On 16 mei 2011, at 21:47, sam lee wrote: Hey, I have: @Activate private void activate(MapString, ? config) { cdnHost = OsgiUtil.toString(config.get(PROP_CDN_HOST

Re: A better life: quick webapp deploy

2011-05-13 Thread Peter Kriens
right ... that is the way to go ... modularize and share via the service registry. Kind regards, Peter Kriens On 10 mei 2011, at 18:26, mvangeert...@comcast.net wrote: Danielle, What you are trying to do is best accomplished by using services. In my application, we

Re: A better life: quick webapp deploy

2011-05-10 Thread Peter Kriens
bundle to register and consume services. How this is achieved is then an implementation detail. Kind regards, Peter Kriens On 10 mei 2011, at 13:12, Daniele Dellafiore wrote: On Fri, May 6, 2011 at 4:47 PM, Peter Kriens peter.kri...@aqute.biz wrote: I am not sure I understand where

Re: A better life: quick webapp deploy

2011-05-10 Thread Peter Kriens
templates. With a tool like bnd On 10 mei 2011, at 17:37, Daniele Dellafiore wrote: On Tue, May 10, 2011 at 3:17 PM, Peter Kriens peter.kri...@aqute.bizwrote: In OSGi the idea is that you get a bunch of bundles that collaborate through services. The bundle is a module and is therefore

Re: Bundle-NativeCode question.

2011-05-06 Thread Peter Kriens
Excellent post, should turn it into a blog. Kind regards, Peter Kriens On 29 apr 2011, at 13:39, Holger Hoffstätte wrote: Sorry for writing so much but you asked for it.. :-) On 28.04.2011 20:08, duncan wrote: We are accessing native libraries from Java. This works outside

Re: A better life: quick webapp deploy

2011-05-06 Thread Peter Kriens
servlet? Kind regards, Peter Kriens On 21 apr 2011, at 10:48, Daniele Dellafiore wrote: I thank you all for the information. I need to make it run from the maven-bundle-plugin 2.2.0. With the configuration (pasted in the end of the email) and instructing the maven-war-plugin

Re: How to avoid . in Bundle-ClassPath while using maven-bundle-plugin to build WAB

2011-05-06 Thread Peter Kriens
the advantage that you do getResource() on the resources in your wab which can be convenient. Kind regards, Peter Kriens On 26 apr 2011, at 07:21, Sahoo wrote: Any input? On Friday 22 April 2011 08:04 AM, Sahoo wrote: Hi, I want to build a WAB using maven-bundle-plugin. My WAB

Re: bndlib dependency in maven-bundle-plugin

2011-04-14 Thread Peter Kriens
. It is not very likely that 1.43.0 is improving such a situation, no changes have been made in this area. Kind regards, Peter Kriens On 14 apr 2011, at 08:55, Yuri de Wit wrote: I noticed that the current 2.3.4 maven-bundle-plugin has a dependency on an older version of bndlib 1.15.0

Re: Eventadmin and producer consumer pattern

2011-03-30 Thread Peter Kriens
constituency. That said, we obviously try to make the specs as easy as possible to use but not at the cost of making them more complex to implement. Kind regards, Peter Kriens You get the event but the contract is that you return quickly. So just run the body in an Executor. On 25

Re: Sigil questions

2011-02-28 Thread Peter Kriens
effort to create a public API. Kind regards, Peter Kriens On 24 feb 2011, at 15:57, Martin Ždila wrote: Hi Dave On Tue, Feb 22, 2011 at 10:54 PM, David Savage david.sav...@paremus.com wrote: I think it might be possible to use plain bnd files with ivy, but one crucial difference

Re: Updatable agent with OSGI. Possible?

2011-02-14 Thread Peter Kriens
Dropbox does not mount ... it just maintains a folder, there is no magic involved, at least not on my Mac. I made the same mistake :-) Kind regards, Peter Kriens On 12 feb 2011, at 00:48, Andriy Drozdyuk wrote: Dropbox? Does that really work? Haha! Does one have to mount the folder

Re: Updatable agent with OSGI. Possible?

2011-02-10 Thread Peter Kriens
S3Install https://github.com/njbartlett/pmpp Have fun, kind regards, Peter Kriens On 9 feb 2011, at 06:03, Dan Tran wrote: Hello I am very new to OSGI and spent a number of hours over Safari online bookstore over this topic. But still could not get a grasp of what I am looking

Re: Maven Bundle Plugin and tests

2011-01-19 Thread Peter Kriens
I think it is MUCH easier to use bnd directly that attempt to re-use it through ant ... Kind regards, Peter Kriens On 18 jan 2011, at 16:21, Luke Patterson wrote: On Tue, Jan 18, 2011 at 7:51 AM, Simon schemo...@gmail.com wrote: The more complex part is integrating all

Re: Maven Bundle Plugin and tests

2011-01-18 Thread Peter Kriens
The maven plugin is just used for packaging so I do not think there is much support for testing a la bnd. In ant it is quite easy though. I guess someone needs to write a maven plugin for this ... Kind regards, Peter Kriens On 14 jan 2011, at 17:51, Simon wrote: Hello, I'm

Re: [Mvn plugin] how to include jar resources

2011-01-03 Thread Peter Kriens
Include-Resource is relative to the bnd file (which I guess is the maven pom directory?). So this should work but it might be bnd cannot find the file. You can rename the file like: Include-Resourcesomeconfig.file=resources/someconfig.file/Include-Resource Kind regards, Peter Kriens

Re: Scala and osgi

2010-11-20 Thread Peter Kriens
Only RUNTIME annotations are imported because they're the only one that can cause imports ... Kind regards, Peter Kriens On 19 nov 2010, at 17:05, Guillaume Nodet wrote: Note that loading a class with annotations while annotations are not available never result

Re: Scala and osgi

2010-11-19 Thread Peter Kriens
There is a class in bnd that can do this: aQute.lib.osgi.Clazz, it does not need access to the actual annotation classes. bnd uses CLASS annotations for its DS support because it is a lot easier to parse byte codes than source code. Kind regards, Peter Kriens On 18 nov 2010, at 20

Re: Building OSGi bundles with Apache Ant

2010-11-19 Thread Peter Kriens
Sorry to hear you found bnd in ant too hard. However, wouldn't it be better to help to make a front end for bnd in ant because that is where your pain seems to be? Just looking at your source code it seems you miss a few references (annotations that refer to classes, the Xyz.class reference

Re: maven-bundle-plugin: how to exclude a few classes from a package

2010-11-10 Thread Peter Kriens
resource filtering on the Private-Package, Export-Package, and Conditional-Package. Kind regards, Peter Kriens On 2 nov 2010, at 09:02, Sahoo wrote: [Apology if this is a duplicate. I sent the earlier email from my Sun.COM email which does not subscribe to this ML] I am repackaging

Re: possible bug in maven-bundle-plugin

2010-10-26 Thread Peter Kriens
I think this is a framework error :-) The parts of the versions are integers this 04 == 4. So 0.04.0.SNAPSHOT = 0.4 But I can add a feature to bnd to cleanup the import version. I am already doing this for getting rid of the - sign and other mavenisms. Kind regards, Peter Kriens

Re: EventAdmin

2010-06-14 Thread Peter Kriens
Any service by definition must be thread safe or it will fail ... guaranteed. There is no way to control what thread will call a service at what time in OSGi. Kind regards, Peter Kriens On 14 jun 2010, at 08:06, Carsten Ziegeler wrote: Lucas Galfaso wrote Hi All, I am trying

Re: Buddy class loading supported?

2010-05-11 Thread Peter Kriens
Felix does not have it. Though buddy class loading works most of the time, it is basically an attempt to crawl back to the linear classpath and its JAR hell. Hope this helps, kind regards, Peter Kriens On 6 mei 2010, at 22:33, Donald Whytock wrote: I wound up having to create

Re: how to control extender's order?

2010-04-30 Thread Peter Kriens
just register the servlet you want as a service. This model uses services to handle dependencies and thus ordering. Almost all of the OSGi machinery is geared to make service dependencies work reliable and actually quite nicely. Kind regards, Peter Kriens On 30 apr 2010, at 17:49

Re: Exploring Felix/Karaf

2010-04-07 Thread Peter Kriens
. The mapping from a class name to a class is not defined in OSGi because you can actually have multiple versions of the same class in the VM ... Kind regards, Peter Kriens On 10 mrt 2010, at 03:12, Chris Hane wrote: Leen, Thanks for the info. I did a little reading around the net

CFP OSGi DevCon 2010 with EclipseCon 2010 in Santa Clara, Mar 22-25

2009-11-30 Thread Peter Kriens
for other discounts, there are several schemes this year. The OSGi DevCon Program Committee (Tim Diekmann, Mike Francis, Christer Larsson, Andreas Kraft, and Peter Kriens)

Reminder: OSGi Devcon Europe 2009, June 22, Zür ich

2009-06-12 Thread Peter Kriens
person for the whole day, including lunch. And for Jazoon visitors, this is free (but still requires registration). I hope to see you in Zürich Monday June 22! Kind regards, Peter Kriens

[announce] Jazoon + OSGi Devcon: June 22

2009-06-04 Thread Peter Kriens
/DevConEurope2009/HomePage I hope to see many you there! Kind regards, Peter Kriens - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Feature repositories vs. Maven repositories vs. OBRs in Karaf

2009-05-07 Thread Peter Kriens
these dependencies taking local details of the deployment env. into account. E.g. screen size. That is, you can easily create an OBR index on top of a Maven repo. Comparing them is like comparing apples and a fruit basket. Kind regards, Peter Kriens On 7 mei 2009, at 00:29, Moloney

Re: Feature repositories vs. Maven repositories vs. OBRs in Karaf

2009-05-07 Thread Peter Kriens
of view I believe OBR has quite a bit to offer. So it depends what you want ... Kind regards, Peter Kriens On 7 mei 2009, at 08:47, Guillaume Nodet wrote: Right, but I don't have much problems with OBR the spec, but mostly with how it can be used now. Repositories are huge xml files

Re: Feature repositories vs. Maven repositories vs. OBRs in Karaf

2009-05-07 Thread Peter Kriens
spec, but from an architectural point of view I think it has a great future. I am the last to claim we really have a product, but for me at least it is the most promising venue to solve some nasty problems our area of the industry faces. Kind regards, Peter Kriens On 7 mei 2009

Re: osgi design pattern question

2009-04-28 Thread Peter Kriens
Declarative Services, simple and small. Kind regards, Peter Kriens On 27 apr 2009, at 21:07, Ittay Dror wrote: Hi, I'd like to get some advice about design patterns in OSGi, I hope this is appropriate (not being felix specific). I have a bunch of Handler objects and a Manager

Re: Fragments?

2009-04-08 Thread Peter Kriens
just use each of the involved class loaders. I've written a blog about this some time ago: http://www.osgi.org/blog/2008/08/classy-solutions-to-tricky-proxies.html Some more links are at the comments in the end. Kind regards, Peter Kriens On 8 apr 2009, at 05:21, David Gallardo

Re: FileInstall Start/Stop

2009-03-31 Thread Peter Kriens
it configurable ... Kind regards, Peter Kriens On 30 mrt 2009, at 18:43, Dan J Hrivnak wrote: That is working as designed. You are stopping it using the shell, but the bundle file is still in your FileInstall directory right? So FileInstall will see it, see that it isn't started

Re: maven-bundle-plugin 2.0.0 - Index xxx: ContantValue

2009-03-06 Thread Peter Kriens
That is fine with me ... tell me what to do? I have no idea to be linked with the maven repo. Maybe we can arrange this during EclispeCon. Kind regards, Peter Kriens On 6 mrt 2009, at 08:59, Stuart McCulloch wrote: 2009/3/6 Peter Kriens peter.kri...@aqute.biz Ouch

Re: Grizzly-based HTTP Service

2009-03-06 Thread Peter Kriens
Also the Felix repo ... Kind regards, Peter Kriens On 6 mrt 2009, at 15:26, Richard S. Hall wrote: I thought some people might find this interesting: http://www.nabble.com/Grizzly-OSGi-Http-Service-Ready-for-testing-td22363119.html - richard

Re: Exception while using obr repository file generated by the bundleplugin

2009-03-03 Thread Peter Kriens
Hmm, it often feels more like committeD ... Kind regards, Peter Kriens On 3 mrt 2009, at 17:04, Richard S. Hall wrote: You are a committer. :-) - richard Peter Kriens wrote: Implement these operators? I can send you the source code for a filter that implements them ... Kind

Re: RegisterService and asynchronicity

2009-02-17 Thread Peter Kriens
regards, Peter Kriens On 16 feb 2009, at 17:14, Richard S. Hall wrote: For someone who preaches no dependencies on ordering!, synchronous events are just ordering in sheep's clothing. :-P - richard Peter Kriens wrote: I am not sure I fully agree. Though I do see the problems

Re: RegisterService and asynchronicity

2009-02-17 Thread Peter Kriens
Hey, I have proposed transactions in OSGi in 1999!! Kind regards, Peter Kriens On 17 feb 2009, at 19:00, Todor Boev wrote: Richard S. Hall wrote: Perhaps you'd like this approach better if we had integrated transactions. :-) Just out of curiosity and if it's not too much

Re: RegisterService and asynchronicity

2009-02-16 Thread Peter Kriens
it is not a black and white issue. Programmers should be careful to use the synchronous events but I am not ready to declare them all evil. It is easy to go from sync to async, vice versa is impossible. Kind regards, Peter Kriens On 13 feb 2009, at 21:51, Richard S. Hall wrote: I agree

Re: Using BND as a test harness

2009-02-16 Thread Peter Kriens
Even better, it also works inside Eclipse ... Kind regards, Peter Kriens On 13 feb 2009, at 20:22, Kirk Knoernschild wrote: Hey Richard, This looks pretty cool. So do you know if BND actually starts the OSGi framework and validates the bundles by starting them? Am I

Re: Maven Bundle Plugin and -versionpolicy

2009-02-03 Thread Peter Kriens
Well, all the elements are given to bnd, so I guess you can just set _versionpolicy? Kind regards, Peter Kriens On 3 feb 2009, at 08:39, Heiko Seeberger wrote: Hi, I would like to ask if there are any plans for the Maven Bundle Plugin to support -versionpolicy? Thanx Heiko

Re: File Install ManagedServiceFactory configurations

2009-01-21 Thread Peter Kriens
Can you file an error in JIRA? This seems to be wrong. Kind regards, Peter Kriens On 21 jan 2009, at 13:50, Paul Neyens wrote: I just discovered the following behavior which looks strange to me: Suppose you have two ManagedServiceFactory instances registered with pids

Re: OBR bundle installation order?

2009-01-19 Thread Peter Kriens
explicitly specifying the dependencies, they are toast. Believe me, do no even try to control the start order. That is what we got dynamic services for. Kind regards, Peter Kriens On 19 jan 2009, at 21:32, Allen Lau wrote: Hi, Was wondering if there was a way to force the order

Re: bindex tool is unable to retain the Require-Bundle/bundle-version info in the repository.xml

2008-12-14 Thread Peter Kriens
There is also an SVN project, see the end of http://www.osgi.org/Repository/BIndex Kind regards, Peter Kriens On 11 dec 2008, at 14:41, Richard S. Hall wrote: Typically, Peter distributes the source code of his projects right in the JAR file itself in the OSGI-OPT directory

Re: bindex tool is unable to retain the Require-Bundle/bundle-version info in the repository.xml

2008-12-03 Thread Peter Kriens
filter, then I would be saved. Kind regards, Peter Kriens Kind regards, Peter Kriens On 2 dec 2008, at 19:23, Sriharsha wrote: I am downloading spring - osgi jars from following repository, http://www.springsource.com/repository/app/ I have currently downloaded

Re: bnd version policy for import-package

2008-12-02 Thread Peter Kriens
The version policy is not implemented in the maven plugin. This should happen soon because Stuart McCulloch was telling me he was going to work on this. Kind regards, Peter Kriens On 2 dec 2008, at 14:20, Hampel, Michael wrote: Hello, I have a question about how bnd determines

Re: bindex tool is unable to retain the Require-Bundle/bundle-version info in the repository.xml

2008-11-13 Thread Peter Kriens
Require-Bundle : Bundle1;bundle-version=1.0.0 Actually means that you connect to 1.0.0 and later ... If you want to restrict, you must use a range Require-Bundle: Bundle1;bundle-version=[1.0.0,1.1.0) Kind regards, Peter Kriens On 13 nov 2008, at 14:57, Sriharsha wrote: I am

Re: bindex tool is unable to retain the Require-Bundle/bundle-version info in the repository.xml

2008-11-05 Thread Peter Kriens
The filter expression is wrong. By fixing the previous bug I actually introduced a null pointer exception and did not code the version correctly. This is now done correctly (I hope). I guess my bias against Require-Bundle shows a bit too much :-( Kind regards, Peter Kriens

Re: bindex tool is unable to retain the Require-Bundle/bundle-version info in the repository.xml

2008-11-02 Thread Peter Kriens
I have tried to fix this bug, please try it out ... Kind regards, Peter Kriens On 3 nov 2008, at 05:48, Sriharsha wrote: Hi.., I am developing a swing application framework on Felix implementation of OSGi. I am using Felix OBR and bindex tool for my repository automation

Re: IPojo - universe of components?

2008-10-29 Thread Peter Kriens
to write. Kind regards, Peter Kriens On 28 okt 2008, at 17:03, Kit Plummer wrote: Brad, I would warn against the non-standard nature of iPojo. Not to say that it is a bad thing, but given the landscape and components I think you'll struggle with different issues moving

Re: [maven-bundle-plugin] How to set version attribute for all submodules

2008-10-20 Thread Peter Kriens
, Peter Kriens On 17 okt 2008, at 16:55, Sahoo wrote: Stuart McCulloch wrote: 2008/10/17 Sahoo [EMAIL PROTECTED] My project has a lot of subprojects that get released together. I want packages exported as part of all the bundles to have same version attribute. I can't rely on automatic

Re: AW: AW: Problem with bindex/generation of repository.xml

2008-10-01 Thread Peter Kriens
Well, they call it age :-) It gets even worse after you get children ... Kind regards, Peter Kriens On 30 sep 2008, at 18:48, Richard S. Hall wrote: Well, I definitely don't remember talking about these, but I agree that the filter is currently insufficient to handle these issues

Re: AW: Problem with bindex/generation of repository.xml

2008-09-30 Thread Peter Kriens
is a superset of the OSGi filter syntax. Kind regards, Peter Kriens On 30 sep 2008, at 08:03, Hampel, Michael wrote: Hello Mr. Kriens, Thank you for your answer and clarifications - but I still have to avoid the InvalidSyntaxException. Would it be better to change bindex code

Re: Development cycle

2008-09-26 Thread Peter Kriens
bad fileinstall could be, not stopping a bundle and installing a new one is not possible as far as I know? Kind regards, Peter Kriens On 25 sep 2008, at 22:16, Vegar Westerlund wrote: Richard S. Hall: Pierre De Rop wrote: Vegar Westerlund wrote: I'm developing a set of bundles

Re: [Fwd: jar artifact contains more classes than desired.]

2008-09-18 Thread Peter Kriens
If you see the class files in the classes directory, then they cannot come from bnd. Bnd never writes to this directory and I can not imagine that the maven plugin writes. The output is always a JAR file. Kind regards, Peter Kriens On 18 sep 2008, at 14:39, Sahoo wrote: Stuart

Re: [Fwd: jar artifact contains more classes than desired.]

2008-09-16 Thread Peter Kriens
You do not seem to be using the bnd plugin as far as I can see? The packaging is jar, which means you just get what is in your project as far as I know. Kind regards, Peter Kriens On 16 sep 2008, at 17:25, Sahoo wrote: I had sent this email to maven forum, but I think I may

Re: [Fwd: jar artifact contains more classes than desired.]

2008-09-16 Thread Peter Kriens
So where are the instructions? Your POM does not contain ANY bnd instruction and I can't see anything in the log? Kind regards, Peter Kriens On 16 sep 2008, at 19:34, Sahoo wrote: I do use bnd plugin. I explicitly configure maven-bundle-plugin's manifest in a parent POM to run

Re: OSGI Tools question

2008-09-11 Thread Peter Kriens
the Eclipse Maven plugin becomes available. Or take a look what standalone bnd can do for you. Kind regards, Peter Kriens On 10 sep 2008, at 20:24, Brad Cox, Ph.D. wrote: Reposted; first one got buried somewhere. I'm using felix's maven plugin to build OSGI apps in eclipse. I