Bug 287092 - Integrate extension to allow groovy compilation
Summary: Integrate extension to allow groovy compilation
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows NT
: P3 normal with 44 votes (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 11:33 EDT by Andrew Clement CLA
Modified: 2015-03-17 12:09 EDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2009-08-19 11:33:37 EDT
Integrate the extensions greclipse has to jdt.core in order to support building of groovy code in AspectJ projects.
Comment 1 Adrian Sampaleanu CLA 2009-08-20 17:56:29 EDT
I really hope this gets addressed sometime soon. Using Groovy shouldn't give people an excuse not to use aspects for everyday tasks. Please promote the use of aspects!

Comment 2 Matteo Barbieri CLA 2009-10-05 04:42:20 EDT
I need this too
Comment 3 Scott Murphy CLA 2009-11-23 19:50:30 EST
This is a blocker for me preventing me from using AspectJ
Comment 4 Adrian Sampaleanu CLA 2010-07-05 11:55:37 EDT
Any updates on this issue?
Comment 5 Andrew Clement CLA 2010-07-05 12:00:39 EDT
nope, still on the list to look at but never seems to make it to the top priority.
Comment 6 Sebastian Esponda CLA 2011-12-22 16:29:20 EST
Our case is similar: we have AspectJ + Maven + Eclipse working well integrated.
However, we can't add Groovy to existing Maven+AspecJ projects due to this issue.

I'll keep an eye on this bug...

Thanks,
Comment 7 Agelos Pikoulas CLA 2012-03-31 15:07:42 EDT
Do we have any update on the AspectJ+Groovy issue? I hope it has not been zombified :-(
I think allowing to mix Eclipse & Groovy with Spring + AspectJ + Maven (even without Groovy pointcutting) will be so beneficial...
Comment 8 Andrew Clement CLA 2012-04-02 11:21:14 EDT
I'm afraid there is nothing to report on this as of yet, maybe it is worth looking at alternative solutions that aren't so costly development wise.
Comment 9 Agelos Pikoulas CLA 2012-04-02 14:17:33 EDT
That is a shame Andrew, using groovy alongside with aspectJ and spring would be great for many people.  I see in your blog you're mainly into aspectj, eclipse but also into groovy. 

Just a few clarifications if you can : 

- Do you have any insights whether this is (still?) a priority issue in either the groovy/springsource or the aspectj teams (apart from eclipse that has it as P3 normal) ?

- Do you think a custom builder configuration or an ant script could somehow solve this ?

- Finally, what do you mean "it is worth looking at alternative solutions that aren't so costly development wise."  What do you consider being development costly ?
Comment 10 Andrew Clement CLA 2012-04-02 17:37:15 EDT
> That is a shame Andrew, using groovy alongside with aspectJ and spring would be
> great for many people.  

I know, we just have so much work on.

> I see in your blog you're mainly into aspectj, eclipse but also into groovy. 

I own AspectJ and also the patched jdt compiler that integrates groovy compilation (that underpins groovy-eclipse).

> - Do you have any insights whether this is (still?) a priority issue in either
> the groovy/springsource or the aspectj teams (apart from eclipse that has it as
> P3 normal) ?

It is one of those things that we're always hoping to get to, but don't seem to find the time.  I wouldn't read too much into the importance level for the bug.  We have a lot of bugs and can't keep them all prioritized appropriately.  You'll know this is dropping off the radar when it has no target milestone.  (Having a 1.7.0 target means we would love to fit it in that release but doesn't mean we will definitely manage it)

> - Finally, what do you mean "it is worth looking at alternative solutions that
> aren't so costly development wise."  What do you consider being development
> costly ?

The initial piece of work is straightforward, just merge the jdt core changes made for groovy into AspectJs modified jdt core.  However, there is then the interplay of these features to think about.  Not necessarily a lot of coding here but a lot of thought required with a few lines here and there to prevent inadvertent clashes.

> - Do you think a custom builder configuration or an ant script could somehow
> solve this ?

This is one of the alternative options we have considered but haven't put a lot of time into thinking through the details.  Having both Java builder and AspectJ builder operating on the same project may enable you to limp along but they'll both be attempting to compile the .java and both think they are the only builder doing that.
Comment 11 Andrew Clement CLA 2013-06-24 11:05:13 EDT
unsetting the target field which is currently set for something already released
Comment 12 Michael Bannister CLA 2015-03-17 04:24:21 EDT
It's been a while - are we any nearer a chance of this happening?
There's an equivalent bug in the Spring Tool Suite JIRA (https://issuetracker.springsource.com/browse/STS-629) so I will prompt there, too - I'm sure SpringSource/Pivotal have enough people to be able to help out here if it's just an issue of finding the time!