diff options
author | Ed Merks | 2020-03-23 09:06:25 +0000 |
---|---|---|
committer | Ed Merks | 2020-03-23 09:06:25 +0000 |
commit | a0b6f184ff51311c8ce99168f56cf512e64a0c16 (patch) | |
tree | 338f11c862876e8f8a4e2c991044df76ed1a2c21 | |
parent | 8f948fcb36eceefd73f7b48ac8661d603e756b8f (diff) | |
download | rt.equinox.framework-a0b6f184ff51311c8ce99168f56cf512e64a0c16.tar.gz rt.equinox.framework-a0b6f184ff51311c8ce99168f56cf512e64a0c16.tar.xz rt.equinox.framework-a0b6f184ff51311c8ce99168f56cf512e64a0c16.zip |
Bug 534130 - Provide a home for Equinox.setup
Change-Id: Iebe163875f9c494848bad007cfc7cd014d97c263
Signed-off-by: Ed Merks <ed.merks@gmail.com>
4 files changed, 417 insertions, 0 deletions
diff --git a/releng/org.eclipse.equinox.releng/.project b/releng/org.eclipse.equinox.releng/.project new file mode 100644 index 000000000..c277f9130 --- /dev/null +++ b/releng/org.eclipse.equinox.releng/.project @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.equinox.releng</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + </buildSpec> + <natures> + </natures> +</projectDescription> diff --git a/releng/org.eclipse.equinox.releng/.settings/org.eclipse.core.resources.prefs b/releng/org.eclipse.equinox.releng/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/releng/org.eclipse.equinox.releng/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/<project>=UTF-8 diff --git a/releng/org.eclipse.equinox.releng/.settings/org.eclipse.core.runtime.prefs b/releng/org.eclipse.equinox.releng/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 000000000..5a0ad22d2 --- /dev/null +++ b/releng/org.eclipse.equinox.releng/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/releng/org.eclipse.equinox.releng/Equinox.setup b/releng/org.eclipse.equinox.releng/Equinox.setup new file mode 100644 index 000000000..ae38aefea --- /dev/null +++ b/releng/org.eclipse.equinox.releng/Equinox.setup @@ -0,0 +1,402 @@ +<?xml version="1.0" encoding="UTF-8"?> +<setup:Project + xmi:version="2.0" + xmlns:xmi="http://www.omg.org/XMI" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:git="http://www.eclipse.org/oomph/setup/git/1.0" + xmlns:jdt="http://www.eclipse.org/oomph/setup/jdt/1.0" + xmlns:predicates="http://www.eclipse.org/oomph/predicates/1.0" + xmlns:setup="http://www.eclipse.org/oomph/setup/1.0" + xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0" + xmlns:setup.targlets="http://www.eclipse.org/oomph/setup/targlets/1.0" + xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0" + xmlns:workingsets="http://www.eclipse.org/oomph/workingsets/1.0" + xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/targlets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupTarglets.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore" + name="equinox" + label="Equinox"> + <setupTask + xsi:type="setup.p2:P2Task"> + <requirement + name="org.eclipse.pde.api.tools.ee.feature.feature.group"/> + </setupTask> + <setupTask + xsi:type="setup:CompoundTask" + name="refresh.enabled"> + <setupTask + xsi:type="setup:PreferenceTask" + key="/instance/org.eclipse.core.resources/refresh.enabled" + value="true"/> + </setupTask> + <setupTask + xsi:type="setup:EclipseIniTask" + option="-Xmx" + value="2048m" + vm="true"/> + <setupTask + xsi:type="setup:ResourceCreationTask" + excludedTriggers="STARTUP MANUAL" + content="<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
	<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
		<item value="true" key="group_libraries"/>
		<item value="false" key="linkWithEditor"/>
		<item value="2" key="layout"/>
		<item value="2" key="rootMode"/>
		<item value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer configured=&quot;true&quot; group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;2&quot; sortWorkingSets=&quot;false&quot; workingSetName=&quot;&quot;&gt;&#x0D;&#x0A;&lt;localWorkingSetManager&gt;&#x0D;&#x0A;&lt;workingSet editPageId=&quot;org.eclipse.jdt.internal.ui.OthersWorkingSet&quot; factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; id=&quot;1382792884467_1&quot; label=&quot;Other Projects&quot; name=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/localWorkingSetManager&gt;&#x0D;&#x0A;&lt;activeWorkingSet workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;allWorkingSets workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;" key="memento"/>
	</section>
