Community
Participate
Working Groups
There should be a way to add a script in an external file (i.e. outside the workspace) to the view.
As well, things do not work well when the project containing the script is outside of the workspace. NPEs and such. See bug 29668 for a project to import. Place the project outside of the workspace Import Search for build files Use the run button for the discovered build file for the external project. Thread [main] (Suspended (exception NullPointerException)) AntLaunchShortcut.findExistingLaunchConfigurations(IFile) line: 268 AntLaunchShortcut.launch(IFile, String, String) line: 122 RunTargetAction.run() line: 50 RunTargetAction(Action).runWithEvent(Event) line: 804 ActionContributionItem.handleWidgetSelection(Event) line: 422 ActionContributionItem.handleWidgetEvent(Event) line: 374 ActionContributionItem.access$0(ActionContributionItem, Event) line: 368 ActionContributionItem$ActionListener.handleEvent(Event) line: 69 EventTable.sendEvent(Event) line: 77 ToolItem(Widget).sendEvent(Event) line: 836 Display.runDeferredEvents() line: 1692 Display.readAndDispatch() line: 1410 Workbench.runEventLoop() line: 1467 Workbench.run(Object) line: 1450 InternalBootLoader.run(String, URL, String, String[], Runnable) line: 845 BootLoader.run(String, URL, String, String[], Runnable) line: 462 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 [local variables unavailable] DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 [local variables unavailable] Method.invoke(Object, Object[]) line: 324 [local variables unavailable] Main.basicRun(String[]) line: 247 Main.run(String[]) line: 703 Main.main(String[]) line: 539
*** Bug 29869 has been marked as a duplicate of this bug. ***
I really should have created a new bug report for the NPE. So now I have; see bug 30035. This bug back to P3 enhancement.
Is this something we want to do for 2.1?
Deferred for post 2.1
reopening to investigate. Drag and drop would be a good initial candidate.
Resolved to later.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.