| <?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: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.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/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/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore" |
| name="etrice" |
| label="eTrice"> |
| <setupTask |
| xsi:type="jdt:JRETask" |
| version="JavaSE-1.8" |
| location="${jre.location-1.8}"> |
| <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: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="setup.p2:P2Task"> |
| <requirement |
| name="org.eclipse.platform.feature.group"/> |
| <requirement |
| name="org.eclipse.rcp.feature.group"/> |
| <requirement |
| name="org.eclipse.jdt.feature.group"/> |
| <requirement |
| name="org.eclipse.pde.feature.group"/> |
| <requirement |
| name="org.eclipse.emf.sdk.feature.group"/> |
| <requirement |
| name="org.eclipse.xtext.sdk.feature.group"/> |
| <requirement |
| name="org.eclipse.emf.ecoretools.design.feature.group" |
| optional="true"/> |
| <requirement |
| name="org.eclipse.graphiti.sdk.feature.feature.group"/> |
| <requirement |
| name="org.eclipse.cdt.feature.group"/> |
| <requirement |
| name="org.eclipse.tm.terminal.feature.feature.group" |
| optional="true"/> |
| <requirement |
| name="org.eclipse.egerrit.feature.feature.group" |
| optional="true"/> |
| <requirement |
| name="org.eclipse.egit.feature.group"/> |
| <requirement |
| name="org.apache.commons.io"/> |
| <repository |
| url="http://download.eclipse.org/tools/orbit/downloads/drops/R20170919201930/repository"/> |
| <description>Install the tools needed in the IDE to work with the source code for ${scope.project.label}</description> |
| </setupTask> |
| <setupTask |
| xsi:type="setup:VariableTask" |
| name="eclipse.target.platform" |
| value="Oxygen" |
| defaultValue="Oxygen" |
| storageURI="scope://Workspace"/> |
| <stream name="master" |
| label="master"> |
| <setupTask |
| xsi:type="setup:CompoundTask" |
| predecessor="//@setupTasks.3" |
| name="User Preferences"> |
| <annotation |
| source="http://www.eclipse.org/oomph/setup/UserPreferences"> |
| <detail |
| key="/instance/org.eclipse.core.resources/encoding"> |
| <value>record</value> |
| </detail> |
| <detail |
| key="/instance/org.eclipse.core.resources/refresh.lightweight.enabled"> |
| <value>record</value> |
| </detail> |
| <detail |
| key="/instance/org.eclipse.egit.core/core_autoIgnoreDerivedResources"> |
| <value>record</value> |
| </detail> |
| <detail |
| key="/instance/org.eclipse.egit.ui/Blame_IgnoreWhitespace"> |
| <value>record</value> |
| </detail> |
| <detail |
| key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.source"> |
| <value>record</value> |
| </detail> |
| <detail |
| key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.codegen.targetPlatform"> |
| <value>record</value> |
| </detail> |
| <detail |
| key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.compliance"> |
| <value>record</value> |
| </detail> |
| <detail |
| key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.custom_code_templates"> |
| <value>record</value> |
| </detail> |
| <detail |
| key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.javadoc"> |
| <value>record</value> |
| </detail> |
| </annotation> |
| <setupTask |
| xsi:type="setup:CompoundTask" |
| name="org.eclipse.core.resources"> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.core.resources/description.autobuilding" |
| value="true"/> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.core.resources/refresh.enabled" |
| value="true"/> |
| </setupTask> |
| <setupTask |
| xsi:type="setup:CompoundTask" |
| name="org.eclipse.egerrit.core"> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.egerrit.core/serversList" |
| value="[{"fServerURI":"https://git.eclipse.org/r","fServerScheme":"https","fHostId":"git.eclipse.org","fServerPath":"/r","fServerName":"Eclipse Gerrit","fServerPort":-1,"fUserName":"${git.author.email}","fPasswordProvided":true}]"/> |
| </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> |
| <setupTask |
| xsi:type="setup:CompoundTask" |
| name="org.eclipse.egit.ui"> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.egit.ui/Blame_IgnoreWhitespace" |
| value="true"/> |
| </setupTask> |
| <setupTask |
| xsi:type="setup:CompoundTask" |
| name="org.eclipse.jdt.core"> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.codegen.targetPlatform" |
| value="1.8"/> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.compliance" |
| value="1.8"/> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.source" |
| value="1.8"/> |
| </setupTask> |
| <setupTask |
| xsi:type="setup:CompoundTask" |
| name="org.eclipse.jdt.ui"> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.javadoc" |
| value="true"/> |
| <setupTask |
| xsi:type="setup:PreferenceTask" |
| key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.custom_code_templates" |
| value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="constructorcomment_context" deleted="false" description="Comment for created constructors" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name="constructorcomment"/><template autoinsert="false" context="filecomment_context" deleted="false" description="Comment for created Java files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.filecomment" name="filecomment">/*******************************************************************************
 * Copyright (c) 2010 protos software gmbh (http://www.protos.de).
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 * 
 * CONTRIBUTORS:
 * 		${git.author.name} (initial contribution)
 * 
 *******************************************************************************/
