Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to make a launchConfigurationTypes appears only on Linux?

thanks Xavier !

Have a good day !

 

Christelle

 

From: Xavier Raynaud [mailto:xavier.raynaud@xxxxxxxxx]
Sent: Monday, November 24, 2014 4:25 PM
To: Christelle BURGUERA; CDT General developers list.
Subject: Re: [cdt-dev] How to make a launchConfigurationTypes appears only on Linux?

 

It's possible to have only one delivery. Execution platform is calculated at run-time, automatically disabling linux-specific fragment on windows.

 

X


De: "Christelle BURGUERA" <Christelle.BURGUERA@xxxxxx>
À: "Xavier Raynaud" <xavier.raynaud@xxxxxxxxx>, "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Envoyé: Lundi 24 Novembre 2014 15:59:12
Objet: RE: [cdt-dev] How to make a launchConfigurationTypes appears only on        Linux?

 

Hi Xavier,

 

Thank you for your  answer.

I’ll see it !

 

But do I have two separate deliveries, one for linxu and one for windows ?

 

Christelle

 

From: Xavier Raynaud [mailto:xavier.raynaud@xxxxxxxxx]
Sent: Monday, November 24, 2014 1:31 PM
To: CDT General developers list.
Cc: Christelle BURGUERA
Subject: Re: [cdt-dev] How to make a launchConfigurationTypes appears only on Linux?

 

Hi Christelle,

 

A fragment is used to replace or extend the functionality of an existing plug-in. A common use for fragments is to put environment (operating system, architecture, etc.) specific code into fragments.

 

In your case, you will have your base plug-in "com.st.something".

Then, a linux-specific fragment "com.st.something.linux". This fragment will extend your base plugin, but only on linux. It will also contains the definition of your launch config.

 

Hope this help :)

 

Xavier

 


De: "Christelle BURGUERA" <Christelle.BURGUERA@xxxxxx>
À: cdt-dev@xxxxxxxxxxx
Envoyé: Lundi 24 Novembre 2014 13:21:17
Objet: [cdt-dev] How to make a launchConfigurationTypes appears only on        Linux?

 

Hi,

 

I develop a RCP application (in java) based on CDT.
I have a project type (C/C++) particular that don't work under windows.

 

I would condition the visibility of the creation item launchConfiguration as if we are on Linux or not.

 

So I created an extension of org.eclipse.debug.core.launchConfigurationTypes type, but there is no way to display its condition visibility.

 

I thought overloaded the extension point and add an OS field.
But I've never done this kind of exercise, and I do not even know if it is possible, knowing that I want everything works as before except add a flag of visibilty ...

 

Is this possible?
Any idea how can I make that ?

 

Many thanks
Chris


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 

 


Back to the top