Re: Compendium services implemented by Felix

2010-08-24 Thread Rodrigo Madera
> > I even entertained the thought of writing a book that > simply categorizes and briefly introduces the various Apache projects to > better inform the community where to find what they need... I would buy two copies... instantly. ;-)

Re: Resource Management

2009-11-24 Thread Rodrigo Madera
> > I guess the closest thing to that would be > http://www.osgi.org/Research/HomePag > I see my wish has come true! =o)

Re: Resource Management

2009-11-24 Thread Rodrigo Madera
On Tue, Nov 24, 2009 at 12:55 PM, Kiev Gama wrote: > > Hello, > > You do not have such fine grained control with bundles very easily. > This master's thesis may interest you: > "Resource monitoring and visualization of OSGi-based software components" > http://www.vtt.fi/inf/pdf/publications/2008/

Re: maven-scr-plugin and QDox (or JAXB)

2008-03-08 Thread Rodrigo Madera
gt; Carsten Ziegeler wrote: > > I just committed an initial version which uses > ... > > > > (See https://issues.apache.org/jira/browse/FELIX-509 for more info) > > > > Could you please test this if it works for you? > > > > Thanks > > Carsten >

Re: File Install bundle

2008-03-05 Thread Rodrigo Madera
There we go: https://issues.apache.org/jira/browse/FELIX-512 Did Peter Kriens donate this to Apache? Is he even a member here? Well, anyways, thanks Peter for your utility. Regards, Rodrigo Madera On Thu, Mar 6, 2008 at 2:50 AM, Stuart McCulloch < [EMAIL PROTECTED]> wrote: > On 0

Re: File Install bundle

2008-03-05 Thread Rodrigo Madera
Since you brought it up, just a recommendation for it... Make it *sort* the files it reads before it installs them, that way we can use names as in: 0100_bundle_one 0110_bundle_two 0120_etc_etc That would be nice one-liner ;-) Regards, Rodrigo On Thu, Mar 6, 2008 at 2:10 AM, Stuart McCulloch <

Re: maven-scr-plugin and QDox (or JAXB)

2008-03-04 Thread Rodrigo Madera
lieve that 30 minutes is more than enough for this simple (but useful) change. Kind regards, Rodrigo Madera On Tue, Mar 4, 2008 at 4:58 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Rodrigo Madera wrote: > > Hello Ziegeler, > > > > I believe that having explicit

Re: maven-scr-plugin and QDox (or JAXB)

