[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform] Re: How to load the saved launch configuration.
|
- From: kyle_of_isle@xxxxxxxxxxx (Asaf Mesika)
- Date: Tue, 28 Nov 2006 08:59:08 +0000 (UTC)
- Newsgroups: eclipse.platform
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi Kristof,
I just did some ugly trick that does what you need:
1. I've created a run configuration for an Ant File. (Filled in with
classpath, targets to run and all.)
2. I've saved it locally (not shared), by simply pressing Apply and Done.
3. I've searched for .launch file in the [.metadata] directory, and found
it under [.launches] dir at [org.eclipse.core.debug -- I think]. I copied
the .launches dir with that file in it, to another workspace directory I
had, (a new one I've created earlier).
4. Opened Eclipse on that new workspace, and that launch file was there.
Asaf
Kristof Szabados wrote:
I know how to save the configuration, the problem is with loading.
I tried the following:
1) created a configuration, filled with data
2) saved as a shared file
3) copied it .launch file to an other location.
Teszt no.1:
4) deleted the configuration
5) exited Eclipse
6) copied the .launch file back to it's original place
7) started eclipse
With no effect, the configuration was not read.
Teszt no.2:
8) deleted the .launch files in the workspace, that were produced earlier.
9) created new configuration, saved it too.
10) exited Eclipse
11) overwritten that .launch
12) started Eclipse
With no effect, the configuration was not read.
(this was done in the run-time Eclipse instance Run from an Eclipse)
Is this a bug?
I guesed something.launch files exist so that launch configurations can be
transported to other computers.
Kristof
"Ed Merks" <merks@xxxxxxxxxx> wrote in message
news:ejevos$8o4$1@xxxxxxxxxxxxxxxxxxxx
Kristof,
You can use this to save a launcher somewhere in your workspace.
I've been told (but haven't tested) that when such a .launch file is in
the workspace, Eclipse will automatically find it...
Kristof Szabados wrote:
I fully understand that.
Saving out data that the user is not able to load back in is about
meaningless.
But actually it would be very usefull if I could create a launch
configuration save it, and other people could load it back in.
To be exact: On my launchtabgroup, the users have to set at least 20 data,
but this can be a lot higher if they add servers (to which we can connect)
and actually configure them.
It would save a lot of time if they could load in configurations that
someone else created.
Is there a way to do that?
Kristof
"Rich Kulp" <richkulp@xxxxxxxxxxxxxxxxxx> wrote in message
news:ejd1kn$kae$1@xxxxxxxxxxxxxxxxxxxx
All that does is tells it to store it in a project in the workspace,
instead of the internal metadata area. You can choose the project, but
nothing else. There is no "load" of it back because it doesn't loose
track of it. It is still listed in the list of launches available.