|
|
|
|
|
Re: AJDT New Feature of the Week: Load-time Weaving [message #58555 is a reply to message #58242] |
Sun, 13 November 2005 04:47 |
Eugene Kuleshov Messages: 504 Registered: July 2009 |
Senior Member |
|
|
Sian January wrote:
>>>>> AJDT 1.2.1 and 1.3 now provide support for load-time weaving your
>>>>> applications in Eclipse. Please see the New Features page for more
>>>>> details: http://www.eclipse.org/ajdt/newfeatures/#ltw
>>>>
>>>> Yay! Looks great :)
>>>
>>> It does! But why LTW tab wasn't just added to all other
>>> Java-related launch configuration types including java app, swt app,
>>> junit, eclipse workbench, etc. I believe it would be much more
>>> poverful this way and won't require to duplicate launch configs only
>>> to wave apps in the runtime.
>>>
>> Yes, I can see that would be very desirable. The problem in doing that
>> is (I suspect) the extensibility (or not) of the existing launch
>> configuration contributions :- whilst Eclipse has a defined mechanism
>> for adding a new kind of launch configuration, there is to guarantee
>> at all that any existing launch configuration has been designed with
>> extension points to allow extra tabs and behaviour to be added.
>>
>> I'm sure the AJDT folks can give a more authorative view on that...
>
> That's right - it's not possible to extend existing launch
> configurations, which is why we have to provide our own. However it
> should be possible to use load-time weaving with these other kinds of
> application, it just requires a bit of typing to add the vm arguments
> and write your own aop.xml file. More information on load-time weaving
> can be found in the AspectJ 5 developers notebook -
> http://www.eclipse.org/aspectj/doc/next/adk15notebook/ltw.ht ml.
That is what I meant! Can't you check if given launch configuration
somehow derived from Java-based one and then provide custom tab that
would handle these vm args and aop.xml.
Besides you should know better what is missing in the launch
configuration API, and it would be very beneficial for many other tools
to have common way to add an extra features to the existing launch
configuration. So, please please please fill an enhancement request to
platform plugin and all will vote for it. :-)
regards,
Eugene
|
|
|
|
|
|
|
Re: AJDT New Feature of the Week: Load-time Weaving [message #590890 is a reply to message #58242] |
Sun, 13 November 2005 04:47 |
Eugene Kuleshov Messages: 504 Registered: July 2009 |
Senior Member |
|
|
Sian January wrote:
>>>>> AJDT 1.2.1 and 1.3 now provide support for load-time weaving your
>>>>> applications in Eclipse. Please see the New Features page for more
>>>>> details: http://www.eclipse.org/ajdt/newfeatures/#ltw
>>>>
>>>> Yay! Looks great :)
>>>
>>> It does! But why LTW tab wasn't just added to all other
>>> Java-related launch configuration types including java app, swt app,
>>> junit, eclipse workbench, etc. I believe it would be much more
>>> poverful this way and won't require to duplicate launch configs only
>>> to wave apps in the runtime.
>>>
>> Yes, I can see that would be very desirable. The problem in doing that
>> is (I suspect) the extensibility (or not) of the existing launch
>> configuration contributions :- whilst Eclipse has a defined mechanism
>> for adding a new kind of launch configuration, there is to guarantee
>> at all that any existing launch configuration has been designed with
>> extension points to allow extra tabs and behaviour to be added.
>>
>> I'm sure the AJDT folks can give a more authorative view on that...
>
> That's right - it's not possible to extend existing launch
> configurations, which is why we have to provide our own. However it
> should be possible to use load-time weaving with these other kinds of
> application, it just requires a bit of typing to add the vm arguments
> and write your own aop.xml file. More information on load-time weaving
> can be found in the AspectJ 5 developers notebook -
> http://www.eclipse.org/aspectj/doc/next/adk15notebook/ltw.ht ml
That is what I meant! Can't you check if given launch configuration
somehow derived from Java-based one and then provide custom tab that
would handle these vm args and aop.xml.
Besides you should know better what is missing in the launch
configuration API, and it would be very beneficial for many other tools
to have common way to add an extra features to the existing launch
configuration. So, please please please fill an enhancement request to
platform plugin and all will vote for it. :-)
regards,
Eugene
|
|
|
Powered by
FUDForum. Page generated in 0.03466 seconds