2008-03-04 Thread Rodrigo Madera
=o) Yours, Rodrigo Madera On Tue, Mar 4, 2008 at 10:42 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Hi, > > thanks for the analysis. Yes, qdox is really very buggy and has several > problems; and there seems to be little interest to fix these in new > releases :( I'm s

Re: maven-scr-plugin and QDox (or JAXB)

2008-03-03 Thread Rodrigo Madera
ry will be ignored. This is a simple hack that solves the QDox problem, but it's much simpler than messing with byacc rules for this. Hope this helps somebody with the same problem I had when using OSGi + JAXB (or any other tool based on buggy QDox). Regards, Rodrigo Madera P.S. Keywords: mave

Re: non-jar as bundle unit

2008-03-03 Thread Rodrigo Madera
Just to complement McCulloch's input: I would not recommend you to use the BND tool directly. Integrate it into the build manager instead. Depending on your current build tool it can be easy to integrate it into the build process or not. The fact that your build system is non-standard may cause yo

maven-scr-plugin and QDox (or JAXB)

2008-03-03 Thread Rodrigo Madera
OSGi + JAXB please give us some thoughts on how this QDox issue was avoided or solved. Thank you for your attention, Rodrigo Madera

Re: non-jar as bundle unit

2008-03-03 Thread Rodrigo Madera
While I personally know of no standard nor hack to achieve this, I strongly recommend that you throw away your current build system in favor of Maven2. Regards, Rodrigo On Mon, Mar 3, 2008 at 2:55 PM, jaredmac <[EMAIL PROTECTED]> wrote: > > Hello, > > Is there any way to have something other tha

Re: Bundle Plugin: Force final JAR filename

2008-03-01 Thread Rodrigo Madera
Thank you! Regards, Rodrigo On Sun, Mar 2, 2008 at 3:12 AM, Stuart McCulloch < [EMAIL PROTECTED]> wrote: > On 02/03/2008, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Hello community, > > > > Is there a way to force the final filename for a giv

Bundle Plugin: Force final JAR filename

2008-03-01 Thread Rodrigo Madera
Hello community, Is there a way to force the final filename for a given bundle using maven-bundle-plugin? Thank you for your attention, Rodrigo

Re: Howto Test&Debug Felix Bundles with Maven under Netbeans

2008-02-28 Thread Rodrigo Madera
Docktor, Please take a look at Spring OSGi (which has been renamed to Spring Dynamic Modules due to legal issues). http://www.springframework.org/osgi Read the part (and examples) on testing. You will be relieved ;-) Happy testing, Rodrigo On Thu, Feb 28, 2008 at 2:57 PM, Richard S. Hall <[EM

Re: ClassLoader question

2008-02-21 Thread Rodrigo Madera
Argh! I just got it working. The list of urls going into the > URLClassLoader was incorrect... > > Thanks for your patience! > > Mike > > On Thu, Feb 21, 2008 at 7:11 PM, Mike Smoot <[EMAIL PROTECTED]> wrote: > > > > > > > On Thu, Feb 21, 2008 at

Re: ClassLoader question

2008-02-21 Thread Rodrigo Madera
to the plugin > jar files. > > Or are you asking something else? > > thanks, > Mike > > On Thu, Feb 21, 2008 at 6:45 PM, Rodrigo Madera <[EMAIL PROTECTED]> > wrote: > > > What algorithm does your class loading use? > > > > Regards, > > Rodrigo &g

Re: ClassLoader question

2008-02-21 Thread Rodrigo Madera
What algorithm does your class loading use? Regards, Rodrigo On Fri, Feb 22, 2008 at 2:40 AM, Mike Smoot <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working on migrating an existing swing application ( > http://cytoscape.org) > to OSGi using Felix. With the help of bnd, I've gotten everything runn

Re: Authorization objects everywhere!

2007-10-18 Thread Rodrigo Madera
> > ... If security is enabled > anyways and we are not talking about an embedded scenario you could > consider taking the JAAS approach (i.e., joining the user based check > with the code based one) or go with JAAS directly (probably makes more > sense). I use the UserAdmin to do what JAAS would

Authorization objects everywhere!

2007-10-18 Thread Rodrigo Madera
Hello community, I have a rather taste-oriented question here for us to debate, regarding how to do the Authorization checks of your application. How do you do it? Do you put Authorization parameters everywhere in your code for this? Please share your insight as how you use the UserAdmin Authori

Re: Felix UserAdmin

2007-10-11 Thread Rodrigo Madera
And what would a Felix user be recommended to use for UserAdmin? Thanks, Rodrigo On 10/11/07, Richard S. Hall <[EMAIL PROTECTED]> wrote: > > Rodrigo Madera wrote: > > Hello community, > > > > Some time ago I posted a message asking if anyone knew an implementation

Felix UserAdmin

2007-10-10 Thread Rodrigo Madera
Hello community, Some time ago I posted a message asking if anyone knew an implementation for UserAdmin. I see that the OSGi spec requires UserAdmin to exist, but Felix doesn't have one. Does this mean that Felix is not yet fully compliant? Thank you for your input, Rodrigo

Re: Felix 'Command' implementations with DS

2007-10-08 Thread Rodrigo Madera
e this helps at least somebody out there over time! Rodrigo P.S. Guess all the developers are in Europe? On 10/8/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Btw, I am using this component using the new() operator. > I'm suspecting very confidently that this is the problem.

Re: Felix 'Command' implementations with DS

2007-10-08 Thread Rodrigo Madera
Btw, I am using this component using the new() operator. I'm suspecting very confidently that this is the problem. I'm having a dialogue with the OSGi 4.1 spec =o) Rodrigo On 10/8/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Is there a log or someplace I can grab DS o

Re: Felix 'Command' implementations with DS

2007-10-08 Thread Rodrigo Madera
Is there a log or someplace I can grab DS output? The problem is not with a Command implementation anymore... It's a normal component... I need some debugging info!!! =o( Thanks, Rodrigo On 10/8/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Just to clarify:

Re: Felix 'Command' implementations with DS

2007-10-08 Thread Rodrigo Madera
10/8/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm having an issue with a custom Felix command which implements > (naturally) the Command interface. > > Everything is okay and the shell accepts the command, except that > Declarative Services do

Felix 'Command' implementations with DS

2007-10-08 Thread Rodrigo Madera
Hello, I'm having an issue with a custom Felix command which implements (naturally) the Command interface. Everything is okay and the shell accepts the command, except that Declarative Services does not provide me an interface to one of my services (a very simple one). So I have a question: has

Re: Maven SCR Plugin Error

2007-10-08 Thread Rodrigo Madera
I found the problem... When exporting, the OSGI-OPT package was there... that's bad. Thanks for your attention anyways, you show to be very supportive. Rodrigo

Maven SCR Plugin Error

2007-10-08 Thread Rodrigo Madera
Anyone ever had one of these? ... [INFO] [scr:scr {execution: generate-scr-descriptor}] [INFO] [ERROR] FATAL ERROR [INFO] [INFO] no manifiest section fo

UserAdmin implementation for Felix

2007-10-06 Thread Rodrigo Madera
Hello all, What's the implementation you guys use for UserAdmin? I see Felix doesn't provide one. Thanks for any pointers, Rodrigo

Building Commons Betwixt Bundle

2007-10-06 Thread Rodrigo Madera
Does anyone have anything done for a Commons Betwixt bundle? Thanks, Rodrigo

Re: SCR + Configuration Admin Service = possible?

2007-09-28 Thread Rodrigo Madera
e declared > components just get the configuration (properties) as part of the > ComponentContext in the activate method. > > Works like a charm :-) And very useful. > > Am Freitag, den 28.09.2007, 11:26 -0300 schrieb Rodrigo Madera: > > I'm seeing that CAS requires a c

