|
|
Re: Execute org.eclipse.core.commands in oomph task [message #1803887 is a reply to message #1803881] |
Wed, 13 March 2019 08:23 |
Mehmet Karaman Messages: 63 Registered: November 2012 Location: Berlin |
Member |
|
|
Thanks for your reply. The above mentioned command is creating an external tool launch configuration file for the selected project. For this i need to find the ng executable in the OS specific path from its environemnt variable PATH. So Text Modify would maybe help, if i could add the NG (or NPM for another case) executables paths.
The example external tool launch config file looks like that on Mac:
Quote:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="PATH" value="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:"/>
</mapAttribute>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="/usr/local/lib/node_modules/@angular/cli/bin/ng"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="serve --open"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/PromoJSFlow}"/>
</launchConfiguration>
org.eclipse.ui.externaltools.ATTR_LOCATION and PATH mapEntry is OS Specific.
[Updated on: Wed, 13 March 2019 08:31] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06825 seconds