ConfigurationAdmin & SCR component self-update

2011-06-04 Thread Andrei Pozolotin
Hello. I am using felix ConfigurationAdmin & SCR; question: how can I combine ConfigurationAdmin & component self-update? for example, SCR component has a ui located on the screen (x,y); this is pushed from ConfigurationAdmin to the component via SCR.activate() & SCR.modi

Re: ConfigurationAdmin & SCR component self-update

2011-06-05 Thread Andrei Pozolotin
Felix: Original Message Subject: Re: ConfigurationAdmin & SCR component self-update From: Felix Meschberger To: users@felix.apache.org Date: Sun 05 Jun 2011 07:41:28 AM CDT > Hi, > > Am Sonntag, den 05.06.2011, 06:49 +0100 schrieb Andrei Pozolotin: >

remove felix.security after framework is started?

2011-06-10 Thread Andrei Pozolotin
Hello, can you please let me what is the clean way to remove felix.security fragment bundle after the framework is already started with it? if I just call bundle.uninstall() on this fragment, the framework does remove it but becomes unusable, blows up with class not fo

jnlp & felix.security

2011-06-10 Thread Andrei Pozolotin
Karl, hello again: 1) when I load a felix embedded in jnlp app, 2) and attempt to issue Bundle bundle = framework.getBundleContext().installBundle(location); 3) for location = http://xxx/org.apache.felix.framework.security-1.4.2.jar 4) I get the dread

Re: remove felix.security after framework is started?

2011-06-10 Thread Andrei Pozolotin
or example are you running with java security > enabled, what are the actual class not found exceptions, etc.? > > regards, > > Karl > > p.s.: feel free to create a jira issue with the information. > > On Fri, Jun 10, 2011 at 5:23 PM, Andrei Pozolotin > wrote: >

Re: remove felix.security after framework is started?

2011-06-10 Thread Andrei Pozolotin
information like for example are you running with java security > enabled, what are the actual class not found exceptions, etc.? > > regards, > > Karl > > p.s.: feel free to create a jira issue with the information. > > On Fri, Jun 10, 2011 at 5:23 PM, Andrei Pozolotin &

Re: remove felix.security after framework is started?

2011-06-10 Thread Andrei Pozolotin
y after framework is started? From: Andrei Pozolotin To: users@felix.apache.org Date: Fri 10 Jun 2011 04:04:20 PM CDT > > Karl: > > 0) yes, under "normal use", like in gogo, you can install / > uninstall your bundle just fine > > my scenario is like

Re: jnlp & felix.security

2011-06-10 Thread Andrei Pozolotin
2:58.521 [javawsApplicationMain] DEBUG com.barchart.platform.host.main.App - permission : (java.net.SocketPermission localhost:1024- listen,resolve) Andrei. Original Message Subject: jnlp & felix.security From: Andrei Pozolotin To: users@felix.apache.org Date: Fri 10 Jun 2011 03:16:36 PM CDT > &g

Re: ConfigurationAdmin & SCR component self-update

2011-06-11 Thread Andrei Pozolotin
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,

Re: Could not create framework :java.lang.NoClassDefFoundError:org/osgi/framework/launch/Framework ?

2011-06-20 Thread Andrei Pozolotin
example how I embed felix in jnlp: https://github.com/carrot-garden/carrot-tester/blob/master/carrot-test-osgi-security/carrot-test-osgi-security-host/src/main/java/bench/HostOsgiFramework.java Original Message Subject: Re: Could not create framework :java.lang.NoClassDefFoundEr

felix & parallel bundle download/install?

2011-09-09 Thread Andrei Pozolotin
Hello; Can someone please share: I am curious if felix supports parallel (multi-threaded) bundle download/install? thank you; Andrei.

scr modified() w/o config admin?

2011-10-06 Thread Andrei Pozolotin
Hello; Can someone please shed some light on: is there a way to initiate scr modified() without config admin service? the use case is: 1) component is already created by osgi component factory http://www.slideshare.net/fmeschbe/declarative-services-dependency-injection-

scr enableComponent with properties?

2011-10-06 Thread Andrei Pozolotin
Hello again; Can you please clarify: is there a way to issue scr enableComponent() or equivalent: http://www.osgi.org/javadoc/r4v401/org/osgi/service/component/ComponentContext.html#enableComponent%28java.lang.String%29 with properties Map config, which would be injected

Re: scr modified() w/o config admin?

2011-10-07 Thread Andrei Pozolotin
t; > Regards > Felix > > Am 07.10.2011 um 02:55 schrieb Andrei Pozolotin: > > >>Hello; >> >>Can someone please shed some light on: >> >>is there a way to initiate scr modified() without config admin service? >> >>the use cas

Re: scr enableComponent with properties?

2011-10-07 Thread Andrei Pozolotin
u might want to > consider factory components. > > Regards > Felix > > Am 07.10.2011 um 03:01 schrieb Andrei Pozolotin: > > >>Hello again; >> >>Can you please clarify: >> >>is there a way to issue scr enableComponent() or equivalent: &g

Re: java scripting inside a bundle

2011-10-19 Thread Andrei Pozolotin
Lance: the underlying problem is that http://download.oracle.com/javase/6/docs/api/javax/script/ScriptEngineManager.html is using spi http://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#Service%20Provider which is to be supported soon in osgi (page 145): http://www.osgi.org/do

Re: Latest maven-bundle-plugin 2.4.0-SNAPSHOT

