Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] Can we rename aop.xml file in META-INF in AspectJ?

Hi,

Can we rename aop.xml file to some custom name say myaop.xml?
If I do it using -outxmlfile META-INF/myaop.xml option in ajc command, it
creates the myaop.xml file but load time weaving does not happen as it does
not get default ..\META-INF\aop.xml file.
So is there any way to specify our own custom aop file name to ajc?
eg something like this:
call ajc -d ..\build\classes -classpath
%ASPECTJ_HOME%\lib\aspectjrt.jar;..\build\classes -sourceroots
..\src\aspects -outxmlfile META-INF\myaop.xml

java -javaagent:%ASPECTJ_HOME%\lib\aspectjweaver.jar -cp
..\build\classes;%ASPECTJ_HOME%\lib\aspectjrt.jar;%ASPECTJ_HOME%\lib\aspectjweaver.jar
com.perf.Worker


Pls somebody help on this.

Thanks,
sandesh
-- 
View this message in context: http://www.nabble.com/Can-we-rename-aop.xml-file-in-META-INF-in-AspectJ--tf4260099.html#a12123290
Sent from the AspectJ - dev mailing list archive at Nabble.com.



Back to the top