[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: AW: [aspectj-users] applying aspects on a big Java Project
|
Thanks. With the 2nd solution, it did
work.
"Matic, Dragan" <dragan.matic@xxxxxxx>
wrote on 10/06/2005 07:36:58:
> well, that was my 1st action; I gave
-Xmx1024m !, but the process
> continued to grow up in a logarithmic way;
and no garbage collection
> was possible. Hmm, maybe that's still not enough. Do you know how many lines of code
you have? You could try opening the AJDT Event Trace view (Window > Show View
> Other > AspectJ) to see what it's doing. > I also tryed the linked
source folder, but without success. Maybe I
> it didn't run because of
the large amount of files (but the weaving
> process didn't even seem to
start). For the binary weaving, it's
> less what I need, because I want
to show the errors/warnings in the
> task list of eclipse. However, I
could try that, if you give me a
> recept how to do it (I never made that
before). Binary weaving will still show the
errors/warnings in the Problems view, but you will not be able to double-click
to navigate to the source location, as it only knows about the .class files. To
do this with a plain Java project, create an AspectJ project to do the weaving
in, and go to Properties > AspectJ InPath, then from the first tab press "Add
Class Folder..." and choose the output folder of the Java project. Another
useful option here is AspectJ Compiler > Other > Output weaving messages
to the problems view. This will add information-level entries whenever something
is woven. Regards,
Matt.