Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] configuring AJDTto compile .java with javac and .aj with ajc ...


Fabio,

Put your aspects in a separate AJDT project. You can then use the LTW launcher to weave them when you run your program. Finally when you actually deploy you application you could have 2 separate JARs files one with you application classes the other with your aspects and an aop.xml file that lists them (use the -outxml option).

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/



Fabio Fagundes Silveira <ffs@xxxxxx>
Sent by: ajdt-dev-bounces@xxxxxxxxxxx

10/11/2006 12:51

Please respond to
AspectJ Development Tools developer discussions <ajdt-dev@xxxxxxxxxxx>

To
ajdt-dev@xxxxxxxxxxx
cc
Subject
[ajdt-dev] configuring AJDTto compile .java with javac and .aj with        ajc ...





Hello,

  As I intend to use LTW, I'd like to know how to configure AJDT in
eclipse to compile my classes as pure java code (ie. using javac) and
just aspects (.aj) with ajc?  For now, I have to compile classes in a
separated way, what is kind of boring ... :-(

  May you help me?

thanks in advance,
Fabio

_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ajdt-dev


Back to the top