From 45ac2c8105f4908c70fecf430bcf881368f286e4 Mon Sep 17 00:00:00 2001 From: Ed Merks Date: Fri, 2 May 2025 16:29:00 +0200 Subject: [PATCH] Update the setup website management - Include the platform docs project in the base working sets. - Require org.eclipse.oomph.util in the web site project to support launching a localhost http server. - Add all the *.docs projects to the website working set. - Create a launch configuration HttpServer to launch a local host server that serves the local contents of the eclipse web site project and also the *.docs projects. --- oomph/Platform.setup | 64 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 61 insertions(+), 3 deletions(-) diff --git a/oomph/Platform.setup b/oomph/Platform.setup index 4a06f504bea..3a5bcd85ea0 100644 --- a/oomph/Platform.setup +++ b/oomph/Platform.setup @@ -278,7 +278,7 @@ + relativePathPattern="platform/.*|releng/.*|docs"/> + @@ -990,8 +992,14 @@ + xsi:type="predicates:OrPredicate"> + + + @@ -1004,6 +1012,56 @@ + + + <?xml version="1.0" encoding="UTF-8" standalone="no"?> + <launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench"> + <setAttribute key="additional_plugins"/> + <booleanAttribute key="append.args" value="true"/> + <stringAttribute key="application" value="org.eclipse.oomph.util.HTTPServer"/> + <booleanAttribute key="askclear" value="true"/> + <booleanAttribute key="automaticAdd" value="false"/> + <booleanAttribute key="automaticIncludeRequirements" value="true"/> + <booleanAttribute key="automaticValidate" value="true"/> + <stringAttribute key="bootstrap" value=""/> + <stringAttribute key="checked" value="[NONE]"/> + <booleanAttribute key="clearConfig" value="true"/> + <booleanAttribute key="clearws" value="false"/> + <booleanAttribute key="clearwslog" value="false"/> + <stringAttribute key="configLocation" value="$${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/HTTPServer"/> + <booleanAttribute key="default" value="false"/> + <setAttribute key="deselected_workspace_bundles"/> + <stringAttribute key="featureDefaultLocation" value="workspace"/> + <stringAttribute key="featurePluginResolution" value="workspace"/> + <booleanAttribute key="includeOptional" value="false"/> + <stringAttribute key="location" value="@none"/> + <booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/> + <booleanAttribute key="org.eclipse.jdt.launching.ATTR_ATTR_USE_ARGFILE" value="false"/> + <booleanAttribute key="org.eclipse.jdt.launching.ATTR_SHOW_CODEDETAILS_IN_EXCEPTION_MESSAGES" value="true"/> + <booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/> + <stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21"/> + <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os $${target.os} -ws $${target.ws} -arch $${target.arch} -nl $${target.nl} -consoleLog&#13;&#10;&#13;&#10;-alias &#13;&#10;/eclipse-&gt;$${project_loc:/eclipse}&#13;&#10;/eclipse-platform/eclipse.platform/master-&gt;$${project_loc:/eclipse}/../eclipse.platform&#13;&#10;/eclipse-platform/eclipse.platform.ui/master-&gt;$${project_loc:/eclipse}/../eclipse.platform.ui&#13;&#10;/eclipse-pde/eclipse.pde/master-&gt;$${project_loc:/eclipse}/../eclipse.pde&#13;&#10;/eclipse-equinox/p2/master-&gt;$${project_loc:/eclipse}/../p2"/> + <stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> + <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true&#13;&#10;-Duser.home=$${system_property:user.home}"/> + <stringAttribute key="pde.version" value="3.3"/> + <stringAttribute key="product" value="org.eclipse.e4.demo.cssbridge.product"/> + <setAttribute key="selected_target_bundles"> + <setEntry value="org.eclipse.oomph.util@default:default"/> + </setAttribute> + <setAttribute key="selected_workspace_bundles"/> + <booleanAttribute key="show_selected_only" value="false"/> + <stringAttribute key="templateConfig" value="$${target_home}\configuration\config.ini"/> + <booleanAttribute key="tracing" value="false"/> + <booleanAttribute key="useCustomFeatures" value="false"/> + <booleanAttribute key="useDefaultConfig" value="true"/> + <booleanAttribute key="useDefaultConfigArea" value="true"/> + <booleanAttribute key="useProduct" value="false"/> + </launchConfiguration> + + +