2011-11-17 Thread Andrei Pozolotin
Stuart: 0) I have maven-bundle-plugin enabled in the project; 1) I have other plugin that places some generated files directly in {basedir}/target/classes 2) when I run "mvn jar:jar" these files appear in the final jar just fine; 3) but when I run "mvn package" (which invokes maven-bundle-plugi

Re: Latest maven-bundle-plugin 2.4.0-SNAPSHOT

2011-11-17 Thread Andrei Pozolotin
yes, that did it, thank you! I wish it was in bold, red, and font size 128 :-) Original Message Subject: Re: Latest maven-bundle-plugin 2.4.0-SNAPSHOT From: Stuart McCulloch To: users@felix.apache.org Date: Thu 17 Nov 2011 03:00:43 PM CST > On 17 Nov 2011, at 20:58, And

Re: Latest maven-bundle-plugin 2.4.0-SNAPSHOT

2011-11-17 Thread Andrei Pozolotin
ers@felix.apache.org Date: Thu 17 Nov 2011 03:00:43 PM CST > On 17 Nov 2011, at 20:58, Andrei Pozolotin wrote: > >> Stuart: >> >> 0) I have maven-bundle-plugin enabled in the project; >> >> 1) I have other plugin that places some generated files directly in >

Re: Latest maven-bundle-plugin 2.4.0-SNAPSHOT

2011-11-18 Thread Andrei Pozolotin
: users@felix.apache.org Date: Thu 17 Nov 2011 04:29:16 PM CST > On 17 Nov 2011, at 22:12, Andrei Pozolotin wrote: > >> Stuart: >> >> one more bizarreness: >> >> 1) parent pom declares >> >> >>org.apache.felix >&g

Re: Latest maven-bundle-plugin 2.4.0-SNAPSHOT

2011-11-18 Thread Andrei Pozolotin
@felix.apache.org Date: Fri 18 Nov 2011 11:36:25 AM CST > On 18 Nov 2011, at 14:53, Andrei Pozolotin wrote: > >> Stuart: >> >> probably I could ask more simple question: >> >> how is related to ? > This is a BND feature - when you use the Service-Compon

fake manifest entries : maven-bundle-plugin 2.3.5 -> 2.3.7

2012-02-13 Thread Andrei Pozolotin
Stuart: 1) in my case I need to create fake bundle for felix embedder host; I am providing auto-generate an entry for org./osgi/.framework./system/./packages/./extra/ as follows: 1) use maven-bundle-plugin 2.3.5 with manual entries with <_failok>true 2) generate

Re: fake manifest entries : maven-bundle-plugin 2.3.5 -> 2.3.7

2012-02-13 Thread Andrei Pozolotin
st entries : maven-bundle-plugin 2.3.5 -> 2.3.7 From: Stuart McCulloch To: users@felix.apache.org Date: Mon 13 Feb 2012 11:52:56 AM CST > On 13 Feb 2012, at 17:33, Andrei Pozolotin wrote: > >>Stuart: >> >>1) in my case I need to create fake bundle for felix embedder hos

Re: Future of the Maven SCR Plugin

2012-03-06 Thread Andrei Pozolotin
To All Interested: I published my implementation of "declarative services annotations framework": https://github.com/carrot-garden/carrot-garden.github.com/blob/master/carrot-garden-scr.md Thank you, Andrei Original Message Subject: Re: Future of the

Re: Maven-bundle-plugin: specify import version range only for the case the package is needed

2013-02-14 Thread Andrei Pozolotin
I also would like to know the solution. Original Message Subject: Maven-bundle-plugin: specify import version range only for the case the package is needed From: Reto Bachmann-Gmür To: users Date: Thu 14 Feb 2013 04:58:26 AM CST > Hello > > Many bundles in my project but not al

felix obr -> r5?

2013-03-29 Thread Andrei Pozolotin
** *Richard, hello:** * 1) I am curious if there are plans to move felix obr to osgi r5 any time soon? 2) I want obr to work in karaf + nexus with authentication, but there are issues: https://github.com/barchart/barchart-service/wiki/OBR Do you think it is feasible

Re: felix obr -> r5?

2013-03-31 Thread Andrei Pozolotin
where can I find these "some people"? :-) Original Message Subject: Re: felix obr -> r5? From: Richard S. Hall To: users@felix.apache.org Date: Sun 31 Mar 2013 02:55:55 PM CDT > > On 3/29/13 12:41 , Andrei Pozolotin wrote: >> ** *Richard, hello:**

Re: felix obr -> r5?

2013-03-31 Thread Andrei Pozolotin
ject: Re: felix obr -> r5? From: Neil Bartlett To: users Cc: "Richard S. Hall" Date: Sun 31 Mar 2013 03:37:41 PM CDT > On Sun, Mar 31, 2013 at 9:21 PM, Andrei Pozolotin < > andrei.pozolo...@gmail.com> wrote: > >> where can I find these "some people"

Re: felix obr -> r5?

2013-04-02 Thread Andrei Pozolotin
Felix: you are right. but the scope is too big. I could pick up only part of it. here is a list of "those" found so far * Neil Bartlett * Simon Chemouil * Rafal Krzewski * Andrei Pozolotin Thank you, Andrei Original Message --

[maven-bundle-plugin] semantic versions?

2013-04-06 Thread Andrei Pozolotin
Hi. Aries recently enforced semantic versions with their own plugin http://mail-archives.apache.org/mod_mbox/aries-dev/201301.mbox/%3ccaecq3a_uk8+90ckak9sfdnhlfj0cvyc6tyqxf5dwcyxd4i3...@mail.gmail.com%3E I am curious if there are plans to expose similar functionality in maven