Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » AJDT and APT processors in Eclipse
AJDT and APT processors in Eclipse [message #72334] Mon, 13 October 2008 18:22 Go to next message
David Pytel is currently offline David Pytel
Messages: 4
Registered: July 2009
Junior Member
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
Andrew Clement is currently offline Andrew Clement
Messages: 162
Registered: July 2009
Senior Member
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
David Pytel is currently offline David Pytel
Messages: 4
Registered: July 2009
Junior Member
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
Andrew Clement is currently offline Andrew Clement
Messages: 162
Registered: July 2009
Senior Member
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
David Pytel is currently offline David Pytel
Messages: 4
Registered: July 2009
Junior Member
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: Sat Jul 26 01:19:49 EDT 2014

Powered by FUDForum. Page generated in 0.31388 seconds