SCR + Configuration Admin Service = possible?

2007-09-28 Thread Rodrigo Madera
Hello, I'm seeing that CAS requires a configurable class to register itself on construction with the BundleContext. So the question is, can CAS and maven-scr-plugin get along? Thanks, Rodrigo

Re: ORB Libraries

2007-09-28 Thread Rodrigo Madera
verables can be used in OSGi - if there's enough demand, they > should listen... > > Anyway, back to fixing your particular issue - comments inlined below... > > On 28/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Actually, a dependency is making BND im

Re: ORB Libraries

2007-09-27 Thread Rodrigo Madera
or the list), since they are not installed. **This is why I need OBR**. = Thanks for all your help, Rodrigo On 9/28/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 28/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > > >

Re: ORB Libraries

2007-09-27 Thread Rodrigo Madera
> the imports explicitly listed on Import-Package. > > I think I hit dependency hell... why is this message appearing? > > Also, how can I use the repository files on Felix Commons? > > > > Thanks for any help, > > Rodrigo > > > > On 9/27/07, Rodrig

Re: ORB Libraries

2007-09-27 Thread Rodrigo Madera
Thanks, What about the question on how to use the Felix Commons? I really want to get my hands on those. Thanks, Rodrigo On 9/28/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 28/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > I'm now

Re: ORB Libraries

2007-09-27 Thread Rodrigo Madera
I'm now getting this message when trying to start my bundle: Cannot find: com.sun.jdmk.comm I think I hit dependency hell... why is this message appearing? Also, how can I use the repository files on Felix Commons? Thanks for any help, Rodrigo On 9/27/07, Rodrigo Madera <[EMAIL P

Re: ORB Libraries

2007-09-27 Thread Rodrigo Madera
How can I tell Felix to use the Felix Commons OBR repository? I see that tab on the GUI Shell. Any docs on how to use that properly? Thanks, Rodrigo On 9/27/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Thank you for the information. > > I'm seeking the pages now to c

Re: ORB Libraries

2007-09-27 Thread Rodrigo Madera
which implements an > OBR to which you may upload using HTTP POST requests. > > Regards > Felix > > > [1] http://www2.osgi.org/Repository/HomePage > [2] http://oscar-osgi.sourceforge.net/obr2/repository.xml > [3] http://incubator.apache.org/sling > > Am Mittwoch, den 26

Re: Fragment Bundles with maven-bundle-plugin

