Access to ${target_home} in Oomph setup [message #1774772] |
Thu, 19 October 2017 13:51 |
Minh Quang Tran Messages: 19 Registered: September 2017 |
Junior Member |
|
|
Hi everyone,
in our Eclipse N4JS https://github.com/eclipse/n4js, we would like to configure the default product in the Run Configuration -> Program to Run -> "Run a product".
In the subsection "Program to Run" in Eclipse documentation https://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguide%2Ftools%2Flaunchers%2Feclipse_main.htm it says
Quote:
The Program to Run section is where you specify the product or application to test.
The product combo box is populated with the IDs of all products (org.eclipse.core.runtime.products extensions) defined in the workspace and target plug-ins. The product ID that is initially selected is the default product as specified by the eclipse.product key in the config.ini file that is located in the ${target_home}/configuration directory. The ${target_home} variable refers to the location of the target platform as specified on the Windows > Preferences... > Plug-in Development > Target Platform preference page . In the Eclipse SDK, the default product ID is org.eclipse.sdk.ide.
I tried to create a config.ini file in the Oomph setup file, but the variable ${target_home} is not available.
Does anyone have any hints?
Thanks!
PS: In my test case, the value of ${target_home} of a running Eclipse instance is:
/Users/quang.tran/oomph/TESTN4JS/ws/.metadata/.plugins/org.eclipse.pde.core/.install_folders/1508414124544
[Updated on: Thu, 19 October 2017 14:06] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03772 seconds