</section>
" + targetURL="${workspace.location|uri}/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml" + encoding="UTF-8"> + <description>Initialize the Package Explorer to display workings sets.</description> + </setupTask> + <setupTask + xsi:type="setup:VariableTask" + name="eclipse.target.platform" + value="${eclipse.target.platform.latest}" + storageURI="scope://Workspace"/> + <setupTask + xsi:type="setup:VariableTask" + name="eclipse.api.baseline.target.platform" + value="${eclipse.api.baseline.target.platform.latest.released}" + storageURI="scope://Workspace"/> + <setupTask + xsi:type="jdt:JRETask" + version="JavaSE-1.8" + location="${jre.location-1.8}"/> + <setupTask + xsi:type="setup.targlets:TargletTask" + targetName="Modular API Baseline Target" + activateTarget="false"> + <targlet + name="Equinox Platform" + activeRepositoryList="${eclipse.api.baseline.target.platform}" + includeSources="false"> + <requirement + name="org.eclipse.equinox.sdk.feature.group"/> + </targlet> + </setupTask> + <setupTask + xsi:type="setup.targlets:TargletTask"> + <targlet + name="Equinox Platform" + activeRepositoryList="CBI+Orbit"> + <requirement + name="org.eclipse.platform.feature.group"/> + <requirement + name="org.eclipse.jdt.feature.group"/> + <requirement + name="org.eclipse.pde.feature.group"/> + <requirement + name="org.eclipse.equinox.executable.feature.group"/> + <repositoryList + name="CBI+Orbit"> + <repository + url="http://download.eclipse.org/cbi/updates/license"/> + <repository + url="http://download.eclipse.org/tools/orbit/downloads/latest-R"/> + </repositoryList> + </targlet> + </setupTask> + <setupTask + xsi:type="setup:CompoundTask" + name="Preferences"> + <setupTask + xsi:type="setup:CompoundTask" + name="org.eclipse.egit.ui"> + <setupTask + xsi:type="setup:PreferenceTask" + key="/instance/org.eclipse.egit.ui/commit_dialog_signed_off_by" + value="true"> + <description>Insert Signed-off-by Footer</description> + </setupTask> + </setupTask> + </setupTask> + <project name="bundles" + label="Bundles"> + <setupTask + xsi:type="git:GitCloneTask" + id="git.clone.equinox.bundles" + remoteURI="equinox/rt.equinox.bundles"> + <annotation + source="http://www.eclipse.org/oomph/setup/InducedChoices"> + <detail + key="inherit"> + <value>eclipse.git.gerrit.remoteURIs</value> + </detail> + <detail + key="label"> + <value>Equinox Bundles Git or Gerrit Repository</value> + </detail> + <detail + key="target"> + <value>remoteURI</value> + </detail> + </annotation> + <configSections + name="gerrit"> + <properties + key="createchangeid" + value="true"/> + </configSections> + <description>Equinox Bundles</description> + </setupTask> + <setupTask + xsi:type="setup:TextModifyTask" + excludedTriggers="BOOTSTRAP" + url="${git.clone.equinox.bundles.location|uri}/bundles/org.eclipse.equinox.security.linux.x86_64/.project" + encoding="UTF-8"> + <modification + pattern="\t(<nature>org.eclipse.m2e.core.maven2Nature</nature>)"> + <substitution><!-- \1 --></substitution> + </modification> + </setupTask> + <setupTask + xsi:type="setup.targlets:TargletTask"> + <targlet + name="Equinox Bundles"> + <requirement + name="*"/> + <requirement + name="org.apache.sshd.core"/> + <sourceLocator + rootFolder="${git.clone.equinox.bundles.location}"/> + </targlet> + </setupTask> + <setupTask + xsi:type="setup.workingsets:WorkingSetTask"> + <workingSet + name="Equinox Bundles"> + <predicate + xsi:type="predicates:RepositoryPredicate" + project="org.eclipse.equinox.common"/> + </workingSet> + </setupTask> + <stream + name="master" + label="Master"/> + <description>The Equinox Bundles support</description> + </project> + <project name="framework" + label="Framework"> + <setupTask + xsi:type="git:GitCloneTask" + id="git.clone.equinox.framework" + remoteURI="equinox/rt.equinox.framework"> + <annotation + source="http://www.eclipse.org/oomph/setup/InducedChoices"> + <detail + key="inherit"> + <value>eclipse.git.gerrit.remoteURIs</value> + </detail> + <detail + key="label"> + <value>Equinox Framework Git or Gerrit Repository</value> + </detail> + <detail + key="target"> + <value>remoteURI</value> + </detail> + </annotation> + <configSections + name="gerrit"> + <properties + key="createchangeid" + value="true"/> + </configSections> + <description>Equinox Framework</description> + </setupTask> + <setupTask + xsi:type="setup:ResourceCreationTask" + excludedTriggers="BOOTSTRAP" + content="incompatible_api_component_version=Warning" + targetURL="${git.clone.equinox.framework.location|uri}/bundles/org.eclipse.osgi/supplement/.settings/org.eclipse.pde.api.tools.prefs" + encoding="ISO-8859-1"> + <description>Turn off errors for API version change.</description> + </setupTask> + <setupTask + xsi:type="setup.targlets:TargletTask"> + <targlet + name="Equinox Framework"> + <requirement + name="*"/> + <sourceLocator + rootFolder="${git.clone.equinox.framework.location}" + locateNestedProjects="true"/> + </targlet> + </setupTask> + <setupTask + xsi:type="setup.workingsets:WorkingSetTask"> + <workingSet + name="Equinox Framework"> + <predicate + xsi:type="predicates:RepositoryPredicate" + project="org.eclipse.osgi"/> + </workingSet> + </setupTask> + <stream + name="master" + label="Master"> + <setupTask + xsi:type="setup:EclipseIniTask" + option="-Doomph.redirection.equinox" + value="=https://git.eclipse.org/c/equinox/rt.equinox.framework.git/plain/releng/org.eclipse.equinox.releng/Equinox.setup->${git.clone.rt.equinox.framework.location|uri}/releng/org.eclipse.equinox.releng/Equinox.setup" + vm="true"> + <description>Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone.</description> + </setupTask> + </stream> + <description>The Equinox Framework support</description> + </project> + <project name="p2" + label="P2"> + <setupTask + xsi:type="git:GitCloneTask" + id="git.clone.equinox.p2" + remoteURI="equinox/rt.equinox.p2"> + <annotation + source="http://www.eclipse.org/oomph/setup/InducedChoices"> + <detail + key="inherit"> + <value>eclipse.git.gerrit.remoteURIs</value> + </detail> + <detail + key="label"> + <value>Equinox P2 Git or Gerrit Repository</value> + </detail> + <detail + key="target"> + <value>remoteURI</value> + </detail> + </annotation> + <configSections + name="gerrit"> + <properties + key="createchangeid" + value="true"/> + </configSections> + <description>Equinox P2</description> + </setupTask> + <setupTask + xsi:type="setup:ResourceCreationTask" + excludedTriggers="BOOTSTRAP" + content="UEsDBAoAAAAAAHtelUw05vp1HAAAABwAAAAFAHAAZW1wdHlTRFsApAAAAAAIAL/UyvdjZGBpEGFg
YDBggAAfIGZkBTNZRYFE6N2P9V9WLa2a1nDozktm3HKMTAwMTAwRDMxgaRGG/4zyDIyMELVCYEoC
IsYEEVMAEgpgtgpEHI+dAFVUDQAHuQnbWrkJ21q5CdtaU2luZ2xlIGVudHJ5IGZvciBlbXB0eSBq
YXIuClBLAQIXCwoAAAAAAHtelUw05vp1HAAAABwAAAAFABEAAAAAAAEAIAC2gQAAAABlbXB0eVNE
BACkAAAAVVQFAAe5CdtaUEsFBgAAAAABAAEARAAAAK8AAAAAAA==" + targetURL="${git.clone.equinox.p2.location|uri}/bundles/org.eclipse.equinox.p2.jarprocessor/lib/jarprocessor-ant.jar" + encoding="base64"> + <description>Create an empty jar as a placeholder for the jar that will eventually be created. This ensures that PDE will add the jar to the classpath of projects needing the ant jar.</description> + </setupTask> + <setupTask + xsi:type="setup:TextModifyTask" + excludedTriggers="BOOTSTRAP" + url="${git.clone.equinox.p2.location|uri}/bundles/org.eclipse.equinox.p2.jarprocessor/.project" + encoding="UTF-8"> + <modification + pattern="<triggers>()full,incremental,</triggers>"> + <substitution>auto,</substitution> + </modification> + </setupTask> + <setupTask + xsi:type="setup:TextModifyTask" + excludedTriggers="BOOTSTRAP" + url="${git.clone.equinox.p2.location|uri}/bundles/org.eclipse.equinox.p2.jarprocessor/.externalToolBuilders/AntTaskBuilder.launch" + encoding="UTF-8"> + <modification + pattern="<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,()"/>"> + <substitution>auto,</substitution> + </modification> + <modification + pattern="<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>([\n\r]+)<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">"> + <substitution>\1<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="$${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.equinox.p2.jarprocessor/lib&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>\1</substitution> + </modification> + </setupTask> + <setupTask + xsi:type="setup:ResourceCreationTask" + excludedTriggers="BOOTSTRAP" + content="UEsDBAoAAAAAAHtelUw05vp1HAAAABwAAAAFAHAAZW1wdHlTRFsApAAAAAAIAL/UyvdjZGBpEGFg
YDBggAAfIGZkBTNZRYFE6N2P9V9WLa2a1nDozktm3HKMTAwMTAwRDMxgaRGG/4zyDIyMELVCYEoC
IsYEEVMAEgpgtgpEHI+dAFVUDQAHuQnbWrkJ21q5CdtaU2luZ2xlIGVudHJ5IGZvciBlbXB0eSBq
YXIuClBLAQIXCwoAAAAAAHtelUw05vp1HAAAABwAAAAFABEAAAAAAAEAIAC2gQAAAABlbXB0eVNE
BACkAAAAVVQFAAe5CdtaUEsFBgAAAAABAAEARAAAAK8AAAAAAA==" + targetURL="${git.clone.equinox.p2.location|uri}/bundles/org.eclipse.equinox.p2.repository.tools/lib/repository-tools-ant.jar" + encoding="base64"> + <description>Create an empty jar as a placeholder for the jar that will eventually be created. This ensures that PDE will add the jar to the classpath of projects needing the ant jar.</description> + </setupTask> + <setupTask + xsi:type="setup:TextModifyTask" + excludedTriggers="BOOTSTRAP" + url="${git.clone.equinox.p2.location|uri}/bundles/org.eclipse.equinox.p2.repository.tools/.project" + encoding="UTF-8"> + <modification + pattern="<triggers>()full,incremental,</triggers>"> + <substitution>auto,</substitution> + </modification> + </setupTask> + <setupTask + xsi:type="setup:TextModifyTask" + excludedTriggers="BOOTSTRAP" + url="${git.clone.equinox.p2.location|uri}/bundles/org.eclipse.equinox.p2.repository.tools/scripts/buildAntJARs.xml" + encoding="UTF-8"> + <modification + pattern="<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,()"/>"> + <substitution>auto,</substitution> + </modification> + </setupTask> + <setupTask + xsi:type="setup:ResourceCopyTask" + excludedTriggers="BOOTSTRAP" + sourceURL="${git.clone.equinox.p2.location|uri}/bundles/org.eclipse.equinox.p2.tests.verifier/src/org/eclipse/equinox/internal/p2/tests/verifier/EclipseAdaptorMessages.properties" + targetURL="${git.clone.equinox.p2.location|uri}/bundles/org.eclipse.equinox.p2.tests.verifier/bin/org/eclipse/equinox/internal/p2/tests/verifier/EclipseAdaptorMessages.properties"> + <description>Ensure that the bin folder of org.eclipse.equinox.p2.tests.verifier exists. This is to prevent the build path error from the following entry in the .classpath file: <classpathentry exported="true" kind="lib" path="bin" sourcepath="bin"/></description> + </setupTask> + <setupTask + xsi:type="setup.targlets:TargletTask"> + <targlet + name="Equinox P2"> + <requirement + name="*"/> + <sourceLocator + rootFolder="${git.clone.equinox.p2.location/bundles}"> + <excludedPath>bundles/org.eclipse.equinox.p2.testserver</excludedPath> + </sourceLocator> + <sourceLocator + rootFolder="${git.clone.equinox.p2.location/examples}"/> + <sourceLocator + rootFolder="${git.clone.equinox.p2.location/features}"/> + <sourceLocator + rootFolder="${git.clone.equinox.p2.location/org.eclipse.equinox.p2.releng}"/> + </targlet> + </setupTask> + <setupTask + xsi:type="setup.workingsets:WorkingSetTask"> + <workingSet + name="Equinox p2"> + <predicate + xsi:type="predicates:AndPredicate"> + <operand + xsi:type="predicates:RepositoryPredicate" + project="org.eclipse.equinox.p2.core"/> + <operand + xsi:type="workingsets:ExclusionPredicate" + excludedWorkingSet="//@projects[name='p2']/@setupTasks.9/@workingSets[name='Equinox%20p2%20Tests'] //@projects[name='p2']/@setupTasks.9/@workingSets[name='Equinox%20p2%20Examples']"/> + </predicate> + </workingSet> + <workingSet + name="Equinox p2 Tests"> + <predicate + xsi:type="predicates:AndPredicate"> + <operand + xsi:type="predicates:RepositoryPredicate" + project="org.eclipse.equinox.p2.core"/> + <operand + xsi:type="predicates:NamePredicate" + pattern=".*test($|s.*)"/> + </predicate> + </workingSet> + <workingSet + name="Equinox p2 Examples"> + <predicate + xsi:type="predicates:AndPredicate"> + <operand + xsi:type="predicates:RepositoryPredicate" + project="org.eclipse.equinox.p2.core"/> + <operand + xsi:type="predicates:NamePredicate" + pattern=".*examples.*"/> + </predicate> + </workingSet> + </setupTask> + <stream + name="master" + label="Master"/> + <description>The Equinox P2 support</description> + </project> + <logicalProjectContainer + xsi:type="setup:ProjectCatalog" + href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']"/> + <description>The setups for the Equinox projects</description> +</setup:Project> |