[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Launchconfiguration

R4ID wrote:
Hi!

I have two questions about eclipse launch configurations:

1.) I want to save seettings made by my own TAB panel. The user may select two files from the workspace. If now the launch configuration is opened again this setting must have been persistet. Thus I used a properties file to store the path of the two files. Is there a more elegant way? Some eclipse internal speciality?

2.) I can start the plugin which contains the created launch configuration from my development eclipse installation via the "run/debug" launch configuration and my newly created launch configuration is available and working. Now: If I export the plugin as archive and insert this in a new clean eclipse installation the launch configuration is not available. But the eclipse plugin containing the launchconfiguration is present which I found out via the eclipse/about dialog...

I'm wondering about the reason why my launch configuration is not present...

Launch configurations are, well 'configurations', not things in a plugin but rather thing created by users. In the run/debug you -- a user -- created a launch configuration. When you start clean install then you -- a different user -- have to create one.


You can create one in code by creating a working copy from a LaunchConfigurationType, then saving it to disk.

You should look around your disk to find the .launch files and read a couple of them, and watch this directory as you create/delete etc. It will make the launch config documentation much clearer.

John.