Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » AJDT Configuration
AJDT Configuration [message #1072264] Mon, 22 July 2013 12:19 Go to next message
Andreas Graf is currently offline Andreas GrafFriend
Messages: 211
Registered: July 2009
Senior Member
Dear all,

I would like to ask for some help in the AJDT configuration. We are trying to use AspectJ (Eclipse Juno) to introduce Aspects for an Eclipse application. When starting the runtime Eclipse, it seems that the aspects are not woven.

The OSGI console says:

4806	STARTING    org.aspectj.ajde_1.7.3.20130613144500-a
4807	RESOLVED    org.aspectj.runtime_1.7.3.20130613144500-a
4808	ACTIVE      org.aspectj.weaver_1.7.3.20130613144500-a
4809	STARTING    org.eclipse.ajdt.core_2.2.3.e42x-RELEASE-20130625-1400
4810	RESOLVED    org.eclipse.ajdt.doc.user_2.2.3.e42x-RELEASE-20130625-1400
4811	STARTING    org.eclipse.ajdt.examples_2.2.3.e42x-RELEASE-20130625-1400
4812	STARTING    org.eclipse.ajdt.mylyn.ui_2.2.0.e42x-RELEASE-20130625-1400
4813	STARTING    org.eclipse.ajdt.ui_2.2.3.e42x-RELEASE-20130625-1400
4814	STARTING    org.eclipse.aspectj_2.2.3.e42x-RELEASE-20130625-1400
4815	STARTING    org.eclipse.contribution.visualiser_2.2.3.e42x-RELEASE-20130625-1400
4816	STARTING    org.eclipse.contribution.weaving.jdt_2.2.3.e42x-RELEASE-20130625-1400
4817	STARTING    org.eclipse.contribution.xref.core_2.2.3.e42x-RELEASE-20130625-1400
4818	STARTING    org.eclipse.contribution.xref.ui_2.2.3.e42x-RELEASE-20130625-1400
4819	ACTIVE      org.eclipse.equinox.weaving.aspectj_1.0.300.I20130319-1000
4820	RESOLVED    org.eclipse.equinox.weaving.caching_1.0.200.I20130319-1000
4821	STARTING    org.eclipse.equinox.weaving.caching.j9_1.0.200.I20130319-1000
4822	RESOLVED    org.eclipse.equinox.weaving.hook_1.0.200.I20130319-1000
4824	ACTIVE      de.itemis.imes.patching_1.0.0.qualifier

(the last bundle is the one containing the aspects).

The Eclipse error/start log shows the command line args:

Framework arguments:  -product de.itemis.imes.releng.product.imesEditor -Dlog4j.debug -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook -Daj.weaving.verbose=true -Dorg.aspectj.weaver.showWeaveInfo=true -Dorg.aspectj.osgi.verbose=true
Command-line arguments:  -product de.itemis.imes.releng.product.imesEditor -data F:\workspaces\imes-juno-release/../runtime-models-startstop -dev file:F:/workspaces/imes-juno-release/.metadata/.plugins/org.eclipse.pde.core/Modeling-Environment -Juno JRebel StartStop/ -os win32 -ws win32 -arch x86_64 -consoleLog -Dlog4j.debug -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook -Daj.weaving.verbose=true -Dorg.aspectj.weaver.showWeaveInfo=true -Dorg.aspectj.osgi.verbose=true

And this is the AJDT Console:

14:18:55 Startup information: 
   AJDT version: 2.2.3.e42x-RELEASE-20130625-1400
   AspectJ Compiler version: 1.7.3
   org.eclipse.ajdt.internal.ui.tracing.checked.filters = set: Compiler,Builder = 2.2.3.e42x-RELEASE-20130625-1400

However, there does not seem to be any logging output, and the Aspect Code is not woven either. Any ideas?

Thanks in advance,

Re: AJDT Configuration [message #1072356 is a reply to message #1072264] Mon, 22 July 2013 15:30 Go to previous messageGo to next message
Andreas Graf is currently offline Andreas GrafFriend
Messages: 211
Registered: July 2009
Senior Member
Fixed, the -D arguments where at the wrong place.
Re: AJDT Configuration [message #1072359 is a reply to message #1072356] Mon, 22 July 2013 15:39 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Glad to hear you got it working. Feel free to ask any more questions here. Smile
Previous Topic:Jubula not working
Next Topic:How to get AspectJ Markers programmatically ? [Solved]
Goto Forum:

Current Time: Tue Feb 25 13:46:31 GMT 2020

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

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

Back to the top