Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMatthias Sohn2015-03-09 20:03:38 +0000
committerMatthias Sohn2015-03-09 20:03:38 +0000
commit1c2d78e0cacd9b2efd516daa8774b1c43ffeea71 (patch)
tree95978ca39af2db1b4e4f24137ba703f24a8b9799 /tools
parent4e38d5e3d8cd991981daa18b9e25bb96bac5d9b3 (diff)
downloadegit-1c2d78e0cacd9b2efd516daa8774b1c43ffeea71.tar.gz
egit-1c2d78e0cacd9b2efd516daa8774b1c43ffeea71.tar.xz
egit-1c2d78e0cacd9b2efd516daa8774b1c43ffeea71.zip
Oomph configuration to setup Eclipse for EGit contributors
In order to enable us maintaining our Oomph configuration ourselves we have to have it in our repository. This is the initial configuration which works but isn't yet perfect. Bug: 461542 Change-Id: I3695cf0b14546d8376a47c85e6c4c23f45eb8227 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/oomph/EGit.setup238
1 files changed, 238 insertions, 0 deletions
diff --git a/tools/oomph/EGit.setup b/tools/oomph/EGit.setup
new file mode 100644
index 0000000000..a1fb4911e0
--- /dev/null
+++ b/tools/oomph/EGit.setup
@@ -0,0 +1,238 @@
+<?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:pde="http://www.eclipse.org/oomph/setup/pde/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/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/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="egit"
+ label="EGit"
+ setup:toolVersion="8">
+ <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/egit/updates-nightly"/>
+ <repository
+ url="http://download.eclipse.org/technology/swtbot/releases/2.1.1"/>
+ </setupTask>
+ <setupTask
+ xsi:type="setup:EclipseIniTask"
+ option="-Xmx"
+ value="1g"
+ vm="true"/>
+ <setupTask
+ xsi:type="setup:ResourceCreationTask"
+ excludedTriggers="STARTUP MANUAL"
+ content="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;section name=&quot;Workbench&quot;>&#xD;&#xA;&#x9;&lt;section name=&quot;org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart&quot;>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;true&quot; key=&quot;group_libraries&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;false&quot; key=&quot;linkWithEditor&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;2&quot; key=&quot;layout&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;2&quot; key=&quot;rootMode&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;packageExplorer configured=&amp;quot;true&amp;quot; group_libraries=&amp;quot;1&amp;quot; layout=&amp;quot;2&amp;quot; linkWithEditor=&amp;quot;0&amp;quot; rootMode=&amp;quot;2&amp;quot; sortWorkingSets=&amp;quot;false&amp;quot; workingSetName=&amp;quot;&amp;quot;&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;localWorkingSetManager&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;workingSet editPageId=&amp;quot;org.eclipse.jdt.internal.ui.OthersWorkingSet&amp;quot; factoryID=&amp;quot;org.eclipse.ui.internal.WorkingSetFactory&amp;quot; id=&amp;quot;1382792884467_1&amp;quot; label=&amp;quot;Other Projects&amp;quot; name=&amp;quot;Other Projects&amp;quot;/&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;/localWorkingSetManager&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;activeWorkingSet workingSetName=&amp;quot;Other Projects&amp;quot;/&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;allWorkingSets workingSetName=&amp;quot;Other Projects&amp;quot;/&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;/packageExplorer&amp;gt;&quot; key=&quot;memento&quot;/>&#xD;&#xA;&#x9;&lt;/section>&#xD;&#xA;&lt;/section>&#xD;&#xA;"
+ targetURL="${workspace.location|uri}/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml"
+ encoding="UTF-8"/>
+ <setupTask
+ xsi:type="setup:CompoundTask"
+ name="org.eclipse.pde.api.tools">
+ <setupTask
+ xsi:type="setup:PreferenceTask"
+ key="/instance/org.eclipse.pde.api.tools/missing_default_api_profile"
+ value="Warning"/>
+ </setupTask>
+ <setupTask
+ xsi:type="setup:VariableTask"
+ name="eclipse.target.platform"
+ defaultValue="Luna"
+ storageURI="scope://Workspace"/>
+ <setupTask
+ xsi:type="pde:APIBaselineTask"
+ name="EGit"
+ version="3.7"
+ location="${workspace.location/../api.baseline}"
+ remoteURI="http://download.eclipse.org/egit/updates/org.eclipse.egit.repository-3.7.0.201502260915-r.zip"/>
+ <stream name="master">
+ <setupTask
+ xsi:type="git:GitCloneTask"
+ id="git.clone.jgit"
+ remoteURI="jgit/jgit"
+ checkoutBranch="master">
+ <annotation
+ source="http://www.eclipse.org/oomph/setup/InducedChoices">
+ <detail
+ key="inherit">
+ <value>eclipse.git.gerrit.remoteURIs</value>
+ </detail>
+ <detail
+ key="label">
+ <value>JGit Gerrit Repository</value>
+ </detail>
+ <detail
+ key="target">
+ <value>remoteURI</value>
+ </detail>
+ </annotation>
+ <description>JGit</description>
+ </setupTask>
+ <setupTask
+ xsi:type="git:GitCloneTask"
+ id="git.clone.egit"
+ remoteURI="egit/egit"
+ checkoutBranch="master">
+ <annotation
+ source="http://www.eclipse.org/oomph/setup/InducedChoices">
+ <detail
+ key="inherit">
+ <value>eclipse.git.gerrit.remoteURIs</value>
+ </detail>
+ <detail
+ key="label">
+ <value>EGit Gerrit Repository</value>
+ </detail>
+ <detail
+ key="target">
+ <value>remoteURI</value>
+ </detail>
+ </annotation>
+ <description>EGit</description>
+ </setupTask>
+ <setupTask
+ xsi:type="setup.targlets:TargletTask">
+ <targlet
+ name="EGit"
+ activeRepositoryList="${eclipse.target.platform}">
+ <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.jgit.ant"/>
+ <requirement
+ name="org.eclipse.jgit.ant.test"/>
+ <requirement
+ name="org.eclipse.jgit.http.test"/>
+ <requirement
+ name="org.eclipse.jgit.http.apache.feature.group"/>
+ <requirement
+ name="org.eclipse.jgit.java7.feature.group"/>
+ <requirement
+ name="org.eclipse.jgit.java7.test"/>
+ <requirement
+ name="org.eclipse.jgit.junit.feature.group"/>
+ <requirement
+ name="org.eclipse.jgit.pgm.feature.group"/>
+ <requirement
+ name="org.eclipse.jgit.pgm.source.feature.group"/>
+ <requirement
+ name="org.eclipse.jgit.pgm.test"/>
+ <requirement
+ name="org.eclipse.jgit.target"/>
+ <requirement
+ name="org.eclipse.jgit.test"/>
+ <requirement
+ name="org.eclipse.egit.feature.group"/>
+ <requirement
+ name="org.eclipse.egit.core.test"/>
+ <requirement
+ name="org.eclipse.egit.mylyn.feature.group"/>
+ <requirement
+ name="org.eclipse.egit.mylyn.ui.test"/>
+ <requirement
+ name="org.eclipse.egit.target"/>
+ <requirement
+ name="org.eclipse.egit.ui.test"/>
+ <requirement
+ name="org.eclipse.egit.source.feature.group"/>
+ <requirement
+ name="org.eclipse.swtbot.eclipse.core"/>
+ <sourceLocator
+ rootFolder="${git.clone.jgit.location}"
+ locateNestedProjects="true"/>
+ <sourceLocator
+ rootFolder="${git.clone.egit.location}"/>
+ <repositoryList
+ name="Mars">
+ <repository
+ url="http://download.eclipse.org/releases/mars"/>
+ <repository
+ url="http://download.eclipse.org/modeling/emf/cdo/orbit/latest-R"/>
+ <repository
+ url="http://download.eclipse.org/jetty/updates/jetty-bundles-7.x/7.6.14.v20131031"/>
+ <repository
+ url="http://download.eclipse.org/technology/swtbot/releases/2.1.1"/>
+ </repositoryList>
+ <repositoryList
+ name="Luna">
+ <repository
+ url="http://download.eclipse.org/releases/luna"/>
+ <repository
+ url="http://download.eclipse.org/modeling/emf/cdo/orbit/latest-R"/>
+ <repository
+ url="http://download.eclipse.org/jetty/updates/jetty-bundles-7.x/7.6.14.v20131031"/>
+ <repository
+ url="http://download.eclipse.org/technology/swtbot/releases/2.1.1"/>
+ </repositoryList>
+ </targlet>
+ </setupTask>
+ <setupTask
+ xsi:type="setup.workingsets:WorkingSetTask">
+ <workingSet
+ name="EGit">
+ <predicate
+ xsi:type="predicates:AndPredicate">
+ <operand
+ xsi:type="predicates:NamePredicate"
+ pattern="org\.eclipse\.egit.*"/>
+ <operand
+ xsi:type="workingsets:ExclusionPredicate"
+ excludedWorkingSet="//@streams[name='master']/@setupTasks.3/@workingSets.2 //@streams[name='master']/@setupTasks.3/@workingSets.3"/>
+ </predicate>
+ </workingSet>
+ <workingSet
+ name="JGit">
+ <predicate
+ xsi:type="predicates:AndPredicate">
+ <operand
+ xsi:type="predicates:NamePredicate"
+ pattern="org\.eclipse\.jgit.*"/>
+ <operand
+ xsi:type="workingsets:ExclusionPredicate"
+ excludedWorkingSet="//@streams[name='master']/@setupTasks.3/@workingSets.2 //@streams[name='master']/@setupTasks.3/@workingSets.3"/>
+ </predicate>
+ </workingSet>
+ <workingSet
+ name="EGit/JGit Tests">
+ <predicate
+ xsi:type="predicates:FilePredicate"
+ filePattern="META-INF/MANIFEST.MF"
+ contentPattern="org\.junit"/>
+ </workingSet>
+ <workingSet
+ name="EGit/JGit Features">
+ <predicate
+ xsi:type="predicates:NaturePredicate"
+ nature="org.eclipse.pde.FeatureNature"/>
+ </workingSet>
+ </setupTask>
+ </stream>
+ <logicalProjectContainer
+ xsi:type="setup:ProjectCatalog"
+ href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']"/>
+ <description>Provides support for integrating Git with the Eclipse IDE</description>
+ <setupTask
+ xsi:type="setup:P2Task">
+ <installableUnits
+ id="org.eclipse.pde.api.tools.ee.feature.feature.group"/>
+ <p2Repositories
+ url="${train.url}"/>
+ </setupTask>
+</setup:Project>

Back to the top