This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 216257 - Broken shortcuts imported from 7.1
Summary: Broken shortcuts imported from 7.1
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks: 214461
  Show dependency tree
 
Reported: 2012-08-01 14:00 UTC by Svata Dedic
Modified: 2012-10-01 12:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2012-08-01 14:00:37 UTC
During 7.2 cycle, actions defined by Actions/JUnitTests
org-netbeans-modules-junit-CreateTestAction.instance,
org-netbeans-modules-junit-actions-RunTestMethodAction.instance and
org-netbeans-modules-junit-actions-DebugTestMethodAction.instance

were either removed, or replaced by an equivalent on other place on the filesystem. However user setting folders, if customized, contain references to the obsolete locations, which makes shortcuts to mysteriously disappear.

Please define a compatibility translation for the moved files; see http://hg.netbeans.org/main-golden/rev/1273b3216363 for an example of action.instance translation. See issue #208779 for the API discussion.
Comment 1 Theofanis Oikonomou 2012-09-20 14:15:28 UTC
they were actually replaced by 
org-netbeans-modules-gsf-testrunner-TestCreatorAction.instance,
org-netbeans-modules-gsf-testrunner-TestMethodRunnerAction.instance
org-netbeans-modules-gsf-testrunner-TestMethodDebuggerAction.instance

Should the META-INF/netbeans/translate.names file be placed in the junit or the gsf.testrunner module? Or it does not matter?

Thank you
Comment 2 Svata Dedic 2012-09-20 19:17:55 UTC
They should be placed in the module, which have redefined them -- so I think in gsf.testrunner.
Thanks.
Comment 3 Theofanis Oikonomou 2012-09-26 09:37:39 UTC
Fixed: http://hg.netbeans.org/core-main/rev/c54ee4ea8f66
Comment 4 Quality Engineering 2012-10-01 12:06:48 UTC
Integrated into 'main-golden', will be available in build *201210010929* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c54ee4ea8f66
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #216257 - Broken shortcuts imported from 7.1