Hi Clement,

thank you very much, the online manipulator seems to provide exactly
what I was looking for!
I still didn't figure out how to manipulate the URL in order to add the
prefix (without installing the bundle manually or adjusting the
according eclipse config file with a text editor ;)), I guess it should
be part of the run configuration. But I guess this is more of an eclipse
topic. 

Thanks again!

Georg


-----Original Message-----
From: Clement Escoffier [mailto:[email protected]] 
Sent: Montag, 13. Dezember 2010 14:51
To: [email protected]
Subject: Re: Getting started with iPOJO and Equinox / Eclipse

Hello,


On 13.12.10 14:10, "Maier, Georg" <[email protected]> wrote:

>Hi!
>
> 
>
>I'm new to iPOJO and currently trying to get started. I managed to run 
>the examples from the website, but there is one general point I don't 
>understand yet.
>
>If I got everything right, I can easily use iPOJO within an Eclipse / 
>Equinox based application. Furthermore, I can chose whether to work 
>with xml files or with annotations to implement e.g. the service
binding.

Exactly.

>
> 
>
>The thing that really caught my attention to investigate iPOJO instead 
>of making use of DS or Blueprint is the availability to work with 
>annotations, so I tried setting up a little example project.
>Unfortunately without success, so I compared it to the example provided

>at the homepage and I figured out there is an additional 
>"iPOJO-Component" entry in the MANIFEST.MF.

One thing is to run the 'manipulator' on the bundle to be
'iPOJO-powered'.
The manipulator will generate this entry.
You should read
http://felix.apache.org/site/apache-felix-ipojo-eclipse-integration.html

>
> 
>
>So, my question now is: working within the eclipse environment, do I 
>have to extend the MANIFEST.MF manually, or is there some automated
way?

Of course :-)
The eclipse integration is based on Ant, but there is also a Maven
plugin too.
Finally, there is a way to run the manipulation at runtime by deploying
the iPOJO url handler
(http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.ipojo.o
nli
ne.manipulator/1.6.0/org.apache.felix.ipojo.online.manipulator-1.6.0.jar
)
and prefix you bundle URL with ipojo: like install
ipojo:file:/tmp/my-bundle.jar

>
>I'm sure I'm missing something quite primitive here, so please consider

>that I am absolutely new to iPOJO J
>
>If there is an explanation on this topic on the website that I just 
>missed, please point me there.

I definitely agree, I plan to improve the doc during the next two weeks.

Regards,

Clement

>
> 
>
>Any help would be highly appreciated!
>
> 
>
>Thanks in advance J
>
> 
>
>Cheers
>
> 
>
>Georg
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to