Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Question about Compile Time Weaving, OSGI, Java Web Start, and code duplication

Hey all,

I am currently developing an OSGI project that makes use of AspectJ. I am using Java Web Start too which means that I cannot use Load Time Weaving. With Compile Time Weaving, it appears that I will need *.aj files for every bundle, and that I have to duplicate code if I want the same aspect to affect java classes in different bundles. Am I wrong about this? I am not sure if I am misinterpreting what Equinox Aspects is saying about Compile Time Weaving, or if I am not taking advantage of OSGI enough to be able to use aspects in multiple bundles. Let me know if I made my problem clear and if I have any way around duplicating aspect code.

This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender.
Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Corporation. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no liability for any damage caused by any virus transmitted by this e-mail.


Back to the top