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 Graf
Messages: 151
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
	            Master=0
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/dev.properties -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
   usingVisualiser=true
   usingXref=true
   usingCUprovider=false
   org.eclipse.ajdt.internal.ui.tracing.checked.filters = set: Compiler,Builder
   ajde.version.at.previous.startup = 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,

Andreas
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 Graf
Messages: 151
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 Eisenberg
Messages: 368
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: Wed Sep 17 09:47:29 GMT 2014

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

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