AJDT and APT processors in Eclipse [message #72334] |
Mon, 13 October 2008 18:22  |
Eclipse User |
|
|
|
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 #72405 is a reply to message #72372] |
Thu, 23 October 2008 17:19  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04489 seconds