[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [equinox-dev] AOSGi is not recognized after installing features
|
Hi Oren,
nope, I mean something else.
But before that: You always MUST install the AOSGi bundles into the
directory where the system bundle (org.eclipse.osgi) lies. If you use a
separete extension location or a links directory AOSGi won't work. This
is because AOSGi is a framework extension fragment and these are only
found if colocated with the system bundle.
What I mean: In your workspace preferences there is a "target" page
where you can set up a concrete target platform for your projects. This
is extremely helpful because in most cases you will NOT develop plug-ins
for exactly the Eclipse SDK you are developing these with. For example,
if you want to develop a tiny little OSGi application, you do not neet
SWT, JFace, JDT, PDE and so on. Therefore you can create a directory
somewhere on your disk with exactly these plug-ins which make up the
platform for your projects.
In your case you could create a target directory with org.eclipse.osgi,
the AOSGi bundles and everything else you need. Then you are completely
independent from what you install into the SDK. This is a general best
practice which also could be especially helpful for your problem.
Heiko
Oren Mishali schrieb:
Hi Heiko,
Thanks for your tip. I guess you mean to create a 'links' directory and from
there to point to AOSGi bundles. I have just tried it and in such
configuration AOSGi is not functioning (even with no additional features) --
The bundles are seemed to be installed however no weaving takes place.
Regards,
Oren
-----Original Message-----
From: equinox-dev-bounces@xxxxxxxxxxx
[mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Heiko Seeberger
Sent: Wednesday, October 24, 2007 12:24 PM
To: Equinox development mailing list
Subject: Re: [equinox-dev] AOSGi is not recognized after installing features
Hi Oren,
as Equinox Aspects (AOSGi) comes with no tooling or other SDK
integration, I suggest you don't install it to your Eclipse SDK at all.
You better should create a target platform comprised of org.eclipse.osgi
and the org.aspectj.osgi* bundles and everything else you need.
Heiko
Oren Mishali schrieb:
Hello Martin,
The workaround is to reinstall Eclipse and all features again and only
then
to install AOSGi (deleting and unzipping AOSGi was not sufficient).
Oren
-----Original Message-----
From: equinox-dev-bounces@xxxxxxxxxxx
[mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Martin Lippert
Sent: Wednesday, October 24, 2007 10:11 AM
To: Equinox development mailing list
Subject: RE: [equinox-dev] AOSGi is not recognized after installing
features
Hi Oren,
I will try to reproduce this to find the problem. Meanwhile you could
re-install AOSGi and everything works as expected, right?
-Martin
Hi Martin,
That's what I did:
- Installed Eclipse 3.3.1
- Added AJDT (update manager)
- Added AOSGi (unzipped last version)
- Imported demo.eclipse.tooltip and launched it --> worked as expected
- Installed Mylin (or EMF) through update manager, restarted and launched
again --> no tooltips...
Oren
-----Original Message-----
From: equinox-dev-bounces@xxxxxxxxxxx
[mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Martin Lippert
Sent: Tuesday, October 23, 2007 4:08 PM
To: Equinox development mailing list
Subject: RE: [equinox-dev] AOSGi is not recognized after installing
features
Hi Oren,
seems like the AOSGi hook is up and running... How does the test case
looks like to reproduce this behavior?
-Martin
First, I'm testing it with demo.eclipse.tooltip.
When I launch it with the configuration Tooltip Demo (-verbose), the
console
tells:
[org.aspectj.osgi] info adding AspectJ hooks ...
[org.aspectj.osgi] info supplementing org.eclipse.jface with
[demo.eclipse.tooltip]
[org.aspectj.osgi] info supplementing org.eclipse.jface.databinding with
[demo.eclipse.tooltip]
[org.aspectj.osgi] info supplementing org.eclipse.jface.text with
[demo.eclipse.tooltip]
[org.aspectj.osgi] info supplementing org.eclipse.swt with
[demo.eclipse.tooltip]
[org.aspectj.osgi] info supplementing org.eclipse.swt.win32.win32.x86
with
[demo.eclipse.tooltip]
However, no effect is noticed and the AOSGi plug-ins do not show up in
the
installed plug-in list.
Oren
-----Original Message-----
From: equinox-dev-bounces@xxxxxxxxxxx
[mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Martin Lippert
Sent: Tuesday, October 23, 2007 1:27 PM
To: Equinox development mailing list
Subject: Re: [equinox-dev] AOSGi is not recognized after installing
features
Hi Oren,
First, I would like to let you know that AOSGi is functioning on
Eclipse
3.3.1.
Great to hear!!!
Regarding your problem: What does the OSGi console short status tells
you?
Are the AOSGi bundles part of that list?
-Martin
Yet, I'm facing a weird problem:
When I'm adding a feature to Eclipse 3.3.1 (using update manager),
after
restarting Eclipse the AOSGi plug-ins are not recognized (they don't
show
up
in the installed plug-ins list and of course AOSGi is not functioning).
This
happened to me when I tried to add EMF and also Mylin. I tried the
-clean
flag and the problem remains. Moreover, even when restoring the
previous
Eclipse state the problem remains. This happens only when the features
are
added AFTER AOSGi; when AOSGi is added after the features everything
works
fine. any suggestions?
Thanks,
Oren
_______________________________________________
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
_______________________________________________
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
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev