[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.ajdt] Re: AJDT asking to enable weaving in Eclipse
|
- From: Andrew Eisenberg <andrew.eisenberg@xxxxxxxxxxxxxxxx>
- Date: Tue, 26 May 2009 11:48:03 -0700
- Newsgroups: eclipse.technology.ajdt
- Organization: EclipseCorner
- Thread-index: AcneMn/DmPaGqa22a0i9hR12EfOzTQ==
- Thread-topic: AJDT asking to enable weaving in Eclipse
- User-agent: Microsoft-Entourage/12.17.0.090302
In your case, you might be better off using Equinox Aspects alone, without
using the JDT weaving service. EA is available from the AJDT update site.
Also, instructions on how to use it in your osgi application are available
here:
http://www.eclipse.org/equinox/incubator/aspects/index.php
On 25/05/09 6:05 AM, in article gve519$h73$1@xxxxxxxxxxxxxxxxx, "Jacek
Pospychala" <jacek.pospychala@xxxxxxxxxx> wrote:
> hi Andrew,
> I was looking at how to most seamlessly plug into weaving Eclipse
> plugins. My own plug-in would just contribute aspects, and I would not
> have to worry whether weaving hook is enabled or not, but leave it to
> user to enable/disable Weaving as it is done in AJDT/JDT integration.
>
> I found that your code depends on JDT and the aspect that verifies
> Weaving hook installation success also requires some particular JDT class.
> I used that as an example for my own Weaving hook enabler. However
> someone could come up with solution generic enough so that it would not
> require JDT.
>
> In my case I wanted to weave various plug-ins and not assume that JDT is
> available.
>
> Andrew Eisenberg pisze:
>> That's right.
>>
>> A description of how it is implemented is here:
>> http://wiki.eclipse.org/JDT_weaving_features
>>
>> And org.eclipse.contribution.jdt.preferences.WeavingStateConfigurerUI
>> provides UI support for it.
>>
>> What are you trying to do?
>>
>>
>> On 11/05/09 6:27 AM, in article gu9938$eeo$1@xxxxxxxxxxxxxxxxx, "Jacek
>> Pospychala" <jacek.pospychala@xxxxxxxxxx> wrote:
>>
>>> Ok, I see it:
>>> org.eclipse.contribution.jdt.preferences.WeavingStateConfigurer
>>> in org.eclipse.contribution.jdt bundle.
>>>
>>> Jacek
>>>
>>>
>>> Jacek Pospychala pisze:
>>>> hi AJDT :-)
>>>>
>>>> How does AJDT enable the aspects weaving support in the Eclipse it's
>>>> running? (To enable the advanced integration with JDT)
>>>>
>>>> Which class does that?
>>>>
>>>> Thanks!
>>>>
>>>>
>>
>