Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Re: Equinox Aspects: Reworked website, quick-start guide and Hello world! demo

Dirk,

Thanx for your feedback!

Well, yesterday I ran into the same issue and meanwhile I found the solution: It is a naming conflict. Currently Equinox Aspects will not work perfectly with bundles called org.eclipse.equinox*. These will not be updated automatically. Enter update 4 and it will work!

Please use the following quix-fix:

Rename the bundle org.eclipse.equinox.aspects.demo.hello, e.g.
orgx.eclipse.equinox.aspects.demo.hello (or something not starting with org.eclipse.equinox*).

Please do not forget to change the bundle manifest of the aspect bundle to apply this change, e.g.
Eclipse-SupplementBundle: orgx.eclipse.equinox.aspects.demo.hello

Then it sould work fine.

Heiko

Am 15.06.2008 um 12:27 schrieb dirk.jacobs@xxxxxxxxxx:

Hi Heiko,

I recently checked out the quick start project and everything seemed to work like expected. The results were exactly like the screenshots in the quickstart guide.

Put when starting the hello bundle I got an 'error' : no configuration found

[org.aspectj.osgi] info adding AspectJ hooks ...

osgi> [org.aspectj.osgi.service.weaving] info Starting AspectJ weaving service ...
ss

Framework is launched.

id    State       Bundle
0    ACTIVE      org.eclipse.osgi_3.3.2.R33x_v20080105
              Fragments=1
1    RESOLVED    org.aspectj.osgi_1.1.0.200803102211
              Master=0
2    ACTIVE      org.aspectj.osgi.service.weaving_1.1.0.200803102211
3    RESOLVED    org.aspectj.weaver_1.6.0.20080423100000
4    RESOLVED    org.eclipse.equinox.aspects.demo.hello_1.0.0
5    RESOLVED    org.eclipse.equinox.aspects.demo.hello.aspects_1.0.0
6    RESOLVED    org.aspectj.runtime_1.6.0.20080423100000

osgi> start 4
[org.eclipse.equinox.aspects.demo.hello] info AspectJ Weaver Version 1.6.0 built on Wednesday Apr 23, 2008 at 20:27:36 GMT [org.eclipse.equinox.aspects.demo.hello] info register classloader org.eclipse.equinox.aspects.demo.hello [org.eclipse.equinox.aspects.demo.hello] info no configuration found. Disabling weaver for class loader org.eclipse.equinox.aspects.demo.hello [org.aspectj.osgi.service.weaving] info not weaving bundle 'org.eclipse.equinox.aspects.demo.hello'
Hello world!


So, the aspects didn't worked. Any ideas ?


tx,


Dirk
Heiko Seeberger-3 wrote:

Hi,

I just reworked the Equinox Incubator Aspects website. Now there is a
detailled quick-start guide and a "Hello world!" demo.

We are looking forward to getting your feedback ...

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


Quoted from:
http://www.nabble.com/Equinox-Aspects%3A-Reworked-website%2C-quick-start-guide-and-Hello-world%21-demo-tp17816807p17816807.html




Back to the top