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 22:22 Go to next message
David Pytel is currently offline David PytelFriend
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 19:49 Go to previous messageGo to next message
Andrew Clement is currently offline Andrew ClementFriend
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 21:19 Go to previous message
David Pytel is currently offline David PytelFriend
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 19:49 Go to previous message
Andrew Clement is currently offline Andrew ClementFriend
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 21:19 Go to previous message
David Pytel is currently offline David PytelFriend
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: Thu Dec 18 22:24:04 GMT 2014

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

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