2007-09-27 Thread Rodrigo Madera
roject. Thanks once again, Rodrigo On 9/27/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > Hi Rodrigo, > > On 26/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > Does anyone have an example of how to create fragment bundl

ORB Libraries

2007-09-26 Thread Rodrigo Madera
Hello community, I have code that depends on varios Apache libraries, like Betwixt, Commons CLI and some others. I see that OSGi best practices require the implementation of these libraries as bundles. Checking the OSGi site for ORB bundles I didn't find enough libraries as bundles. I'll try to

Fragment Bundles with maven-bundle-plugin

2007-09-25 Thread Rodrigo Madera
Hello, Does anyone have an example of how to create fragment bundles with maven-bundle-plugin? I have a bundle called Greeter-1.0.jar that needs some .properties files that will be read using Java standard ResourceBundles. I read that this can be accomplished by using fragment bundles to add the

Re: When will be the next release for maven-bundle-plugin?

2007-09-25 Thread Rodrigo Madera
What about maven-scr-plugin? =o) Rodrigo On 9/25/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Excellent, > > Thanks for the update, > Rodrigo > > On 9/25/07, Stuart McCulloch <[EMAIL PROTECTED] > wrote: > > > > On 25/09/2007, Karl Pauls <[E

Re: When will be the next release for maven-bundle-plugin?

2007-09-25 Thread Rodrigo Madera
I'll > probably do an interim release without these. > > regards, > > > > Karl > > > > On 9/25/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > I'm currently using a SNAPSHOT version of the bundle p

When will be the next release for maven-bundle-plugin?

2007-09-25 Thread Rodrigo Madera
Hello, I'm currently using a SNAPSHOT version of the bundle plugin, and this may interfere with maven-release-plugin. When will be the next release? Thanks, Rodrigo

Re: Cannot find org.apache.felix:maven-obr-plugin

2007-09-25 Thread Rodrigo Madera
Nice to know I'm bleeding edge =P Thanks Stuart, Rodrigo On 9/25/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 25/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Hello all, > > > > I am now getting a: > > > > [IN

Cannot find org.apache.felix:maven-obr-plugin

2007-09-24 Thread Rodrigo Madera
Hello all, I am now getting a: [INFO] The plugin 'org.apache.felix:maven-obr-plugin' does not exist or no valid version could be found Failure on all my builds... Does anyone know anything about why this may be happening? Thanks, Rodrigo

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Rodrigo Madera
mortals (to be read as: "non-commiters") can post to the wiki, Thanks!! =o) Rodrigo On 9/24/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 24/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Ok, that's what I was worrying about. > >

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Rodrigo Madera
rt McCulloch <[EMAIL PROTECTED]> wrote: > > On 24/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Ok, but this doesn't mean that it will use the last installed package, > > right? > > This would generate a Chicken and the Egg problem. >

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Rodrigo Madera
Ok, but this doesn't mean that it will use the last installed package, right? This would generate a Chicken and the Egg problem. Thanks, Rodrigo On 9/24/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 24/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > &

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Rodrigo Madera
Excellent. Now the only obstacle is the dependency inability when packaging=bundle. Thank you for so much help, Rodrigo On 9/24/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 24/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > BTW: I am forced

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Rodrigo Madera
dependency resolution someway. Thanks for helping me pinpoint this, Rodrigo On 9/24/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 24/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Also, do you know how to make SCR run on every child without m

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Rodrigo Madera
]> wrote: > > On 24/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Ok thanks, but also regarding the plugin, check this piece of code: > > > > > > org.apache.felix > > maven-bundle-plugin >

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Rodrigo Madera
, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 24/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I'm having some troubles with the plugin. > > > > In this page (http://cwiki.apache.org/FELIX/maven-bundle-plugin-bnd

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Rodrigo Madera
arent pom is that you will > inherit the plugin version > in all child projects. > > HTH, > > Michael > > > > -Ursprüngliche Nachricht- > Von: Rodrigo Madera [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 24. September 2007 09:39 > An: users@felix.apache.o

Having problems with maven-bundle-plugin

2007-09-24 Thread Rodrigo Madera
Hello, I'm having some troubles with the plugin. In this page (http://cwiki.apache.org/FELIX/maven-bundle-plugin-bnd.html), the plugin example doesn't specify a version: ... org.apache.felix maven-bundle-plugin true org.foo.myproject.api org.foo.mypr

Re: Declarative Services and Internet Servers

2007-09-23 Thread Rodrigo Madera
ould start listening in > the activate method, which compares to the BundleActivator.start method. > Likewise, you clean up and stop listening in the deactivate method, > which compares to the BundleActivator.stop method. > > Regards > Felix > > Am Samstag, den 22.09.2007, 05:57 -03

Re: Projects that have a "bundle" packaging instead of "jar"

2007-09-23 Thread Rodrigo Madera
Aham! Just as I suspected ;-) Thanks, Rodrigo On 9/23/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 23/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > So technically speaking, packaging=bundle binds the maven-bundle-plugin > to > > t

