Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Aspectj in weaving a jar file

If you create a jar file containing the compiled (by aspectJ) aspectj file and java file, then if you call methods in the compiled java file in another project into which you've imported that jar then the advice will run.  They key thing is that AspectJ has to be involved at some point to weave the advice.

cheers,
Andy

On 13 October 2014 11:19, mufc_fan <rajeshkumarit8292@xxxxxxxxx> wrote:
Hi Andy

Thank u for ur reply...After creating a jar file(combining aspectj file and
java file) whether I can import it into a normal java project and If i
refer(calll) any function for which advice is written whether advice runs or
not?



--
View this message in context: http://aspectj.2085585.n4.nabble.com/Aspectj-in-weaving-a-jar-file-tp4651584p4651597.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top