| <?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:mylyn="http://www.eclipse.org/oomph/setup/mylyn/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" |
| 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/setup/mylyn/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Mylyn.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 http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore" |
| name="swtbot" |
| label="SWTBot"> |
| <setupTask |
| xsi:type="setup.p2:P2Task" |
| id="" |
| label="${scope.project.label}"> |
| <requirement |
| name="org.eclipse.mylyn.ide_feature.feature.group"/> |
| <requirement |
| name="org.eclipse.mylyn.java_feature.feature.group"/> |
| <requirement |
| name="org.eclipse.mylyn.pde_feature.feature.group"/> |
| <requirement |
| name="org.eclipse.mylyn.team_feature.feature.group"/> |
| <requirement |
| name="org.eclipse.mylyn.gerrit.feature.feature.group"/> |
| <requirement |
| name="org.eclipse.mylyn_feature.feature.group"/> |
| <requirement |
| name="org.eclipse.mylyn.bugzilla_feature.feature.group"/> |
| <requirement |
| name="org.eclipse.mylyn.git.feature.group"/> |
| <requirement |
| name="org.eclipse.mylyn.builds.feature.group"/> |
| <requirement |
| name="org.eclipse.mylyn.hudson.feature.group"/> |
| <requirement |
| name="org.eclipse.egit.feature.group"/> |
| <requirement |
| name="org.eclipse.egit.mylyn.feature.group"/> |
| <requirement |
| name="org.eclipse.m2e.feature.feature.group"/> |
| <requirement |
| name="org.sonatype.tycho.m2e.feature.feature.group"/> |
| <requirement |
| name="edu.umd.cs.findbugs.plugin.eclipse.feature.group" |
| optional="true"/> |
| <requirement |
| name="org.eclipse.pde.api.tools.ee.feature.feature.group" |
| optional="true"/> |
| <repository |
| url="http://findbugs.cs.umd.edu/eclipse/"/> |
| <repository |
| url="http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.8.0/N/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" |
| option="-Xmx" |
| value="2048m" |
| vm="true"> |
| <description>Set the heap space 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="J2SE-1.5" |
| location="${jre.location-1.5}"> |
| <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="Mars" |
| storageURI="scope://Workspace"/> |
| <setupTask |
| xsi:type="setup:CompoundTask" |
| name="org.eclipse.jdt.launching"> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.jdt.launching/org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE" |
| value="ignore"/> |
| </setupTask> |
| <setupTask |
| xsi:type="setup:CompoundTask" |
| name="org.eclipse.mylyn.team.ui"> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.mylyn.team.ui/org.eclipse.mylyn.team.commit.template" |
| value="[$${task.key}] $${task.description}

