Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] AJDT Advice Not showing....

Matt,
 
Thanks for that explanation!
 
Ron

	-----Original Message----- 
	From: Matt Chapman [mailto:mpchapman@xxxxxxxxx] 
	Sent: Thu 9/8/2005 5:39 AM 
	To: aspectj-users@xxxxxxxxxxx 
	Cc: 
	Subject: Re: [aspectj-users] AJDT Advice Not showing....
	
	

	Hi Ron,
	
	The crosscutting relationships in Eclipse are generally between source
	code Java elements in the workspace. Currently, if the source end of
	an "advises" relationship exists in the workspace, but the aspect has
	come from a JAR file (or a different project) the target does appear,
	but only as a "binary aspect", which can't be navigated to. But if the
	source doesn't exist in the workspace, the relationship doesn't make
	it into AJDT. We hope to address this limitation in the future, by
	supporting binary elements. Bug 105822 covers the issue for the
	Visualiser, but everything uses the same relationship model, so it's
	the same problem. Also, bug 48621 covers navigation into jar files
	with source code attachments.
	
	Regards,
	
	Matt.
	
	On 08/09/05, Ronald R. DiFrango <difranr@xxxxxxxxxxx> wrote:
	> All,
	>
	> I am using:
	>
	> Eclipse SDK
	>
	> Version: 3.1.0
	> Build id: I20050627-1435
	>
	> Eclipse AspectJ Development Tools
	>
	> Version: 1.3.0
	> Build id: 20050907105507
	> AspectJ version: 1.5.0 M3a
	>
	> I have the following aspect that for some reason does not show that it
	> advise anything, but during runtime the sysout below does dump out.
	> package com.tascon.tim.sofia.aop;
	>
	> import com.salmonllc.jsp.JspTableRow;
	>
	> public aspect SofiaJspTableRow {
	>     pointcut generateHtml(JspTableRow row) :
	>         execution(public void JspTableRow.generateHTML(..))
	>         && target(row);
	>
	>     void around(JspTableRow row) throws java.io.IOException :
	> generateHtml(row)
	>     {
	>         System.out.println("Executing my aspect now.");
	>         proceed(row);
	>     }
	> }
	>
	> Any reason why this might be the case?  Please note this advice is being
	> woven into an external JAR file, but I have other around advice which
	> does something similar and the outline view shows it fine.
	>
	> Ron
	> _______________________________________________
	> aspectj-users mailing list
	> aspectj-users@xxxxxxxxxxx
	> https://dev.eclipse.org/mailman/listinfo/aspectj-users
	>
	_______________________________________________
	aspectj-users mailing list
	aspectj-users@xxxxxxxxxxx
	https://dev.eclipse.org/mailman/listinfo/aspectj-users
	

<<winmail.dat>>


Back to the top