Home » Eclipse Projects » Eclipse Platform » Launchconfiguration
Launchconfiguration [message #325625] |
Sat, 23 February 2008 05:30  |
Eclipse User |
|
|
|
Originally posted by: invone2000.yahoo.de
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...
Cheers
R4ID
|
|
| | | | | | | |
Re: Launchconfiguration [message #325868 is a reply to message #325866] |
Fri, 29 February 2008 08:09   |
Eclipse User |
|
|
|
Originally posted by: invone2000.yahoo.de
Okay, I took the original eclipse.zip and extracted it newly. Then I
deployed the jars of my plugins and startet with -Debug optin in
eclipse.ini
I used a new workspace and my .log file contains no errors (as far as I am
sure 'bout that).
Sorry for that: But here is my trace:
The launch configuration from is still not available...
############################################################ #################
!SESSION 2008-02-29 14:04:19.993
-----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.6.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui.workbench 2 0 2008-02-29 14:05:44.188
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-02-29 14:05:44.188
!MESSAGE Conflict for
'AUTOGEN:::org.topcased.java.reverse.actions/org.topcased.ja va.reverse.actions.UML2FromJavaAction':
HandlerActivation(commandId=AUTOGEN:::org.topcased.java.reve rse.actions/org.topcased.java.reverse.actions.UML2FromJavaAc tion,
handler=ActionDelegateHandlerProxy(null,org.topcased.java.re verse.actions.UMLFromJavaAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@105e560),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::org.topcased.java.reve rse.actions/org.topcased.java.reverse.actions.UML2FromJavaAc tion,
handler=ActionDelegateHandlerProxy(null,org.topcased.java.re verse.actions.UMLFromJavaAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@105e560),sourcePriority=16384)
!ENTRY org.eclipse.jface 2 0 2008-02-29 14:05:44.188
!MESSAGE Keybinding conflicts occurred. They may interfere with normal
accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2008-02-29 14:05:44.188
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools. result.removeAllInstances,Remove
All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results
View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
ActionHandler(RetargetAction(cut)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteMode lObject,Delete
From Model,
Allows the user to delete the selected graph element and its associated
model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
The only things I see are about topcased...
R4ID
|
|
|
Re: Launchconfiguration [message #325869 is a reply to message #325868] |
Fri, 29 February 2008 08:13   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
R4ID,
So with this clean environment, you can start adding your stuff. If the
problem only shows up then, it's likely related to what you added.
R4ID wrote:
> Okay, I took the original eclipse.zip and extracted it newly. Then I
> deployed the jars of my plugins and startet with -Debug optin in
> eclipse.ini
> I used a new workspace and my .log file contains no errors (as far as
> I am sure 'bout that).
>
> Sorry for that: But here is my trace:
> The launch configuration from is still not available...
> ############################################################ #################
>
> !SESSION 2008-02-29 14:04:19.993
> -----------------------------------------------
> eclipse.buildId=I20070625-1500
> java.version=1.6.0_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.ui.workbench 2 0 2008-02-29 14:05:44.188
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-02-29 14:05:44.188
> !MESSAGE Conflict for
> 'AUTOGEN:::org.topcased.java.reverse.actions/org.topcased.ja va.reverse.actions.UML2FromJavaAction':
>
> HandlerActivation(commandId=AUTOGEN:::org.topcased.java.reve rse.actions/org.topcased.java.reverse.actions.UML2FromJavaAc tion,
>
> handler=ActionDelegateHandlerProxy(null,org.topcased.java.re verse.actions.UMLFromJavaAction),
>
> expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@105e560),sourcePriority=16384)
>
> HandlerActivation(commandId=AUTOGEN:::org.topcased.java.reve rse.actions/org.topcased.java.reverse.actions.UML2FromJavaAc tion,
>
> handler=ActionDelegateHandlerProxy(null,org.topcased.java.re verse.actions.UMLFromJavaAction),
>
> expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@105e560),sourcePriority=16384)
>
>
> !ENTRY org.eclipse.jface 2 0 2008-02-29 14:05:44.188
> !MESSAGE Keybinding conflicts occurred. They may interfere with
> normal accelerator operation.
> !SUBENTRY 1 org.eclipse.jface 2 0 2008-02-29 14:05:44.188
> !MESSAGE A conflict occurred for SHIFT+DEL:
> Binding(SHIFT+DEL,
> ParameterizedCommand(Command(org.eclipse.datatools.sqltools. result.removeAllInstances,Remove
> All Visible Results,
> ,
> Category(org.eclipse.datatools.sqltools.result.category,SQL
> Results View,null,true),
> ,
> ,,true),null),
> org.eclipse.ui.defaultAcceleratorConfiguration,
> org.eclipse.ui.contexts.window,,,system)
> Binding(SHIFT+DEL,
> ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
> Cut the selection to the clipboard,
> Category(org.eclipse.ui.category.edit,Edit,null,true),
> ActionHandler(RetargetAction(cut)),
> ,,true),null),
> org.eclipse.ui.defaultAcceleratorConfiguration,
> org.eclipse.ui.contexts.dialogAndWindow,,,system)
> Binding(SHIFT+DEL,
> ParameterizedCommand(Command(org.topcased.modeler.deleteMode lObject,Delete
> From Model,
> Allows the user to delete the selected graph element and its
> associated model element in a Topcased editor.,
> Category(org.eclipse.ui.category.edit,Edit,null,true),
> ,
> ,,true),null),
> org.eclipse.ui.defaultAcceleratorConfiguration,
> org.eclipse.ui.contexts.window,,,system)
>
>
> The only things I see are about topcased...
>
> R4ID
>
|
|
| | |
Re: Launchconfiguration [message #328630 is a reply to message #325857] |
Wed, 28 May 2008 21:49  |
Eclipse User |
|
|
|
R4ID wrote:
> ;)
> No - I think you missunderstood me. But I think I didn't make myself
> clear enough:
>
> I have written a plugin which insert a new launchconfiguration with the
> Debug/Run option of the IDE.
> I used the extension points:
> - org.eclipse.debug.core.launchConfigurationTypes
> - org.eclipse.debug.core.launchConfigurationComparators
> - org.eclipse.debug.ui.launchConfigurationTabGroups with debug and run
> launch mode.
>
> This one will be nearly the same as the Java Launchconfiguration but
> with a new Tab from (selecting two Ecore models...)
>
> And this! is not shown in the Run -> Open Run Dialog... selection...
> I see everything, like Chain, Eclipse Application, Applet, JUnit etc...
> But not mine.
> And the problem is: When I start the plugin containing the newly
> developed launchconfiguration I see my entry in the Run Dialog. But when
> I export my plugin as jar and insert this one into the plugins folder of
> my eclipse installation it is not there. The plugin is in the list
> plugins buit not working...
I know this is an old thread, but I am hoping for a hint as well. I've
done all of the above, but I don't quite get as far. I don't see my new
configuration type in the Run or Debug dialogs even when I run under the
PDE. I can get them programmatically and use the launches no problem.
They do show up in
Window.Preferences.Run/Debug.Launching.LaunchConfigurations under Filter
checked launch configuration types. And they show up in
....Run/Debug.Prespectives. But not in Run or Debug dialogs.
Ideas?
Thanks,
John
|
|
|
Goto Forum:
Current Time: Tue Jul 22 15:35:21 EDT 2025
Powered by FUDForum. Page generated in 0.05156 seconds
|