Equinox 3.2 based Application [message #58114] |
Thu, 26 January 2006 06:40 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: kai.klesatschke.googlemail.com
Hello everybody,
I'm going to develop a server application that is based on equinox. I
want to make use of the new version of equinox but I don't know how to
use the bundles. Should I copy them into my eclipse plugins dir? Is
there another way like an additional plugins repository?
BTW do someone have experiences with using Maven2 for plugin building?
Regards, Kai
|
|
|
Re: Equinox 3.2 based Application [message #58286 is a reply to message #58114] |
Thu, 26 January 2006 14:09 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: spamaccount.gmx.de
Hi Kai,
no problem with that. Have a look here:
http://docs.safehaus.org/display/OSGI/OSGi+Plugin+for+Maven+ 2.0
just add the equinox jar as a dependency instead of the Felix one.
-Tim
Kai Klesatschke schrieb:
> Hello everybody,
>
> I'm going to develop a server application that is based on equinox. I
> want to make use of the new version of equinox but I don't know how to
> use the bundles. Should I copy them into my eclipse plugins dir? Is
> there another way like an additional plugins repository?
>
> BTW do someone have experiences with using Maven2 for plugin building?
>
> Regards, Kai
|
|
|
Re: Equinox 3.2 based Application [message #58357 is a reply to message #58114] |
Thu, 26 January 2006 14:20 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: jeff_nospam_mcaffer.ca.ibm.com
There are several choices here. We are in the process of setting up a more
generic bundle repo and mechanism for populating a PDE target platform. If
you get bundles in the Eclipse SDK download, sure, you can just copy them
around. There are some Equinox bundles that are not included in the SDK and
are only on the Equinox dowload site.
http://download.eclipse.org/eclipse/equinox
There you can get the individual bundle jars and put them where you like.
There should soon be a complete zip of all the Equinox bundles on that
download page.
As for building with Maven2, there are some people who have been
experimenting with this and there is an OSGi bundle plugin for maven. There
are however some issues depending on how sophisticated your usecase is. We
have been working with the Maven guys to see how the overall picture can be
improved. Stay tuned. Of course, in the mean time, you can use PDE Build
to build bundles.
Jeff
"Kai Klesatschke" <kai.klesatschke@googlemail.com> wrote in message
news:dr9qtp$67h$1@utils.eclipse.org...
> Hello everybody,
>
> I'm going to develop a server application that is based on equinox. I
> want to make use of the new version of equinox but I don't know how to
> use the bundles. Should I copy them into my eclipse plugins dir? Is
> there another way like an additional plugins repository?
>
> BTW do someone have experiences with using Maven2 for plugin building?
>
> Regards, Kai
|
|
|
Re: Equinox 3.2 based Application [message #58421 is a reply to message #58286] |
Thu, 26 January 2006 16:02 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: kai.klesatschke.googlemail.com
Tim Kettler schrieb:
> no problem with that. Have a look here:
The main problem is that the PDE-Tools don't work if the MANIFEST and
the plugin xml are not at the location where they should be.
Think about this default maven dir structure:
project
pom.xml
src
main
java
my
plugin
Activator.java
resources
META-INF
MANIFEST.MF
plugin.xml
The PDE tools expect this:
project
META-INF
MANIFEST.MF
plugin.xml
I tried to configure the maven project resources to the root but when
building the MANIFEST.MF and plugin.xml are at the wrong place. Running
the plugin within the IDE is also not possible.
|
|
|
|
Re: ivy [message #58686 is a reply to message #58556] |
Fri, 27 January 2006 11:28 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: kai.klesatschke.googlemail.com
Hey Andreas,
thanks for your reply. At the moment we only use svn and PDE to develop
our bundles, but that don't satisfy me and my colleagues.
Could you send me a simple exmaple plugin configured with ivy? Was it
difficult to setup your build environment? What are the prequisites?
Regards, Kai
Andreas Ronge schrieb:
> We have setup a nice environment using PDE, ivy and ivy-cruisecontrol
> (http://www.jayasoft.org/ivy/doc/ant).
> We currently have 40 bundles. Each bundle also exists as a cruise
> control project. Cruise/Ivy handles dependencies
> between bundles with different versions.
>
> This is really great because at our company we are sharing bundles
> between development teams and and different products.
>
> We keep the manifest files in the META-INF folder so that we can
> use the PDE and run bundles in eclipse.
> JAR files needed in the classpath for a bundle is downloaded
> by ivy and put in lib/runtime (which is also included in the bundle jar
> file).
> The ant script compiles agains all compile time dependencies
> downloaded by ivy in the lib/compile folder.
> We also have product project to assemble different products.
>
> /Andreas
>
>
> Kai Klesatschke skrev:
>> Tim Kettler schrieb:
>>
>>> no problem with that. Have a look here:
>>
>>
>> The main problem is that the PDE-Tools don't work if the MANIFEST and
>> the plugin xml are not at the location where they should be.
>>
>> Think about this default maven dir structure:
>>
>> project
>> pom.xml
>> src
>> main
>> java
>> my
>> plugin
>> Activator.java
>> resources
>> META-INF
>> MANIFEST.MF
>> plugin.xml
>>
>> The PDE tools expect this:
>>
>> project
>> META-INF
>> MANIFEST.MF
>> plugin.xml
>>
>> I tried to configure the maven project resources to the root but when
>> building the MANIFEST.MF and plugin.xml are at the wrong place. Running
>> the plugin within the IDE is also not possible.
|
|
|
Re: ivy [message #58807 is a reply to message #58686] |
Sun, 29 January 2006 01:25 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: jeff_nospam_mcaffer.ca.ibm.com
It would be cool to see that example posted here...
Jeff
"Kai Klesatschke" <kai.klesatschke@googlemail.com> wrote in message
news:drd05k$ap1$1@utils.eclipse.org...
> Hey Andreas,
>
> thanks for your reply. At the moment we only use svn and PDE to develop
> our bundles, but that don't satisfy me and my colleagues.
>
> Could you send me a simple exmaple plugin configured with ivy? Was it
> difficult to setup your build environment? What are the prequisites?
>
> Regards, Kai
>
> Andreas Ronge schrieb:
> > We have setup a nice environment using PDE, ivy and ivy-cruisecontrol
> > (http://www.jayasoft.org/ivy/doc/ant).
> > We currently have 40 bundles. Each bundle also exists as a cruise
> > control project. Cruise/Ivy handles dependencies
> > between bundles with different versions.
> >
> > This is really great because at our company we are sharing bundles
> > between development teams and and different products.
> >
> > We keep the manifest files in the META-INF folder so that we can
> > use the PDE and run bundles in eclipse.
> > JAR files needed in the classpath for a bundle is downloaded
> > by ivy and put in lib/runtime (which is also included in the bundle jar
> > file).
> > The ant script compiles agains all compile time dependencies
> > downloaded by ivy in the lib/compile folder.
> > We also have product project to assemble different products.
> >
> > /Andreas
> >
> >
> > Kai Klesatschke skrev:
> >> Tim Kettler schrieb:
> >>
> >>> no problem with that. Have a look here:
> >>
> >>
> >> The main problem is that the PDE-Tools don't work if the MANIFEST and
> >> the plugin xml are not at the location where they should be.
> >>
> >> Think about this default maven dir structure:
> >>
> >> project
> >> pom.xml
> >> src
> >> main
> >> java
> >> my
> >> plugin
> >> Activator.java
> >> resources
> >> META-INF
> >> MANIFEST.MF
> >> plugin.xml
> >>
> >> The PDE tools expect this:
> >>
> >> project
> >> META-INF
> >> MANIFEST.MF
> >> plugin.xml
> >>
> >> I tried to configure the maven project resources to the root but when
> >> building the MANIFEST.MF and plugin.xml are at the wrong place. Running
> >> the plugin within the IDE is also not possible.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04157 seconds