Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Re: ITD content assist in separate project

This came up on the list a couple of weeks ago - here is the bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=299830.

The two current options you have are:

- the one you have done, which is to convert it to an AspectJ project.
 This makes it 'ITD aware'.  I agree it is odd, but it works because
the project then becomes 'aware' of ITDs against anything it is
looking at.
- instead of a project dependency, add a class folder dependency.  If
your new project depends on the class output folder for your Roo
project, it will see the methods in the output rather than looking at
the source to work them out.

Add yourself cc: on the bug report to track progress on finding a
neater way to support this.

cheers,
Andy

On 9 March 2010 15:11, Sharon Gorman <sharongormanwork@xxxxxxxxx> wrote:
>
>
>> Hi All,
>> I am a newby to AspectJ and AJDT.
>> I am trying to set up something which seems quite intuitive to me ... but
>> can't get it to work, so am looking for help.
>>
>> I have a Roo based eclipse project for my domain model and persistence.
>> So as part of that I have a number of classes that have ITDs.
>>
>> Now is a separate eclipse project I want to consume those classes and in
>> particular, it is important that code assist works showing me the methods
>> added by the ITDs.
>>
>> What is the best way to achieve this?  Do I need to make my consuming
>> project dependant on the jar file rather than on the eclipse project?  Or is
>> there some other better way?
>> I have tried adding the AspectJ nature to the consuming project, although
>> this seems counter-intuitive to me.  It did make some errors go away on the
>> editor.  But surely this shouldn't be necessary, since there are no aspects
>> or ITDs in this consuming project.
>>
>> Thanks for any advice
>>
>> Sharon Holliday
>>
>
>
>
> --
> -----------------------------------
> Sharon Gorman
> Senior Consultant
> Object Consulting
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>


Back to the top