mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Add setup file for Oomph
This patch adds a setup file for Oomph. To test it: 1. Start the Oomph installer (https://wiki.eclipse.org/Eclipse_Oomph_Installer) 2. At the package selection, click the Advanced Mode button in the top-right corner 3. Select Eclipse IDE for Eclipse Committers. Click next. 4. Select Eclipse.org 5. Click on the '+' button in the top-right corner, browse file system for CDT.setup. 6. Double-click on CDT in the tree. Click next. 7. Enter installation folder name, workspace name. Click Next, Finish. This should install and start a new Eclipse installation with the CDT code ready to be worked on. Once this patch is merged, the setup will be added to Eclipse catalog so that the user doesn't have to browse for the file. Change-Id: Ia84383e9cc64fd3eec0e738e5266dcd8ba6dad0a Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
This commit is contained in:
parent
c9f9ee1bb9
commit
bd247695cc
1 changed files with 191 additions and 0 deletions
191
releng/CDT.setup
Normal file
191
releng/CDT.setup
Normal file
|
@ -0,0 +1,191 @@
|
|||
<?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:pde="http://www.eclipse.org/oomph/setup/pde/1.0"
|
||||
xmlns:predicates="http://www.eclipse.org/oomph/predicates/1.0"
|
||||
xmlns:projects="http://www.eclipse.org/oomph/setup/projects/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"
|
||||
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/setup/pde/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/PDE.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/projects/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Projects.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"
|
||||
name="cdt"
|
||||
label="CDT">
|
||||
<setupTask
|
||||
xsi:type="setup.p2:P2Task">
|
||||
<requirement
|
||||
name="org.eclipse.pde.api.tools.ee.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.swtbot.ide.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.swtbot.generator.feature.feature.group"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/technology/swtbot/releases/latest"/>
|
||||
<description>Install the tools needed in the IDE to work with the source code for ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:EclipseIniTask"
|
||||
id=""
|
||||
option="-Xmx"
|
||||
value="1g"
|
||||
vm="true">
|
||||
<description>Set the heap space needed to work with the projects of ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:EclipseIniTask"
|
||||
option="-XX:MaxPermSize="
|
||||
value="256m"
|
||||
vm="true">
|
||||
<description>Set the perm size needed to work with the projects of ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<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 JDT's package explorer to show working sets as its root objects</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="jdt:JRETask"
|
||||
version="JavaSE-1.7"
|
||||
location="${jre.location-1.7}">
|
||||
<description>Define the JRE needed to compile and run the Java projects of ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:VariableTask"
|
||||
name="eclipse.target.platform"
|
||||
defaultValue="Luna"
|
||||
storageURI="scope://Workspace"/>
|
||||
<setupTask
|
||||
xsi:type="pde:APIBaselineTask"
|
||||
id="baseline"
|
||||
name="CDT"
|
||||
version="8.5"
|
||||
location="${workspace.location/../api.baseline}"
|
||||
remoteURI="http://download.eclipse.org/tools/cdt/releases/8.5/cdt-8.5.0.zip"/>
|
||||
<stream name="master">
|
||||
<setupTask
|
||||
xsi:type="git:GitCloneTask"
|
||||
id="git.clone.cdt"
|
||||
remoteURI="cdt/org.eclipse.cdt"
|
||||
checkoutBranch="master">
|
||||
<annotation
|
||||
source="http://www.eclipse.org/oomph/setup/InducedChoices">
|
||||
<detail
|
||||
key="inherit">
|
||||
<value>eclipse.git.remoteURIs</value>
|
||||
</detail>
|
||||
<detail
|
||||
key="label">
|
||||
<value>${scope.project.label} Git repository</value>
|
||||
</detail>
|
||||
<detail
|
||||
key="target">
|
||||
<value>remoteURI</value>
|
||||
</detail>
|
||||
</annotation>
|
||||
<description>CDT</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.targlets:TargletTask">
|
||||
<targlet
|
||||
name="CDT"
|
||||
activeRepositoryList="${eclipse.target.platform}">
|
||||
<requirement
|
||||
name="org.eclipse.platform.ide"/>
|
||||
<requirement
|
||||
name="org.eclipse.jetty.bundles.f.feature.group"/>
|
||||
<requirement
|
||||
name="org.apache.log4j"/>
|
||||
<requirement
|
||||
name="org.apache.log4j.source"/>
|
||||
<requirement
|
||||
name="net.sourceforge.lpg.lpgjavaruntime"/>
|
||||
<requirement
|
||||
name="org.junit"/>
|
||||
<requirement
|
||||
name="org.junit.source"/>
|
||||
<requirement
|
||||
name="org.mockito"/>
|
||||
<requirement
|
||||
name="org.hamcrest.core"/>
|
||||
<requirement
|
||||
name="org.eclipse.swtbot.eclipse.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.swtbot.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.swtbot.eclipse.test.junit.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.rse.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.test.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.remote.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.license.feature.group"/>
|
||||
<sourceLocator
|
||||
rootFolder="${git.clone.cdt.location}"
|
||||
locateNestedProjects="true"/>
|
||||
<repositoryList
|
||||
name="Luna">
|
||||
<repository
|
||||
url="http://download.eclipse.org/jetty/updates/jetty-bundles-8.x"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/technology/swtbot/releases/latest/"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/tm/updates/3.6milestones"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/eclipse/updates/4.4milestones/"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/tools/ptp/updates/luna"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/cbi/updates/license"/>
|
||||
</repositoryList>
|
||||
<repositoryList
|
||||
name="Mars">
|
||||
<repository
|
||||
url="http://download.eclipse.org/jetty/updates/jetty-bundles-8.x"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/technology/swtbot/releases/latest/"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/tm/updates/3.6milestones"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/eclipse/updates/4.5milestones/"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/tools/ptp/updates/luna"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/cbi/updates/license"/>
|
||||
</repositoryList>
|
||||
</targlet>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="projects:ProjectsImportTask">
|
||||
<sourceLocator
|
||||
rootFolder="${git.clone.cdt.location}"
|
||||
locateNestedProjects="true"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.workingsets:WorkingSetTask">
|
||||
<workingSet
|
||||
name="CDT">
|
||||
<predicate
|
||||
xsi:type="predicates:RepositoryPredicate"
|
||||
project="org.eclipse.cdt-feature"/>
|
||||
</workingSet>
|
||||
<description>The dynamic working sets for ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
</stream>
|
||||
<logicalProjectContainer
|
||||
xsi:type="setup:ProjectCatalog"
|
||||
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']"/>
|
||||
<description>C/C++ Development Tools</description>
|
||||
</setup:Project>
|
Loading…
Add table
Reference in a new issue