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.onli
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]

Reply via email to