Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Announcement: Aspects Equinox Incubator - Phase II


Jeff,

I have been working on an Update Site which will include the framework extension and the weaving service bundle. It will pre-req (and may automatically install when I figure out how to do it) AJDT both for building the demos and running them. However also I need a _reliable_, simple and reversible way to replace the installed org.eclipse.osgi_3.2.0.v20060601.jar system bundle with one that includes supplements support. This is proving difficult. Any help in this regard would be very welcome. My attempts so far have been a little frustrating.

I have created a separate feature (but part of the same update site as the Aspects Equinox Incubator) which includes a modified version of org.eclipse.osgi. This would enable users to disable the supplements feature while continuing to use the remainder of the Aspect Equinox Incubator and demos that only require the opt-in model. Building the update site creates an  org.eclipse.osgi_3.2.0.200611131112.jar (without "v") which installs fine and after the target workspace is automatically restarted works fine as well. Unfortunately if I _subsequently_ restart the workspace Eclipse reverts to the previous version of Equinox and the demos fail. Hmmm!

I decided to manually set the version qualifier and created org.eclipse.osgi_3.2.0.v20061113.jar (with "v"). This also installs fine by does not work after the automatic restart. However if I subsequently restart the workspace Eclipse _does_ pick up the new bundle. Hmmmmmmmmmm!

What am I doing wrong? Does Eclipse not support updating the system bundle? Could I do this successfully by implementing my own org.eclipse.rcp _feature_ containing just the new version of org.eclipse.osgi?

Thanks in advance

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/



Jeff McAffer <Jeff_McAffer@xxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

09/11/2006 12:59

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
cc
Subject
Re: [equinox-dev] Announcement: Aspects Equinox Incubator - Phase II






I'm not sure that https://bugs.eclipse.org/bugs/show_bug.cgi?id=143696 is ever going to be fixed.  There are a couple ways of looking at this

1) people who are developing phase II extensions will need to have OSGi in their workspace (since they have the extensions in their workspace).  We can have a project set file that helps them get what they need with one click.  We have started using these more pervasively (see http://www.eclipse.org/equinox/server/http_in_container.php) to good effect.


2) people who just want to use this stuff can get the framework fragment and add it to their target.  Having a built version of that available on an update site or just as a JAR (or in a zip) would be great.


Actually, step 3 indicates that you need the OSGi bunle from the aspects branch but then towards the end it says you need the source version of OSGi that matches the one you have in your SDK.  So does the aspects work have any changes to the OSGi bundle or is everything done in an extensoin?


For all the tests and examples, perhaps you can supply a project set file?


Jeff




Matthew Webster <matthew_webster@xxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

11/09/2006 07:06 AM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
cc
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>, equinox-dev-bounces@xxxxxxxxxxx
Subject
Re: [equinox-dev] Announcement: Aspects Equinox Incubator - Phase II








Pascal,


> Is downloading the source code necessary?

It's not great. I should create an update site. Not sure if this will work for the replacement org.eclipse.osgi though. You will of course still need the source for the demos and maybe the tests


>Is the download of AJDT required? or is this just for ease of aspect authoring?

It is required because you will of course need it to build the demos but more importantly it includes AspectJ which is needed for the load-time weaving (org.aspectj.weaver bundle) and running your woven program (org.aspectj.runtime). When I create an update site and could include AJDT as a pre-req.


>Personally I think it would greatly help if the number of steps was limited and the downloads from the fwk extensions and other bundles could be >availalble for dl too.

I don't quite follow.


>In any event, all that sounds really cool,

I certainly hope so.


Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/

Pascal Rapicault <Pascal_Rapicault@xxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

09/11/2006 02:53

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>


To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
cc
equinox-dev@xxxxxxxxxxx, equinox-dev-bounces@xxxxxxxxxxx
Subject
Re: [equinox-dev] Announcement: Aspects Equinox Incubator - Phase II










I just went to the getting started page and it does not sound appealing / easy.

- Is downloading the source code necessary?

- Is the download of AJDT required? or is this just for ease of aspect authoring?


Personnaly I think it would greatly help if the number of steps was limited and the downloads from the fwk extensions and other bundles could be availalble for dl too.


In any event, all that sounds really cool,


PaScaL

Matthew Webster <matthew_webster@xxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

11/08/2006 12:42 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>


To
equinox-dev@xxxxxxxxxxx
cc
Subject
[equinox-dev] Announcement: Aspects Equinox Incubator - Phase II












The Aspects Equinox Incubator project is pleased to announce the availability of Phase II. This code comprises supplements support in org.eclipse.osgi, new tests and Eclipse-based demos that show the power of the co-opt model. Please see the description of how to get started on the Aspects home page (http://www.eclipse.org/equinox/incubator/aspects/index.php).

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top