$${task.url}"/> |
| </setupTask> |
| <setupTask |
| xsi:type="git:GitCloneTask" |
| id="git.clone" |
| remoteURI="swtbot/org.eclipse.swtbot"> |
| <annotation |
| source="http://www.eclipse.org/oomph/setup/InducedChoices"> |
| <detail |
| key="inherit"> |
| <value>eclipse.gerrit.remoteURIs</value> |
| </detail> |
| <detail |
| key="label"> |
| <value>${scope.project.label} Gerrit repository</value> |
| </detail> |
| <detail |
| key="target"> |
| <value>remoteURI</value> |
| </detail> |
| </annotation> |
| <description>${scope.project.label}</description> |
| </setupTask> |
| <setupTask |
| xsi:type="setup.targlets:TargletTask"> |
| <targlet |
| name="${scope.project.label}" |
| activeRepositoryList="${eclipse.target.platform}"> |
| <requirement |
| name="org.eclipse.swtbot.feature.group"/> |
| <requirement |
| name="org.eclipse.swtbot.ide.feature.group"/> |
| <requirement |
| name="org.eclipse.swtbot.generator.feature.feature.group"/> |
| <requirement |
| name="org.eclipse.swtbot.forms.feature.group"/> |
| <requirement |
| name="org.eclipse.swtbot.eclipse.feature.group"/> |
| <requirement |
| name="org.eclipse.swtbot.eclipse.test.junit.feature.group"/> |
| <requirement |
| name="org.eclipse.swtbot.eclipse.gef.feature.group"/> |
| <requirement |
| name="org.eclipse.sdk.feature.group"/> |
| <requirement |
| name="org.eclipse.swtbot.nebula.gallery.feature.group"/> |
| <sourceLocator |
| rootFolder="${git.clone.location}" |
| locateNestedProjects="true"/> |
| <repositoryList |
| name="Mars"> |
| <repository |
| url="http://download.eclipse.org/releases/mars"/> |
| <repository |
| url="http://download.eclipse.org/cbi/updates/license"/> |
| <repository |
| url="http://download.eclipse.org/technology/nebula/snapshot"/> |
| </repositoryList> |
| <repositoryList |
| name="Luna"> |
| <repository |
| url="http://download.eclipse.org/releases/luna"/> |
| <repository |
| url="http://download.eclipse.org/cbi/updates/license"/> |
| <repository |
| url="http://download.eclipse.org/technology/nebula/snapshot"/> |
| </repositoryList> |
| <repositoryList |
| name="Kepler"> |
| <repository |
| url="http://download.eclipse.org/releases/kepler"/> |
| <repository |
| url="http://download.eclipse.org/cbi/updates/license"/> |
| <repository |
| url="http://download.eclipse.org/technology/nebula/snapshot"/> |
| </repositoryList> |
| <repositoryList |
| name="Juno"> |
| <repository |
| url="http://download.eclipse.org/releases/juno"/> |
| <repository |
| url="http://download.eclipse.org/cbi/updates/license"/> |
| <repository |
| url="http://download.eclipse.org/technology/nebula/snapshot"/> |
| </repositoryList> |
| </targlet> |
| </setupTask> |
| <setupTask |
| xsi:type="pde:APIBaselineTask" |
| name="swtbot-latest" |
| version="2.3.0" |
| location="${installation.location}/api/v2.3/" |
| remoteURI="http://download.eclipse.org/technology/swtbot/snapshots/repository.zip"/> |
| <setupTask |
| xsi:type="projects:ProjectsImportTask"> |
| <sourceLocator |
| rootFolder="${git.clone.location}" |
| locateNestedProjects="true"/> |
| </setupTask> |
| <setupTask |
| xsi:type="setup.workingsets:WorkingSetTask"> |
| <workingSet |
| name="${scope.project.label} All"> |
| <predicate |
| xsi:type="predicates:AndPredicate"> |
| <operand |
| xsi:type="predicates:RepositoryPredicate" |
| project="org.eclipse.swtbot"/> |
| </predicate> |
| </workingSet> |
| <workingSet |
| name="${scope.project.label} Tests"> |
| <predicate |
| xsi:type="predicates:AndPredicate"> |
| <operand |
| xsi:type="predicates:RepositoryPredicate" |
| project="org.eclipse.swtbot"/> |
| <operand |
| xsi:type="predicates:NamePredicate" |
| pattern="org\.eclipse\.swtbot\..*\.test"/> |
| </predicate> |
| </workingSet> |
| <workingSet |
| name="${scope.project.label} Bundles"> |
| <predicate |
| xsi:type="predicates:AndPredicate"> |
| <operand |
| xsi:type="predicates:RepositoryPredicate" |
| project="org.eclipse.swtbot"/> |
| <operand |
| xsi:type="predicates:NaturePredicate" |
| nature="org.eclipse.pde.PluginNature"/> |
| <operand |
| xsi:type="workingsets:ExclusionPredicate" |
| excludedWorkingSet="//@setupTasks.11/@workingSets.1"/> |
| </predicate> |
| </workingSet> |
| <workingSet |
| name="${scope.project.label} Features"> |
| <predicate |
| xsi:type="predicates:AndPredicate"> |
| <operand |
| xsi:type="predicates:RepositoryPredicate" |
| project="org.eclipse.swtbot"/> |
| <operand |
| xsi:type="predicates:NaturePredicate" |
| nature="org.eclipse.pde.FeatureNature"/> |
| <operand |
| xsi:type="workingsets:ExclusionPredicate" |
| excludedWorkingSet="//@setupTasks.11/@workingSets.1"/> |
| </predicate> |
| </workingSet> |
| <workingSet |
| name="${scope.project.label} Releng"> |
| <predicate |
| xsi:type="predicates:AndPredicate"> |
| <operand |
| xsi:type="predicates:RepositoryPredicate" |
| project="org.eclipse.swtbot"/> |
| <operand |
| xsi:type="workingsets:ExclusionPredicate" |
| excludedWorkingSet="//@setupTasks.11/@workingSets.1"/> |
| <operand |
| xsi:type="predicates:OrPredicate"> |
| <operand |
| xsi:type="predicates:NamePredicate" |
| pattern="target-platforms"/> |
| <operand |
| xsi:type="predicates:NamePredicate" |
| pattern="org\.eclipse\.swtbot\.updatesite"/> |
| </operand> |
| </predicate> |
| </workingSet> |
| <description>The dynamic working sets for ${scope.project.label}</description> |
| </setupTask> |
| <setupTask |
| xsi:type="mylyn:MylynQueriesTask" |
| repositoryURL="https://bugs.eclipse.org/bugs" |
| userID="${bugzilla.id}" |
| password="${eclipse.user.password}"> |
| <query summary="SWTBot Bugs" |
| url="https://bugs.eclipse.org/bugs/buglist.cgi?product=SWTBot&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_severity=blocker&bug_severity=critical&bug_severity=major&bug_severity=normal&bug_severity=minor&bug_severity=trivial"/> |
| </setupTask> |
| <setupTask |
| xsi:type="mylyn:MylynQueriesTask" |
| connectorKind="org.eclipse.mylyn.gerrit" |
| repositoryURL="https://git.eclipse.org/r" |
| userID="${bugzilla.id}" |
| password="${eclipse.user.password}"> |
| <query summary="SWTBot Reviews"> |
| <attribute |
| key="gerrit query type" |
| value="custom"/> |
| <attribute |
| key="gerrit query project" |
| value="swtbot/org.eclipse.swtbot"/> |
| <attribute |
| key="gerrit query string" |
| value="project:swtbot/org.eclipse.swtbot status:open branch:master"/> |
| </query> |
| </setupTask> |
| <setupTask |
| xsi:type="mylyn:MylynBuildsTask" |
| serverURL="https://hudson.eclipse.org/swtbot/"> |
| <buildPlan |
| name="swtbot-gerrit"/> |
| <buildPlan |
| name="SWTBot-Sonar"/> |
| <buildPlan |
| name="swtbot-tycho"/> |
| </setupTask> |
| <stream name="master"/> |
| <logicalProjectContainer |
| xsi:type="setup:ProjectCatalog" |
| href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']"/> |
| <description>SWTBot is an open-source Java based UI/functional testing tool for testing SWT, Eclipse and GEF based applications.</description> |
| </setup:Project> |