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.
During fixing #227793 I've found that the following functionality is missed from Launchers API: - I need to execute launcher, that I've create in my code. Currently I have to do the following thing: LauncherAction action = LauncherAction.runAsAction(); action.createContextAwareInstance(Lookups.fixed(project)); action.new LauncherExecutableAction(launcher).actionPerformed(null); - Launcher, created in my code is not saved. Here is code sample: final LaunchersRegistry registry = LaunchersRegistryFactory.getInstance(project.getProjectDirectory()); launcher = new Launcher(executable, null); registry.add(launcher);