Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] Launch Configuration API Feedback


I like the second option also since now I just reference the internal java launcher in my xml and it works fine.



Darin_Wright@xxxxxxx
Sent by: platform-debug-dev-admin@xxxxxxxxxxx

03/20/2002 12:04 PM
Please respond to platform-debug-dev

       
        To:        platform-debug-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-debug-dev] Launch Configuration API Feedback



Clarification of Java Launch Config re-use:

* We could promote reuse of the (local) Java application launch configuration delegate in two ways:

(1) Provide access to delegates via their types - i.e. ILaunchConfigurationType, could have a #getDelegate() method. A different type of delegate, say a JUnit delegate, could then programatically retrieve the Java app delegate, and re-direct the launch to that delegate.
(2) Promote the Java delegate to API, and then other launch configuration types could simply specify the Java app delegate in their XML directly.


I acutally like (2).


Darin



Darin_Wright@xxxxxxx
Sent by: platform-debug-dev-admin@xxxxxxxxxxx

03/20/2002 10:09 AM
Please respond to platform-debug-dev

       
       To:        platform-debug-dev@xxxxxxxxxxx
       cc:        
       Subject:        Re: [platform-debug-dev] Launch Configuration API Feedback



Re: Java launch config re-use
* Perhaps we should expose a method on ILaunchConfiguration to get the underlying delegate. If this were availble, your delegate could (re)delegate to the existing java launch configuration delegate.

Darin

Matt_Lavin@xxxxxxx
Sent by: platform-debug-dev-admin@xxxxxxxxxxx

03/20/2002 09:45 AM
Please respond to platform-debug-dev

       
      To:        platform-debug-dev@xxxxxxxxxxx
      cc:        
      Subject:        Re: [platform-debug-dev] Launch Configuration API Feedback





Comments below

* Java Launch Configuration Delegate Reuse
Creating an AbstractJavaLaunchConfigurationDelegate which is public is great if people want to change the way that the java launching happens, but what I really want to do is to use the java launch delegates exactly as they are.  Now, I don't have to redo the validation but I still have to copy the actual launch code, which is the most interesting part of the class.
Darin_Wright@xxxxxxx
Sent by: platform-debug-dev-admin@xxxxxxxxxxx

03/19/2002 08:20 PM
Please respond to platform-debug-dev

       
     To:        platform-debug-dev@xxxxxxxxxxx
     cc:        
     Subject:        Re: [platform-debug-dev] Launch Configuration API Feedback


* Please note that there is now an "AbstractJavaLaunchConfigurationDelegate" which is public API. It provides convenience methods for verifying launch configuration attributes.

Darin


Back to the top