Marco, Or binary weaving the aspects as an additional step in your batch build process.
Matthew Webster AOSD Project Java Technology Centre, MP146 IBM United Kingdom Limited Hursley Park, Winchester, SO21 2JN, England Telephone: +44 196 2816139 (external) 246139 (internal) Email: Matthew Webster/UK/IBM @ IBMGB, [EMAIL PROTECTED] http://w3.hursley.ibm.com/~websterm/ Santiago Aguiar <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 29/01/2007 11:36 Please respond to [email protected] To [email protected] cc Subject Re: [aspectj-users] need suggestion on how to deal with anti-aspectj people :( You could also use load time weaving, if it's acceptable for your application. That way, aspects are not compiled but loaded when your application or test cases are running (which, as always, has some pros an cons). We currently use this approach at work (where there's also some internal resistance to using aspects). saludos! Marco Mistroni wrote: hi all, i have developed a project using aspectj, because i had a business rule that needed to be applied in various layers of the application. Only problem is that, every time in my RAD i change the code of a class that is affected by an aspect, aspectj plugin for eclipse recompile the whole project (aind since i have many dependencies, it ends up recompiling all projects in my workspace) many of my colleagues are pissed off for this, and they want to drop aspectj because 'it takes hell lot of time to compile, surely if we write a class with the business rule, and call it from every part in the code where is needed, we can achieve the same effect without having the compilation hell' beside that with this idea we need to add one extra parameter for every single method where we need to apply the business rule (should be a pain, but withh eclipse quick-and-fix shortcuts that refactor all methods where you need to add an extra parameter, everything is easy), i haven't found any arguments to counterattack..... anyone can give me some please? i have said that with aspectj, you wouldn't need to change any signle line of code to apply a business rule, because everything is coded into aspect... but to them, this is not enough.... thanks and regards marco _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users -- santiago aguiar netlabs Palmar 2548 Montevideo, Uruguay Tel. +(598 2) 707 7687 Fax. +(598 2) 709 4866 http://www.netlabs.com.uy _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
santi.vcf
Description: Binary data
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
