Skip to main content



      Home
Home » Language IDEs » AspectJ » AJDT and APT processors in Eclipse
AJDT and APT processors in Eclipse [message #72334] Mon, 13 October 2008 18:22 Go to next message
Eclipse UserFriend
Hi,

I was wondering if there is any possibility to process an AJDT project
with an APT processor?

I'd like to generate some code using the processor. It works perfectly
fine with plain eclipse Java project. However, when I convert it to
AspectJ project the processor is called only in reconcile phase. The
problem is that files can be generated by apt processors only in Build
phase.

Now I use an ant script and an ant's apt task. It's not a very nice
solution because I can't debug my apt processor.

Is there any other solution?

Thanks,

David Pytel
Re: AJDT and APT processors in Eclipse [message #72372 is a reply to message #72334] Wed, 22 October 2008 15:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi David,

Playing nicely with APT processors is something we want to do, it just
hasn't made it up to the top of the priority list yet.

We have an open issue regarding APT:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=169857

but i'm not sure it relates exactly to what you are seeing and what you'd
like to happen (I am no APT expert). Feel free to add some comments to
that bug or open a new one - if it works fine for normal Java projects, it
should work for AspectJ projects.

Andy
AspectJ/AJDT Committer
Re: AJDT and APT processors in Eclipse [message #72405 is a reply to message #72372] Thu, 23 October 2008 17:19 Go to previous message
Eclipse UserFriend
Andy Clement wrote:
> We have an open issue regarding APT:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=169857
>
> but i'm not sure it relates exactly to what you are seeing and what
> you'd like to happen (I am no APT expert). Feel free to add some
> comments to that bug or open a new one - if it works fine for normal
> Java projects, it should work for AspectJ projects.

Thanks for response.
I don't know why I couldn't find that before. This is the bug I
encountered. I done as bug's reporter suggested - added javabuilder to
..project file and it works fine.

Best regards
David
Re: AJDT and APT processors in Eclipse [message #599157 is a reply to message #72334] Wed, 22 October 2008 15:49 Go to previous message
Eclipse UserFriend
Hi David,

Playing nicely with APT processors is something we want to do, it just
hasn't made it up to the top of the priority list yet.

We have an open issue regarding APT:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=169857

but i'm not sure it relates exactly to what you are seeing and what you'd
like to happen (I am no APT expert). Feel free to add some comments to
that bug or open a new one - if it works fine for normal Java projects, it
should work for AspectJ projects.

Andy
AspectJ/AJDT Committer
Re: AJDT and APT processors in Eclipse [message #599169 is a reply to message #72372] Thu, 23 October 2008 17:19 Go to previous message
Eclipse UserFriend
Andy Clement wrote:
> We have an open issue regarding APT:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=169857
>
> but i'm not sure it relates exactly to what you are seeing and what
> you'd like to happen (I am no APT expert). Feel free to add some
> comments to that bug or open a new one - if it works fine for normal
> Java projects, it should work for AspectJ projects.

Thanks for response.
I don't know why I couldn't find that before. This is the bug I
encountered. I done as bug's reporter suggested - added javabuilder to
..project file and it works fine.

Best regards
David
Previous Topic:Exception using LTW with signed jars
Next Topic:java.lang.IllegalAccessError
Goto Forum:
  


Current Time: Tue Jul 08 20:32:56 EDT 2025

Powered by FUDForum. Page generated in 0.04489 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top