Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Stuck on Equinox Aspects Quickstart Guide(Everything runs as it should, but the aspect doesn't work...)
Stuck on Equinox Aspects Quickstart Guide [message #542687] Fri, 25 June 2010 15:49
Daniel Kashtan is currently offline Daniel KashtanFriend
Messages: 15
Registered: March 2010
Junior Member
I followed the Equinox Aspects Quickstart Guide and I am doing it from the command line instead of Eclipse and I am stuck really bad on something I cannot find. Below is my config.ini followed by my command line when I try to get it to work. If anyone can help I'd be very grateful. I can send my project folder if needed. Also, please ignore my previous thread on this, it is obsolete.

config.ini

osgi.clean=true
osgi.frameworkClassPath=file\:/home/djkasht/workspaceBluepri nt/EquinoxAspectsHellowWorld4/plugins/org.eclipse.osgi_3.5.1 .R35x_v20090827.jar,file\:/home/djkasht/workspaceBlueprint/E quinoxAspectsHellowWorld4/plugins/org.eclipse.equinox.weavin g.hook_1.0.0.200808061839.jar
osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start
eclipse.ignoreApp=true
osgi.noShutdown=true
aj.weaving.verbose=true
org.aspectj.weaver.showWeaveInfo=true
org.aspectj.osgi.verbose=true

command line output

djkasht@zaius:~/workspaceBlueprint/EquinoxAspectsHellowWorld4$ java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar -console
[org.aspectj.osgi] info adding AspectJ hooks ...

osgi> [org.aspectj.osgi] info supplementing org.eclipse.equinox.weaving.demo.hello with [org.eclipse.equinox.weaving.demo.hello.aspects]
ss

Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.5.1.R35x_v20090827
Fragments=6
1 ACTIVE org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100
2 ACTIVE org.eclipse.update.configurator_3.3.0.v20090312
4 RESOLVED org.eclipse.equinox.weaving.caching_1.0.0.200808061839
6 RESOLVED org.eclipse.equinox.weaving.hook_1.0.0.200808061839
Master=0
7 RESOLVED org.eclipse.equinox.weaving.demo.hello.aspects_1.0.0
8 RESOLVED org.eclipse.equinox.launcher_1.0.201.R35x_v20090715
9 RESOLVED org.aspectj.runtime_1.6.1.20080703120000
10 <<LAZY>> org.eclipse.equinox.weaving.caching.j9_1.0.0.200808061839
11 RESOLVED org.aspectj.weaver_1.6.1.20080703120000
12 RESOLVED org.eclipse.equinox.weaving.demo.hello_1.0.0
13 <<LAZY>> org.eclipse.equinox.weaving.aspectj_1.0.0.200808061839

osgi> start 13
[org.aspectj.osgi.service.weaving] info Starting AspectJ weaving service ...
[org.aspectj.osgi] info triggering update for re-supplementing org.eclipse.equinox.weaving.demo.hello
[org.aspectj.osgi] info supplementing org.eclipse.equinox.weaving.demo.hello with [org.eclipse.equinox.weaving.demo.hello.aspects]

osgi> start 12
Hello world!
Previous Topic:legacy site.xml and p2
Next Topic:PDE ignores p2.inf
Goto Forum:
  


Current Time: Thu Apr 25 03:30:39 GMT 2024

Powered by FUDForum. Page generated in 0.02970 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top