Hi Andy, Thanks for your really good support. I realized that I might need to use LTW for using my library (containing the aspects) with different java apps. The reason for it is that we need an easy way to enable/disable aspect as well as only use a subset of them.
Therefore I have a couple of questions: 1. Is it possible to set other parameters from aop.xml and send values to aspect. I mean as runtime values? 2. Can the aop.xml reside in the META-INF folder on the java app? Will it override if I have a default one in the same directory but in lib? 3. I want to be able to set a directory path where all data from "Pointcut" will be stored. Is it possible to set it at runtime ( not using a system property)? 4. Do I only need the following for compiling the app: <configuration> <argLine>-Xms512m -Xmx2048m</argLine> <!-- AOP: Load-Time Weaving --> <argLine>-javaagent:"${settings.localRepository}"/org/aspectj/ aspectjweaver/${aspectj.version}/ aspectjweaver-${aspectj.version}.jar </argLine> <useSystemClassLoader>true</useSystemClassLoader> <forkMode>always</forkMode> </configuration> and of course a dependency to the library containing the aspects? Your advice is greatly appreciated. br, //mikael
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/aspectj-users