Re: Projects that have a "bundle" packaging instead of "jar"

2007-09-23 Thread Rodrigo Madera
So technically speaking, packaging=bundle binds the maven-bundle-plugin to the execution list. Thanks for the input! Rodrigo On 9/23/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 23/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Sorry, forgo

Re: Projects that have a "bundle" packaging instead of "jar"

2007-09-23 Thread Rodrigo Madera
.* Packaging Bundle package bundle Thanks, Rodrigo On 9/23/07, Rodrigo Madera <[EMAIL PROTEC

Re: Projects that have a "bundle" packaging instead of "jar"

2007-09-23 Thread Rodrigo Madera
, Rodrigo On 9/23/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 23/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > What's the difference between supplying "bundle" and "jar" as packaging? > > > in mav

Projects that have a "bundle" packaging instead of "jar"

2007-09-22 Thread Rodrigo Madera
What's the difference between supplying "bundle" and "jar" as packaging? Both seem to work. Thanks, Rodrigo

Re: Proper Dependencies with BND

2007-09-22 Thread Rodrigo Madera
Excellent response, thank you! One more valuable resource for BND users. Thanks, Rodrigo On 9/22/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 22/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > I have a doubt regarding BND... >

Proper Dependencies with BND

2007-09-22 Thread Rodrigo Madera
I have a doubt regarding BND... Let's say that the bundle WorldwideGreeter-1.0.jar exports the package " com.acme.greeter.*". With BND + Maven, you could add a dependency that would actually see the bundle's JAR file as a normal Maven dependency. This means that every class in the CLASSPATH is av

Declarative Services and Internet Servers

2007-09-22 Thread Rodrigo Madera
Following my series of OSGi questions, now it's time for DS start/stop. Let' s say that I have the GreeterServer, which listens on the TCP port N. If I were to use an activator, I would wrap the activator's stop method, so I could stop the server correctly (doing proper cleanup). However, with DS

Re: SCR PLugin Examples

2007-09-21 Thread Rodrigo Madera
t; > or @scr.reference policy="dynamic" cardinality="0..1" > or @scr.reference bind="someBindMethod" > > But please note, that automatic generation of the bind/unbind methods is > only implemented for unary cardinality (that is cardinality="0..1

Re: Further Diagnostics

2007-09-21 Thread Rodrigo Madera
I didn't see a wiki for the project. If there is one, please let me know. If not, why not get one? I have some nice experiences to share with the community. Regards, Rodrigo On 9/21/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Found the mistake: scr.service was accident

Re: Further Diagnostics

2007-09-21 Thread Rodrigo Madera
> regards, > > Karl > > On 9/21/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > I'm writing a shell command, by implementing the Command interface from > > Felix. > > > > The command is now unstable, being that sometimes the shell accepts the > > se

Further Diagnostics

2007-09-21 Thread Rodrigo Madera
I'm writing a shell command, by implementing the Command interface from Felix. The command is now unstable, being that sometimes the shell accepts the service, and sometimes it doesn't. There is no error message in the log. How can I force Felix to provide extra detail and/or give specific inform

Re: SCR PLugin Examples

2007-09-21 Thread Rodrigo Madera
fer to version 0.3.0-SNAPSHOT for the > SCR plugin. > > Regards > Felix > > Am Freitag, den 21.09.2007, 08:43 +0100 schrieb Rodrigo Madera: > > This one here: > > > > > http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/felix/maven-scr-plugin/ > >

Re: SCR PLugin Examples

2007-09-21 Thread Rodrigo Madera
This one here: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/felix/maven-scr-plugin/ The previous questions remain, though =o) Thanks, Rodrigo On 9/21/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Wpss... > > On 9/21/07, Rodrigo Madera <[EMAIL PROTECTED

Re: SCR PLugin Examples

2007-09-21 Thread Rodrigo Madera
Wpss... On 9/21/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > I'm using this one, since it's available. > > http://repo1.maven.org/maven2/org/apache/felix/maven-bundle-plugin/1.0.0/ > > Do you have pre-compiled ones or do I need to compile? Any guide? &g

Re: SCR PLugin Examples

2007-09-21 Thread Rodrigo Madera
hberger <[EMAIL PROTECTED]> wrote: > > Do you use the latest 0.3.0-SNAPSHOT of the plugin ? AFAIK this > functionality is not contained in the 0.2.0 release. > > Regards > Felix > > Am Freitag, den 21.09.2007, 07:54 +0100 schrieb Rodrigo Madera: > > It's no

Re: SCR PLugin Examples

2007-09-20 Thread Rodrigo Madera
s is > only implemented for unary cardinality (that is cardinality="0..1" and > cardinality="1..1") not for multiple cardinality. > > Hope this helps. > > Regards > Felix > > Am Freitag, den 21.09.2007, 02:36 +0100 schrieb Rodrigo Madera: > > Hell

Re: SCR PLugin Examples

2007-09-20 Thread Rodrigo Madera
icy="dynamic" > or @scr.reference policy="dynamic" cardinality="0..1" > or @scr.reference bind="someBindMethod" > > But please note, that automatic generation of the bind/unbind methods is > only implemented for unary cardinality (that is

SCR PLugin Examples

2007-09-20 Thread Rodrigo Madera
Hello, I am now using the SCR plugin, but I need an example on using scr.reference. Does anyone have one? A full service example (which shouldn't be more than 20 lines) would be excellent for everyone. Thank you, Rodrigo

Re: Felix's CommandProvider Equivalent

2007-09-20 Thread Rodrigo Madera
te, > > > actually. > > > > > > Regards > > > Felix > > >> > > >> regards, > > >> > > >> Karl > > >> > > >> On 9/20/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > >

Re: Felix's CommandProvider Equivalent

2007-09-20 Thread Rodrigo Madera
Does Felix support Declarative Services to be used with these kind of commands? Thanks, Rodrigo On 9/20/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Thank you! > > Regards, > Rodrigo > > On 9/20/07, Karl Pauls <[EMAIL PROTECTED]> wrote: > > > &

Re: Felix's CommandProvider Equivalent

2007-09-20 Thread Rodrigo Madera
Thank you! Regards, Rodrigo On 9/20/07, Karl Pauls <[EMAIL PROTECTED]> wrote: > > > Hello Felix Community, > > > > Does Felix have an equivalent to Eclipse's CommandProvider interface? > > Yes. See: > > http://felix.apache.org/site/apache-felix-shell-service.html > > > I want to provide the "hell

Felix's CommandProvider Equivalent

2007-09-19 Thread Rodrigo Madera
Hello Felix Community, Does Felix have an equivalent to Eclipse's CommandProvider interface? I want to provide the "hello" command to the shell. Also, is this defined in a standard or does every OSGi implementation have it's own shell extending model? Thanks for your help, Rodrigo

Re: Import-Package question (was: Declarative Services with maven-bundle-plugin)

2007-09-19 Thread Rodrigo Madera
I know this is terribly off-topic, but taking advantage of your knowledge, what would the main difference of q4e be in your opinion? Thanks for the input, Rodrigo On 9/19/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 19/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wr

Re: Import-Package question (was: Declarative Services with maven-bundle-plugin)

2007-09-18 Thread Rodrigo Madera
one thread) > > On 19/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > Hello again, > > > > Comming with another problem, I have a service called Greeter with > > GreeterImpl. > > The only method available is "public String sayHello()&q

Re: Import-Package question (was: Declarative Services with maven-bundle-plugin)

2007-09-18 Thread Rodrigo Madera
> Hi Rodrigo, > > > > (I've started a new thread for this topic - rather than have multiple > topics > > in one thread) > > > > On 19/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > > > > > Hello again, > > > > > &

Re: Declarative Services with maven-bundle-plugin

2007-09-18 Thread Rodrigo Madera
Unfortunately, that didn't work. If you use the Import-Package, it's to be used with a CLASSPATH provided path. However, I need an OSGi exported package. Am I missing something? Thank you, Rodrigo On 9/19/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > > On 9/19/07,

Re: Declarative Services with maven-bundle-plugin

2007-09-18 Thread Rodrigo Madera
this on BND (nor SCR, of course). How can this be done using the plugins? Thanks for any input, Rodrigo On 9/18/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Thanks, I was just putting the scr.component tag. > > So for the record, and those using the search facility, the s

Re: Declarative Services with maven-bundle-plugin

2007-09-18 Thread Rodrigo Madera
> > > > > > Hope this helps. > > You will find more applications of the SCR plugin tags in the Sling Core > project at [1] > > Regards > Felix > > [1] http://svn.apache.org/viewvc/incubator/sli

Re: Declarative Services with maven-bundle-plugin

2007-09-18 Thread Rodrigo Madera
ively, correct? That's what I'm doing but something is not right. Thanks for any insight, Rodrigo On 9/15/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > > Hi Rodrigo, > > On 9/15/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > >... I'm trying to deve

Declarative Services with maven-bundle-plugin

2007-09-14 Thread Rodrigo Madera
Hello community, I'm trying to develop a Declarative Service using the maven-bundle-plugin, but I can't find documentation on it. Can anyone please provide a link or information? Thanks for any help, Rodrigo

Re: OSGi Best Practices

2007-09-14 Thread Rodrigo Madera
ost Bundle. WT* is it? 2) Before the host is resolved? What do you mean? 3) Part of the host... but what is a host in the first place?!? Thanks for saving me some hair, if possible, Rodrigo On 9/14/07, Marcel Offermans <[EMAIL PROTECTED]> wrote: > > On Sep 14, 2007, at 23:23

Re: OSGi Best Practices

2007-09-14 Thread Rodrigo Madera
and go over it again. Thanks, Rodrigo On 9/14/07, Marcel Offermans <[EMAIL PROTECTED]> wrote: > > Hello Rodrigo, > > On Sep 14, 2007, at 19:42 , Rodrigo Madera wrote: > > > Do you have an example on i18n using Fragment Bundles? > > Also, what is their exact definitio

Re: OSGi Best Practices

2007-09-14 Thread Rodrigo Madera
Marcel, Do you have an example on i18n using Fragment Bundles? Also, what is their exact definition? Thanks, Rodrigo On 9/13/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Can you provide an example (very simple one) on UserAdmin? > > I have the specifications (and probab

Re: OSGi Best Practices

2007-09-12 Thread Rodrigo Madera
. So pure JAAS is out of the question (I read on the definition papers that they decided this because JAAS requires SE 1.3). Thanks for any input, Rodrigo On 9/12/07, Christian van Spaandonk <[EMAIL PROTECTED]> wrote: > > Rodrigo Madera wrote: > > Hello community, > > >

Re: OSGi Best Practices

2007-09-11 Thread Rodrigo Madera
gt; > Hello Rodrigo, > > On Sep 11, 2007, at 18:08 , Rodrigo Madera wrote: > > > Thanks guys, but I still think that's not enough. > > I believe you also agree. > > I agree, it's not enough, and to be honest I would love to have the > time to write a book. :)

Re: OSGi Best Practices

2007-09-11 Thread Rodrigo Madera
gt; Regards, > Tom > > On Tue, 11 Sep 2007 14:00:33 +0200, Marcel Offermans > <[EMAIL PROTECTED]> wrote: > > > On Sep 11, 2007, at 13:51 , Rodrigo Madera wrote: > > > >> I see that OSGi has some lack of documentation out there when it comes > >> to

OSGi Best Practices

2007-09-11 Thread Rodrigo Madera
Hello community, I see that OSGi has some lack of documentation out there when it comes to best practices and examples (or I'm not knowing where to look). Would any of you have a good book recommendation on practical OSGi? Also, what is the recommended way of doing authentication and authorizati