</template><template autoinsert="false" context="typecomment_context" deleted="false" description="Comment for created types" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.typecomment" name="typecomment"/><template autoinsert="false" context="fieldcomment_context" deleted="false" description="Comment for fields" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name="fieldcomment"/><template autoinsert="false" context="methodcomment_context" deleted="false" description="Comment for non-overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name="methodcomment"/><template autoinsert="false" context="overridecomment_context" deleted="false" description="Comment for overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name="overridecomment"/></templates>"/> |
| </setupTask> |
| </setupTask> |
| <setupTask |
| xsi:type="git:GitCloneTask" |
| id="git.clone" |
| filter="" |
| remoteName="gerrit" |
| remoteURI="etrice/org.eclipse.etrice" |
| pushURI=""> |
| <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> |
| <configSections |
| name="core"> |
| <properties |
| key="autocrlf" |
| value="true"/> |
| </configSections> |
| <configSections |
| name="branch "${scope.project.stream.name}""> |
| <properties |
| key="rebase" |
| value="true"/> |
| </configSections> |
| <configSections |
| name="user"> |
| <properties |
| key="name" |
| value="${git.author.name}"/> |
| <properties |
| key="email" |
| value="${git.author.email}"/> |
| </configSections> |
| <configSections |
| name="remote "gerrit ssh""> |
| <properties |
| key="url" |
| value="ssh://${git.user.id}@git.eclipse.org:29418/etrice/org.eclipse.etrice.git"/> |
| <properties |
| key="fetch" |
| value="+refs/heads/*:refs/remotes/gerrit/*"/> |
| <properties |
| key="push" |
| value="HEAD:refs/for/master"/> |
| </configSections> |
| <configSections |
| name="remote "gerrit bypass ssh""> |
| <properties |
| key="pushurl" |
| value="ssh://${git.user.id}@git.eclipse.org:29418/etrice/org.eclipse.etrice.git"/> |
| <properties |
| key="push" |
| value="HEAD:refs/heads/master"/> |
| </configSections> |
| <configSections |
| name="remote "github""> |
| <properties |
| key="url" |
| value="https://github.com/protossoftware/etrice.git"/> |
| <properties |
| key="fetch" |
| value="+refs/heads/*:refs/remotes/github/*"/> |
| </configSections> |
| <description>${scope.project.label}</description> |
| </setupTask> |
| <setupTask |
| xsi:type="git:GitCloneTask" |
| id="git.clone.website" |
| remoteName="gerrit" |
| remoteURI="www.eclipse.org/etrice" |
| checkoutBranch="master"> |
| <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} Website repository</value> |
| </detail> |
| <detail |
| key="target"> |
| <value>remoteURI</value> |
| </detail> |
| </annotation> |
| <configSections |
| name="core"> |
| <properties |
| key="autocrlf" |
| value="true"/> |
| </configSections> |
| <configSections |
| name="branch "master""> |
| <properties |
| key="rebase" |
| value="true"/> |
| </configSections> |
| <configSections |
| name="user"> |
| <properties |
| key="name" |
| value="${git.author.name}"/> |
| <properties |
| key="email" |
| value="${git.author.email}"/> |
| </configSections> |
| <configSections |
| name="remote "gerrit ssh""> |
| <properties |
| key="pushurl" |
| value="ssh://${git.user.id}@git.eclipse.org:29418/www.eclipse.org/etrice.git"/> |
| <properties |
| key="push" |
| value="HEAD:refs/heads/master"/> |
| </configSections> |
| <configSections |
| name="remote "gerrit bypass ssh""> |
| <properties |
| key="pushurl" |
| value="ssh://${git.user.id}@git.eclipse.org:29418/www.eclipse.org/etrice.git"/> |
| <properties |
| key="push" |
| value="HEAD:refs/heads/master"/> |
| </configSections> |
| <description>${scope.project.label} website</description> |
| </setupTask> |
| <setupTask |
| xsi:type="projects:ProjectsImportTask"> |
| <sourceLocator |
| rootFolder="${git.clone.location}"/> |
| <sourceLocator |
| rootFolder="${git.clone.website.location}"/> |
| </setupTask> |
| <setupTask |
| xsi:type="setup.workingsets:WorkingSetTask" |
| prefix="org.eclipse.etrice-"> |
| <workingSet |
| name="${scope.project.label}"> |
| <predicate |
| xsi:type="predicates:RepositoryPredicate" |
| project="org.eclipse.etrice.core.common"/> |
| </workingSet> |
| <workingSet |
| name="${scope.project.label} C/C++"> |
| <predicate |
| xsi:type="predicates:AndPredicate"> |
| <operand |
| xsi:type="predicates:NaturePredicate" |
| nature="org.eclipse.cdt.core.cnature"/> |
| <operand |
| xsi:type="predicates:RepositoryPredicate" |
| project="org.eclipse.etrice.core.common"/> |
| </predicate> |
| </workingSet> |
| <workingSet |
| name="${scope.project.label} Features"> |
| <predicate |
| xsi:type="predicates:AndPredicate"> |
| <operand |
| xsi:type="predicates:NaturePredicate" |
| nature="org.eclipse.pde.FeatureNature"/> |
| <operand |
| xsi:type="predicates:RepositoryPredicate" |
| project="org.eclipse.etrice.core.common"/> |
| </predicate> |
| </workingSet> |
| <workingSet |
| name="${scope.project.label} Generators"> |
| <predicate |
| xsi:type="predicates:AndPredicate"> |
| <operand |
| xsi:type="predicates:OrPredicate"> |
| <operand |
| xsi:type="predicates:NamePredicate" |
| pattern="org.eclipse.etrice.generator.*"/> |
| <operand |
| xsi:type="predicates:NamePredicate" |
| pattern="org.eclipse.etrice.core.genmodel.*"/> |
| <operand |
| xsi:type="predicates:NamePredicate" |
| pattern="org.eclipse.etrice.core.*"/> |
| </operand> |
| <operand |
| xsi:type="predicates:NotPredicate"> |
| <operand |
| xsi:type="predicates:NamePredicate" |
| pattern=".*(tests|ui)"/> |
| </operand> |
| <operand |
| xsi:type="predicates:NaturePredicate" |
| nature="org.eclipse.jdt.core.javanature"/> |
| <operand |
| xsi:type="predicates:NaturePredicate" |
| nature="org.eclipse.pde.PluginNature"/> |
| <operand |
| xsi:type="predicates:RepositoryPredicate" |
| project="org.eclipse.etrice.core.common"/> |
| </predicate> |
| </workingSet> |
| <workingSet |
| name="${scope.project.label} Website"> |
| <predicate |
| xsi:type="predicates:NamePredicate" |
| pattern="etrice"/> |
| </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><a href="https://www.eclipse.org/etrice/">eTrice</a> - Real-Time Modeling Tools<br>This Eclipse project provides an implementation of the ROOM (Real-Time Object-Oriented Modeling) modeling language together with editors, code generators for Java, C++ and C code and target middleware.</description> |
| </setup:Project> |