Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] AJC compiler and eclipse

:: Ok, we seem to have the same issues.
:: 
:: Is their someone that has experience in setting up eclipse 
:: with 2 projects
:: 
:: 1. Normal eclipse project
:: Contains all the normal classes and is the normal project like most 
:: developers are currently using it.
:: 2. Aspect project that contains the aspects but uses the 
:: other project for 
:: the classes
:: Developers can use this project to weave in the aspects.

I have a web framework based on nextapp echo that works like that. the
difference is that I don't have such a clean cut. both the framework and
the projects using the framework have aspects and classes mixed. but
most of the weaving happens when compiling the framework, and only a few
aspects from the framework are woven when compiling the actual projects.

and as of eclipse, I use eclipse without the aspectj plugin and build
the projects with ant from a command line. the framework compiles for 2
mins...

the eclipse eager parser is quite error tolerant, so I even have some
files with aspects where I can use the context assist. you just need a
few tricks, like putting all inner aspects at the end of the file to
keep the java parser sane... :)

- 101



Back to the top