Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorbjörn Svensson2021-05-28 17:10:46 +0000
committerThomas Watson2021-06-01 13:44:00 +0000
commitf6ad745618d2f4698bdc46ea21b24d83d0af4773 (patch)
tree7e2f5fabb9401158b31f79663208774998222d7e
parentea85aee3ff5ae9401a3ba43bcf74469a2e20c706 (diff)
downloadeclipse.platform.common-f6ad745618d2f4698bdc46ea21b24d83d0af4773.tar.gz
eclipse.platform.common-f6ad745618d2f4698bdc46ea21b24d83d0af4773.tar.xz
eclipse.platform.common-f6ad745618d2f4698bdc46ea21b24d83d0af4773.zip
Bug 572890: Add @launcher.dir to documentationI20210602-0600I20210601-1800
Contributed by STMicroelectronics Change-Id: I52e62f3979c8cb8f6d13e66e67eeaf2761dfa7d1 Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.common/+/181146 Reviewed-by: Jonah Graham <jonah@kichwacoders.com> Reviewed-by: Thomas Watson <tjwatson@us.ibm.com> Tested-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r--bundles/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html38
1 files changed, 30 insertions, 8 deletions
diff --git a/bundles/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html b/bundles/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html
index bfa76ef69..4e7eac1f2 100644
--- a/bundles/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html
+++ b/bundles/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html
@@ -864,7 +864,7 @@ will force eclipse to reinitialize these caches.</dd>
location is based on the value of the Java <code>user.home</code> system
property but this can be overridden. Information such as user scoped preferences
and login information may be found in the user location.</dd>
- <dt>Install (-install) {osgi.install.area} [@user.home, @user.dir, filepath,
+ <dt>Install (-install) {osgi.install.area} [@launcher.dir, @user.home, @user.dir, filepath,
url]</dt>
<dd>An install location is where Eclipse itself is installed. In practice
this location is the directory (typically &quot;eclipse&quot;) which is
@@ -915,6 +915,18 @@ will force eclipse to reinitialize these caches.</dd>
want to allow for data in the corresponding location but the Eclipse default
value is not appropriate. @noDefault must not be followed by any
additional path segments.</dd>
+ <dt>@launcher.dir</dt>
+ <dd>Directs Eclipse to compute a location value relative to the directory
+ containing the Eclipse launcher binary. @launcher.dir can be followed
+ by additional path segments. In all cases, the string &quot;@location.dir&quot; is
+ simply replaced with the parent directory of the path pointed to by the Java
+ &quot;eclipse.launcher&quot; System property. For example, setting<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;osgi.install.area=@launcher.dir/../../../pool<br>
+ results in a value of
+ <br>
+ &nbsp;&nbsp;&nbsp;&nbsp;file:/home/bob/eclipse-product/linux/gtk/x86_64/../../../pool<br>
+ if the &quot;eclipse.launcher&quot; property is set to
+ &quot;/home/bob/eclipse-product/linux/gtk/x86_64/eclipse&quot;.</dd>
<dt>@user.home</dt>
<dd>Directs Eclipse to compute a location value relative to the user's home
directory. @user.home can be followed
@@ -937,17 +949,19 @@ results in a value of <br>
</dl>
<table width="100%" border="0" bgcolor="#FFFFFF">
<tr bgcolor="#CCCCCC">
- <td width="10%">location/value</td>
- <td width="17%"><div align="center">supports default</div></td>
- <td width="17%"><div align="center">file/URL</div>
+ <td width="9%">location/value</td>
+ <td width="13%"><div align="center">supports default</div></td>
+ <td width="13%"><div align="center">file/URL</div>
+ </td>
+ <td width="13%"><div align="center">@none</div>
</td>
- <td width="17%"><div align="center">@none</div>
+ <td width="13%"><div align="center">@noDefault</div>
</td>
- <td width="17%"><div align="center">@noDefault</div>
+ <td width="13%"><div align="center">@launcher.dir</div>
</td>
- <td width="17%"><div align="center">@user.home</div>
+ <td width="13%"><div align="center">@user.home</div>
</td>
- <td width="17%"><div align="center">@user.dir</div>
+ <td width="13%"><div align="center">@user.dir</div>
</td>
</tr>
<tr>
@@ -960,6 +974,8 @@ results in a value of <br>
</td>
<td><div align="center">yes</div>
</td>
+ <td><div align="center">no</div>
+ </td>
<td><div align="center">yes</div>
</td>
<td><div align="center">yes (default)</div>
@@ -976,6 +992,8 @@ results in a value of <br>
</td>
<td><div align="center">yes*</div>
</td>
+ <td><div align="center">no</div>
+ </td>
<td><div align="center">yes</div>
</td>
<td><div align="center">yes</div>
@@ -996,6 +1014,8 @@ results in a value of <br>
</td>
<td><div align="center">yes</div>
</td>
+ <td><div align="center">yes</div>
+ </td>
</tr>
<tr>
<td bgcolor="#CCCCCC"><div align="center">user</div>
@@ -1008,6 +1028,8 @@ results in a value of <br>
</td>
<td><div align="center">yes</div>
</td>
+ <td><div align="center">no</div>
+ </td>
<td><div align="center">yes</div>
</td>
<td><div align="center">yes</div>

Back to the top