<?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:launching="http://www.eclipse.org/oomph/setup/launching/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 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/Git.ecore http://www.eclipse.org/oomph/setup/jdt/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/JDT.ecore http://www.eclipse.org/oomph/setup/launching/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/Launching.ecore http://www.eclipse.org/oomph/setup/pde/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/PDE.ecore http://www.eclipse.org/oomph/predicates/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/projects/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/Projects.ecore http://www.eclipse.org/oomph/setup/targlets/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/SetupTarglets.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/WorkingSets.ecore"
    name="emf.parsley"
    label="EMF Parsley">
  <setupTask
      xsi:type="jdt:JRETask"
      version="JavaSE-17"
      location="${jre.location-17}">
    <description>Define the JRE needed to compile and run the Java projects of ${scope.project.label}</description>
  </setupTask>
  <setupTask
      xsi:type="setup:EclipseIniTask"
      option="-Xmx"
      value="2g"
      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:ReservedCodeCacheSize="
      value="128m"
      vm="true">
    <description>Set the ReservedCodeCacheSize to work with the projects of ${scope.project.label}</description>
  </setupTask>
  <setupTask
      xsi:type="setup:EclipseIniTask"
      option="-Doomph.redirection.emf.parsley"
      value="=https://raw.githubusercontent.com/eclipse-emf-parsley/emf-parsley/master/devtools/org.eclipse.emf.parsley.oomph/EMFParsley.setup->${git.clone.location|uri}/devtools/org.eclipse.emf.parsley.oomph/EMFParsley.setup"
      vm="true"/>
  <setupTask
      xsi:type="setup:ResourceCreationTask"
      excludedTriggers="STARTUP MANUAL"
      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>
    <content>

      &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>
      &lt;section name=&quot;Workbench&quot;>
      	&lt;section name=&quot;org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart&quot;>
      		&lt;item value=&quot;true&quot; key=&quot;group_libraries&quot;/>
      		&lt;item value=&quot;false&quot; key=&quot;linkWithEditor&quot;/>
      		&lt;item value=&quot;2&quot; key=&quot;layout&quot;/>
      		&lt;item value=&quot;2&quot; key=&quot;rootMode&quot;/>
      		&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;/>
      	&lt;/section>
      &lt;/section>


    </content>
  </setupTask>
  <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}&#xD;&#xA;&#xD;&#xA;Task-Url: $${task.url}"/>
  </setupTask>
  <setupTask
      xsi:type="setup:CompoundTask"
      name="org.eclipse.debug.ui">
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.debug.ui/org.eclipse.debug.ui.cancel_launch_with_compile_errors"
        value="always"/>
  </setupTask>
  <setupTask
      xsi:type="setup:CompoundTask"
      name="org.eclipse.core.resources">
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.core.resources/description.disableLinking"
        value="false"/>
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.core.resources/encoding"
        value="UTF-8"/>
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.core.resources/refresh.lightweight.enabled"
        value="false"/>
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.core.resources/missingNatureMarkerSeverity"
        value="-1"/>
  </setupTask>
  <setupTask
      xsi:type="setup:CompoundTask"
      name="org.eclipse.ui.ide">
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.ui.ide/IMPORT_FILES_AND_FOLDERS_MODE"
        value="prompt"/>
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.ui.ide/IMPORT_FILES_AND_FOLDERS_VIRTUAL_FOLDER_MODE"
        value="prompt"/>
  </setupTask>
  <setupTask
      xsi:type="setup:CompoundTask"
      name="org.eclipse.egit.core">
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.egit.core/core_autoIgnoreDerivedResources"
        value="false"/>
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.egit.core/core_preferredMergeStrategy"
        value="jgit-default-mergeStrategy"/>
  </setupTask>
  <setupTask
      xsi:type="setup:CompoundTask"
      name="org.eclipse.wst.xml.core">
    <setupTask
        xsi:type="setup:PreferenceTask"
        key="/instance/org.eclipse.wst.xml.core/indentationChar"
        value="tab"/>
    <setupTask
        xsi:type="setup:PreferenceTask"
        id="sync37"
        key="/instance/org.eclipse.wst.xml.core/indentationSize"
        value="1"/>
  </setupTask>
  <setupTask
      xsi:type="setup:VariableTask"
      name="eclipse.target.platform"
      defaultValue="2024-09"
      storageURI="scope://Workspace"/>
  <setupTask
      xsi:type="setup:VariableTask"
      name="mwe2.site"
      value="https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.19.0/"/>
  <setupTask
      xsi:type="setup:VariableTask"
      name="xtext.site"
      value="https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.36.0/"/>
  <setupTask
      xsi:type="setup:VariableTask"
      name="api.baseline.version"
      value="1.5.0"/>
  <setupTask
      xsi:type="setup:VariableTask"
      name="api.baseline.zip"
      value="org.eclipse.emf.parsley.repository-1.15.0.v20231121-1609.zip"/>
  <setupTask
      xsi:type="pde:APIBaselineTask"
      name="parsley-latest"
      version="${api.baseline.version}"
      location="${installation.location}/api/${api.baseline.version}/"
      remoteURI="https://download.eclipse.org/emf-parsley/zips/${api.baseline.zip}"/>
  <setupTask
      xsi:type="setup:CompoundTask"
      name="Eclipse IDE Plugins">
    <setupTask
        xsi:type="setup.p2:P2Task"
        label="Eclipse SDK">
      <requirement
          name="org.eclipse.pde.api.tools.ee.feature.feature.group"
          optional="true"/>
    </setupTask>
    <setupTask
        xsi:type="setup.p2:P2Task"
        id="p2.m2e"
        label="M2E"
        licenseConfirmationDisabled="true">
      <requirement
          name="org.eclipse.m2e.feature.feature.group"/>
      <requirement
          name="org.eclipse.m2e.pde.feature.feature.group"/>
      <description>Maven connector</description>
    </setupTask>
    <setupTask
        xsi:type="setup.p2:P2Task"
        label="EMF and CDO">
      <requirement
          name="org.eclipse.emf.sdk.feature.group"/>
      <requirement
          name="org.eclipse.emf.cdo.sdk.feature.group"/>
      <requirement
          name="org.eclipse.net4j.sdk.feature.group"/>
      <requirement
          name="org.eclipse.emf.ecoretools.design.feature.group"/>
    </setupTask>
    <setupTask
        xsi:type="setup.p2:P2Task"
        label="Oomph Extensions">
      <requirement
          name="org.eclipse.oomph.setup.git.feature.group"/>
      <requirement
          name="org.eclipse.oomph.setup.jdt.feature.group"/>
      <requirement
          name="org.eclipse.oomph.setup.maven.feature.group"/>
      <requirement
          name="org.eclipse.oomph.setup.pde.feature.group"/>
      <requirement
          name="org.eclipse.oomph.setup.projectset.feature.group"/>
      <requirement
          name="org.eclipse.oomph.setup.projects.feature.group"/>
      <requirement
          name="org.eclipse.oomph.setup.targlets.feature.group"/>
      <requirement
          name="org.eclipse.oomph.setup.ui.ide.feature.group"/>
      <requirement
          name="org.eclipse.oomph.setup.workbench.feature.group"/>
      <requirement
          name="org.eclipse.oomph.setup.workingsets.feature.group"/>
    </setupTask>
    <setupTask
        xsi:type="setup.p2:P2Task"
        label="RAP Tools">
      <requirement
          name="org.eclipse.rap.tools.feature.feature.group"/>
    </setupTask>
    <setupTask
        xsi:type="setup.p2:P2Task"
        label="Sonar">
      <requirement
          name="org.sonarlint.eclipse.feature.feature.group"/>
      <repository
          url="https://eclipse-uc.sonarlint.org/"/>
    </setupTask>
  </setupTask>
  <setupTask
      xsi:type="git:GitCloneTask"
      id="git.clone"
      remoteURI="eclipse-emf-parsley/emf-parsley">
    <annotation
        source="http://www.eclipse.org/oomph/setup/InducedChoices">
      <detail
          key="inherit">
        <value>github.remoteURIs</value>
      </detail>
      <detail
          key="label">
        <value>${scope.project.label} Github repository</value>
      </detail>
      <detail
          key="target">
        <value>remoteURI</value>
      </detail>
    </annotation>
    <description>${scope.project.label}</description>
  </setupTask>
  <project name="rcp"
      label="RCP">
    <setupTask
        xsi:type="setup:CompoundTask"
        name="Eclipse IDE Plugins">
      <setupTask
          xsi:type="setup.p2:P2Task"
          id="p2.swtbot"
          label="SWTBot"
          licenseConfirmationDisabled="true">
        <requirement
            name="org.eclipse.swtbot.eclipse.feature.group"/>
        <requirement
            name="org.eclipse.swtbot.ide.feature.group"/>
        <requirement
            name="org.eclipse.swtbot.generator.feature.feature.group"/>
        <repository
            url="https://download.eclipse.org/technology/swtbot/releases/latest"/>
        <description>UI testing framework</description>
      </setupTask>
      <setupTask
          xsi:type="setup.p2:P2Task"
          label="Xdoc">
        <requirement
            name="org.eclipse.xtext.xdoc.feature.feature.group"/>
        <repository
            url="https://lorenzobettini.github.io/xtext-xdoc-releases/"/>
        <repository
            url="${xtext.site}"/>
        <repository
            url="${mwe2.site}"/>
        <repository
            url="https://download.eclipse.org/oomph/simrel-orbit/2023-09"/>
      </setupTask>
    </setupTask>
    <setupTask
        xsi:type="projects:ProjectsImportTask">
      <sourceLocator
          rootFolder="${git.clone.location}/doc">
        <predicate
            xsi:type="predicates:NotPredicate">
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.*rap.*"/>
        </predicate>
      </sourceLocator>
      <sourceLocator
          rootFolder="${git.clone.location}/dsl"
          locateNestedProjects="true"/>
      <sourceLocator
          rootFolder="${git.clone.location}/features">
        <predicate
            xsi:type="predicates:NotPredicate">
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.*rap.*"/>
        </predicate>
      </sourceLocator>
      <sourceLocator
          rootFolder="${git.clone.location}/plugins">
        <predicate
            xsi:type="predicates:NotPredicate">
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.*rap.*"/>
        </predicate>
      </sourceLocator>
      <sourceLocator
          rootFolder="${git.clone.location}/examples">
        <predicate
            xsi:type="predicates:NotPredicate">
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.*rap.*"/>
        </predicate>
      </sourceLocator>
      <sourceLocator
          rootFolder="${git.clone.location}/tests"/>
    </setupTask>
    <setupTask
        xsi:type="setup.targlets:TargletTask">
      <targlet
          name="${scope.project.label}"
          activeRepositoryList="${eclipse.target.platform}">
        <annotation
            source="http:/www.eclipse.org/oomph/targlets/TargetDefinitionGenerator">
          <detail
              key="location">
            <value>${git.clone.location}/devtools/org.eclipse.emf.parsley.targetplatform/simrel.oomph.tp.target</value>
          </detail>
          <detail
              key="sortLocations">
            <value>false</value>
          </detail>
          <detail
              key="includeAllPlatforms">
            <value>false</value>
          </detail>
          <detail
              key="includeSource">
            <value>true</value>
          </detail>
          <detail
              key="singleLocation">
            <value>false</value>
          </detail>
          <detail
              key="generateImplicitUnits">
            <value>false</value>
          </detail>
          <detail
              key="minimizeImplicitUnits">
            <value>false</value>
          </detail>
        </annotation>
        <requirement
            name="org.eclipse.emf.parsley.workspace.feature.group"/>
        <requirement
            name="org.eclipse.sdk.feature.group"/>
        <requirement
            name="org.eclipse.emf.sdk.feature.group"/>
        <requirement
            name="org.eclipse.emf.cdo.sdk.feature.group"/>
        <requirement
            name="org.eclipse.net4j.sdk.feature.group"/>
        <requirement
            name="org.eclipse.xtext.sdk.feature.group"/>
        <requirement
            name="org.eclipse.emf.mwe2.language.sdk.feature.group"/>
        <requirement
            name="org.eclipse.emf.mwe2.runtime.sdk.feature.group"/>
        <requirement
            name="de.itemis.xtext.antlr.feature.feature.group"/>
        <requirement
            name="org.eclipse.xtext.xdoc.feature.feature.group"/>
        <requirement
            name="org.eclipse.rap.tools.feature.feature.group"/>
        <requirement
            name="org.mockito.mockito-core"/>
        <requirement
            name="org.eclipse.egit.feature.group"/>
        <requirement
            name="org.apache.commons.commons-logging"/>
        <sourceLocator
            rootFolder="${git.clone.location}"
            locateNestedProjects="true"/>
        <repositoryList
            name="2024-03">
          <repository
              url="${xtext.site}"/>
          <repository
              url="${mwe2.site}"/>
          <repository
              url="https://download.eclipse.org/releases/2024-03"/>
          <repository
              url="https://download.eclipse.org/cbi/updates/license"/>
          <repository
              url="https://download.itemis.com/updates/releases/2.1.1/"/>
          <repository
              url="https://lorenzobettini.github.io/xtext-xdoc-releases/"/>
          <repository
              url="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-03"/>
          <repository
              url="https://download.eclipse.org/modeling/m2t/xpand/updates/releases/R201605260315/"/>
        </repositoryList>
        <repositoryList
            name="2024-06">
          <repository
              url="${xtext.site}"/>
          <repository
              url="${mwe2.site}"/>
          <repository
              url="https://download.eclipse.org/releases/2024-03"/>
          <repository
              url="https://download.eclipse.org/cbi/updates/license"/>
          <repository
              url="https://download.itemis.com/updates/releases/2.1.1/"/>
          <repository
              url="https://lorenzobettini.github.io/xtext-xdoc-releases/"/>
          <repository
              url="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-06"/>
          <repository
              url="https://download.eclipse.org/modeling/m2t/xpand/updates/releases/R201605260315/"/>
        </repositoryList>
        <repositoryList
            name="2024-09">
          <repository
              url="${xtext.site}"/>
          <repository
              url="${mwe2.site}"/>
          <repository
              url="https://download.eclipse.org/releases/2024-03"/>
          <repository
              url="https://download.eclipse.org/cbi/updates/license"/>
          <repository
              url="https://download.itemis.com/updates/releases/2.1.1/"/>
          <repository
              url="https://lorenzobettini.github.io/xtext-xdoc-releases/"/>
          <repository
              url="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-09"/>
          <repository
              url="https://download.eclipse.org/modeling/m2t/xpand/updates/releases/R201605260315/"/>
          <repository
              url="https://download.eclipse.org/technology/swtbot/releases/latest"/>
        </repositoryList>
      </targlet>
    </setupTask>
    <setupTask
        xsi:type="setup.workingsets:WorkingSetTask">
      <workingSet
          name="Examples">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.examples(\..*)?"/>
        </predicate>
      </workingSet>
      <workingSet
          name="Tests">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.tests(\..*)?"/>
        </predicate>
      </workingSet>
      <workingSet
          name="Release Engineering">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:OrPredicate">
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.oomph"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.parent"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.releng"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.repository"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.repository"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.sdk"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.targetplatform"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.workspace"/>
          </operand>
        </predicate>
      </workingSet>
      <workingSet
          name="Documentation"
          id="">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.doc.*"/>
        </predicate>
      </workingSet>
      <workingSet
          name="Features">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:OrPredicate">
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.feature.*"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.sdk"/>
          </operand>
        </predicate>
      </workingSet>
      <workingSet
          name="Core">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="workingsets:ExclusionPredicate"
              excludedWorkingSet="//@projects[name='rcp']/@setupTasks.3/@workingSets[name='Documentation'] //@projects[name='rcp']/@setupTasks.3/@workingSets[name='Examples'] //@projects[name='rcp']/@setupTasks.3/@workingSets[name='Features'] //@projects[name='rcp']/@setupTasks.3/@workingSets[name='Release%20Engineering'] //@projects[name='rcp']/@setupTasks.3/@workingSets[name='Tests']"/>
        </predicate>
      </workingSet>
      <description>The dynamic working sets for ${scope.project.label}</description>
    </setupTask>
    <setupTask
        xsi:type="projects:ProjectsBuildTask"
        onlyNewProjects="true"
        refresh="true"/>
    <setupTask
        xsi:type="launching:LaunchTask"
        id="GenerateEmfParsleyDsl"
        launcher="Generate Language Infrastructure (org.eclipse.emf.parsley.dsl)"/>
    <setupTask
        xsi:type="projects:ProjectsBuildTask"
        id="Clean"
        onlyNewProjects="true"
        refresh="true"
        clean="true">
      <description>Clean</description>
    </setupTask>
    <setupTask
        xsi:type="launching:LaunchTask"
        id="GenerateExamplesZips"
        launcher="Build Zips">
      <description>Generate Zips of Examples</description>
    </setupTask>
    <stream
        name="master"
        label="Master">
      <setupTask
          xsi:type="setup.p2:P2Task"
          id="p2.org.eclipse.xtext.2"
          label="Xtext Releases"
          licenseConfirmationDisabled="true">
        <requirement
            name="org.eclipse.xtext.sdk.feature.group"
            versionRange="[2.36.0,2.37.0)"/>
        <requirement
            name="de.itemis.xtext.antlr.feature.feature.group"/>
        <repository
            url="${xtext.site}"/>
        <repository
            url="${mwe2.site}"/>
        <repository
            url="https://download.itemis.com/updates/releases/2.1.1/"/>
        <repository
            url="https://download.eclipse.org/modeling/m2t/xpand/updates/releases/R201605260315/"/>
        <description>Xtext &amp; Xtend</description>
      </setupTask>
    </stream>
    <description>EMF Parsley version for RCP</description>
  </project>
  <project name="rap"
      label="RAP">
    <setupTask
        xsi:type="setup.targlets:TargletTask">
      <targlet
          name="${scope.project.label}"
          activeRepositoryList="${eclipse.target.platform}"
          includeAllRequirements="false">
        <annotation
            source="http:/www.eclipse.org/oomph/targlets/TargetDefinitionGenerator">
          <detail
              key="location">
            <value>${git.clone.location}/devtools/org.eclipse.emf.parsley.targetplatform/simrel.rap.oomph.tp.target</value>
          </detail>
          <detail
              key="sortLocations">
            <value>false</value>
          </detail>
          <detail
              key="includeAllPlatforms">
            <value>false</value>
          </detail>
          <detail
              key="includeSource">
            <value>true</value>
          </detail>
          <detail
              key="singleLocation">
            <value>false</value>
          </detail>
          <detail
              key="generateImplicitUnits">
            <value>true</value>
          </detail>
          <detail
              key="minimizeImplicitUnits">
            <value>true</value>
          </detail>
        </annotation>
        <requirement
            name="org.eclipse.emf.parsley.rap.workspace.feature.group"/>
        <requirement
            name="org.eclipse.rap.feature.feature.group"/>
        <requirement
            name="org.eclipse.rap.sdk.feature.feature.group"/>
        <requirement
            name="org.eclipse.rap.examples.feature.feature.group"/>
        <requirement
            name="org.eclipse.rap.equinox.target.feature.feature.group"/>
        <sourceLocator
            rootFolder="${git.clone.location}"
            locateNestedProjects="true"/>
        <repositoryList
            name="2022-12">
          <repository
              url="${xtext.site}"/>
          <repository
              url="${mwe2.site}"/>
          <repository
              url="https://download.eclipse.org/staging/2022-12/"/>
          <repository
              url="https://download.eclipse.org/cbi/updates/license"/>
          <repository
              url="https://download.itemis.com/updates/releases/2.1.1/"/>
          <repository
              url="https://lorenzobettini.github.io/xtext-xdoc-releases/"/>
          <repository
              url="https://download.eclipse.org/tools/orbit/downloads/2022-12"/>
        </repositoryList>
        <repositoryList
            name="2023-09">
          <repository
              url="${xtext.site}"/>
          <repository
              url="${mwe2.site}"/>
          <repository
              url="https://download.eclipse.org/releases/2023-09"/>
          <repository
              url="https://download.eclipse.org/cbi/updates/license"/>
          <repository
              url="https://download.itemis.com/updates/releases/2.1.1/"/>
          <repository
              url="https://lorenzobettini.github.io/xtext-xdoc-releases/"/>
          <repository
              url="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2023-09/"/>
        </repositoryList>
        <repositoryList
            name="2023-12">
          <repository
              url="${xtext.site}"/>
          <repository
              url="${mwe2.site}"/>
          <repository
              url="https://download.eclipse.org/releases/2023-12"/>
          <repository
              url="https://download.eclipse.org/cbi/updates/license"/>
          <repository
              url="https://download.itemis.com/updates/releases/2.1.1/"/>
          <repository
              url="https://lorenzobettini.github.io/xtext-xdoc-releases/"/>
          <repository
              url="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2023-12/"/>
        </repositoryList>
        <repositoryList
            name="2024-03">
          <repository
              url="${xtext.site}"/>
          <repository
              url="${mwe2.site}"/>
          <repository
              url="https://download.eclipse.org/releases/2024-03"/>
          <repository
              url="https://download.eclipse.org/cbi/updates/license"/>
          <repository
              url="https://download.itemis.com/updates/releases/2.1.1/"/>
          <repository
              url="https://lorenzobettini.github.io/xtext-xdoc-releases/"/>
          <repository
              url="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-03"/>
        </repositoryList>
      </targlet>
    </setupTask>
    <setupTask
        xsi:type="setup.workingsets:WorkingSetTask">
      <workingSet
          name="Examples">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.examples(\..*)?"/>
        </predicate>
      </workingSet>
      <workingSet
          name="Tests">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.tests(\..*)?"/>
        </predicate>
      </workingSet>
      <workingSet
          name="Release Engineering">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:OrPredicate">
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.oomph"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.parent"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.releng"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.repository"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.repository"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.sdk"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.targetplatform"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.workspace"/>
          </operand>
        </predicate>
      </workingSet>
      <workingSet
          name="Documentation"
          id="">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:NamePredicate"
              pattern=".*\.doc.*"/>
        </predicate>
      </workingSet>
      <workingSet
          name="Features">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="predicates:OrPredicate">
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.feature.*"/>
            <operand
                xsi:type="predicates:NamePredicate"
                pattern=".*\.sdk"/>
          </operand>
        </predicate>
      </workingSet>
      <workingSet
          name="Core">
        <predicate
            xsi:type="predicates:AndPredicate">
          <operand
              xsi:type="predicates:RepositoryPredicate"
              project="org.eclipse.emf.parsley.common"/>
          <operand
              xsi:type="workingsets:ExclusionPredicate"
              excludedWorkingSet="//@projects[name='rap']/@setupTasks.1/@workingSets[name='Documentation'] //@projects[name='rap']/@setupTasks.1/@workingSets[name='Examples'] //@projects[name='rap']/@setupTasks.1/@workingSets[name='Features'] //@projects[name='rap']/@setupTasks.1/@workingSets[name='Release%20Engineering'] //@projects[name='rap']/@setupTasks.1/@workingSets[name='Tests']"/>
        </predicate>
      </workingSet>
      <description>The dynamic working sets for ${scope.project.label}</description>
    </setupTask>
    <stream
        name="master"
        label="Master">
      <setupTask
          xsi:type="setup:VariableTask"
          name="eclipse.target.platform"
          defaultValue="2022-09"
          storageURI="scope://Workspace"/>
      <description></description>
    </stream>
    <description>EMF Parsley version for RAP</description>
  </project>
  <logicalProjectContainer
      xsi:type="setup:ProjectCatalog"
      href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']"/>
  <description>EMF Parsley provides  a set of reusable UI components based on EMF (trees, tables, forms, views, editors) that can be used in your EMF-based plugin out-of-the-box.</description>
</setup:Project>
