Bug 574190 - Document failure with multiple target locations When an <executionEnvironment> is specified and the .target file uses multiple <location> sections with includeMode="slicer", then the corresponding IU "a.jre.org.eclipse.justj..." is looked up in *every* one of the <location>s by org.eclipse.tycho.p2.resolver .InstallableUnitResolver.resolve(), which normally fails because it is only available in one of them. Change-Id: Iaf49af4866bc2ad7f6e96b935a5de596ce8e4c80 Signed-off-by: Christian Walther <walther@indel.ch>
diff --git a/content/documentation.php b/content/documentation.php index bdc188c..52b4811 100644 --- a/content/documentation.php +++ b/content/documentation.php
@@ -71,6 +71,9 @@ <p> There is one such <code>a.jre.*</code> installable unit for each JRE variant and it provides the execution environment capabilities and, most importly, exactly the actual the java package capabilities of that JRE. <p> +<p> +When using a target platform file, this requires that the file either contains only one <code><location></code> section or uses <code>includeMode="planner"</code> on all sections: With multiple <code><location></code> sections and <code>includeMode="slicer"</code>, the <code>a.jre.org.eclipse.justj.*</code> installable unit is looked up in <em>every</em> one of the <code><location></code>s, which fails when it is only available in one of them. +</p> </p> The Tycho/Maven build must use Tycho 1.7.0 or higher, otherwise the build will fail with a <code>NullPointerException</code>.