Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AJDT icons query & iajc problem

On 09/06/06, Venkat Chakravarthy <vchakra@xxxxxxxxxxx> wrote:
1) Does the AJDT editor display annotation icons in the gutter for
   projects that are built using the <iajc> task of Ant?

No.

   - If not, it would be great if the we could have this facility. I know
     a lot of large projects use Ant for building.

I think it would be theoretically possible to have iajc output the
crosscutting relationships to a file, which is then read by AJDT. Most
projects are likely to use Ant on their build systems, but in the
development environment why not stick with the AspectJ compiler driven
through the Eclipse builder?

2) I am curious to know the file that AJDT uses to produce the icons and
   the cross-references view. I looked around in my Eclipse workspace and
   did not find any.

After a build the crosscutting relationships are stored in-memory.
They are however serialized in a file under the .metadata directory of
your eclipse workspace when you shutdown the workbench, and then
de-serialized at next start-up. You can also save the relationship map
out to a file in a project by selecting from the AspectJ tools context
menu. It's a binary format (ask on the develepers list if you want to
know more about the format).

3) Non-forking compile using <iajc> in Eclipse is not working and throws
   an error...

I suggest raising a bug. When AJDT generates build.xml files it always
uses fork=true, so doesn't hit this problem.

Regards,

Matt.


Back to the top