[
https://issues.jboss.org/browse/JBIDE-14572?page=com.atlassian.jira.plugi...
]
Vlado Pakan updated JBIDE-14572:
--------------------------------
Attachment: runasmenuwithgwt.png
runasmenuwithoutgwt.png
runastoolitem.png
GWT menu items are disappearing from Run As context menu of Hybrid
Mobile (Cordova) App project
-----------------------------------------------------------------------------------------------
Key: JBIDE-14572
URL:
https://issues.jboss.org/browse/JBIDE-14572
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid
Affects Versions: 4.1.0.Beta1
Environment: JBDS 7.0.0 Beta1-v20130519-0601-B206 Linux 64bit
Reporter: Vlado Pakan
Fix For: 4.1.0.Beta2
Attachments: runasmenuwithgwt.png, runasmenuwithoutgwt.png, runastoolitem.png
1. Create new Hybrid Mobile (Cordova) Application Project
2. Right click on created project and select Run As... menu. These menu items are
displayed
!runasmenuwithgwt.png!
3. Click on Run As... ToolItem of JBDS ToolBar. These options are displayed:
!runastoolitem.png!
4. Repeat step 2. These menu items are displayed
!runasmenuwithoutgwt!
ERROR: Run As.. context has inconsistent content. For first time it's offering GWT
options for next times GWT options are not available
Sometimes there is this error in error log but not always:
{noformat}
org.eclipse.core.runtime.CoreException: Launch configuration cordova-project (1)
Production references non-existing project cordova-project.
at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1403)
at org.eclipse.jdt.launching.JavaRuntime.getJavaProject(JavaRuntime.java:1278)
at
com.google.gwt.eclipse.core.launch.util.GWTJUnitLaunchUtils.setDefaults(GWTJUnitLaunchUtils.java:35)
at
com.google.gwt.eclipse.core.launch.ui.GWTJUnitLaunchShortcut.createLaunchConfiguration(GWTJUnitLaunchShortcut.java:44)
at
com.google.gwt.eclipse.core.launch.ui.GWTJUnitWebLaunchShortcut.createLaunchConfiguration(GWTJUnitWebLaunchShortcut.java:31)
at
org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut.findExistingLaunchConfigurations(JUnitLaunchShortcut.java:491)
at
org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut.getLaunchConfigurations(JUnitLaunchShortcut.java:429)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.getLaunchConfigurations(LaunchShortcutExtension.java:496)
at
org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getParticipatingLaunchConfigurations(LaunchingResourceManager.java:493)
at
org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getLabel(LaunchingResourceManager.java:322)
at
org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.computeLabels(LaunchingResourceManager.java:240)
at
org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager$2.run(LaunchingResourceManager.java:138)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
{noformat}
Launch configuration configuration cordova-project exists
Launch configuration configuration cordova-project (1) does not exist
Project cordova-project exists and is available in Project explorer
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira