Initial versions of setups

This commit is contained in:
Eyck Jentzsch 2018-04-04 20:34:12 +02:00
parent e37a8794ee
commit 93d188b202
5 changed files with 2324 additions and 0 deletions

11
oomph-check/.project Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>oomph-setups</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

View File

@ -0,0 +1,225 @@
<?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: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"
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/projects/1.0 index:/models/Projects.ecore"
name="dbt_rise_rv"
label="DBT-RISE-RISCV">
<setupTask
xsi:type="setup:CompoundTask"
name="Global Variables">
<setupTask
xsi:type="setup:VariableTask"
name="github.user.id"
defaultValue="anonymous"
label="Github user ID">
<description>The user ID of the Github account</description>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
name="github.author.name"
label="Github author name">
<description>The author name used for Github commits</description>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
name="github.author.email"
label="Github author email">
<description>The email address associated with Github commits</description>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
type="PASSWORD"
name="github.user.password"
label="Github password for issues">
<annotation
source="http://www.eclipse.org/oomph/setup/PasswordVerificationDisabled">
<detail
key="type">
<value>form</value>
</detail>
<detail
key="form.url">
<value>https://github.com/session</value>
</detail>
<detail
key="form.cookie">
<value>PHPSESSID</value>
</detail>
<detail
key="form.parameters">
<value>login password authenticity_token utf8 commit</value>
</detail>
<detail
key="form.secure.parameters">
<value>password</value>
</detail>
<detail
key="form.filter">
<value>login=anonymous\&amp;.*</value>
</detail>
<detail
key="form.parameter.login">
<value>$${github.user.id}</value>
</detail>
<detail
key="form.parameter.password">
<value>$${value}</value>
</detail>
<detail
key="form.parameter.utf8">
<value>✓</value>
</detail>
<detail
key="form.parameter.commit">
<value>Sign in</value>
</detail>
<detail
key="form.ok">
<value>Valid password for $${form.parameter.login} at $${form.url}.</value>
</detail>
<detail
key="form.info">
<value>Validate the password for $${form.parameter.login} at $${form.url}.</value>
</detail>
<detail
key="form.warning">
<value>Unable to validate the password for $${form.parameter.login} because $${form.url} is unreachable.</value>
</detail>
<detail
key="form.error">
<value>Invalid password for $${form.parameter.login} at $${form.url}.</value>
</detail>
</annotation>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
name="github.remoteURIs"
label="Github repository">
<choice
value="git@github.com:@{remoteURI}.git"
label="Git (read-write)"/>
<choice
value="https://${github.user.id|username}@github.com/@{remoteURI}.git"
label="HTTPS (read-write)">
<annotation
source="http://www.eclipse.org/oomph/setup/MatchChoice"/>
</choice>
<choice
value="https://github.com/@{remoteURI}.git"
label="HTTPS (read-only, anonymous)"/>
<description>Choose from the available Github URIs</description>
</setupTask>
</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.p2:P2Task">
<requirement
name="org.eclipse.cdt.debug.standalone.feature.group"/>
<requirement
name="org.eclipse.cdt.debug.ui.memory.feature.group"/>
<requirement
name="org.eclipse.cdt.feature.group"/>
<requirement
name="org.eclipse.cdt.mylyn.feature.group"/>
<requirement
name="org.eclipse.cdt.managedbuilder.llvm.feature.group"/>
<requirement
name="org.eclipse.cdt.gnu.multicorevisualizer.feature.group"/>
<requirement
name="org.eclipse.cdt.testsrunner.feature.feature.group"/>
<requirement
name="org.eclipse.cdt.msw.feature.group"
filter="(osgi.os=win32)"/>
<requirement
name="org.eclipse.egit.feature.group"/>
<requirement
name="org.eclipse.linuxtools.cdt.libhover.devhelp.feature.feature.group"/>
<requirement
name="org.eclipse.linuxtools.cdt.libhover.feature.feature.group"/>
<requirement
name="org.eclipse.linuxtools.changelog.c.feature.group"/>
<requirement
name="org.eclipse.linuxtools.gcov.feature.group"/>
<requirement
name="org.eclipse.linuxtools.gprof.feature.feature.group"/>
<requirement
name="org.eclipse.linuxtools.valgrind.feature.group"/>
<requirement
name="org.eclipse.mylyn.context_feature.feature.group"/>
<requirement
name="org.eclipse.mylyn.ide_feature.feature.group"/>
<requirement
name="org.eclipse.mylyn.team_feature.feature.group"/>
<requirement
name="org.eclipse.mylyn.wikitext_feature.feature.group"/>
<requirement
name="org.eclipse.mylyn_feature.feature.group"/>
<requirement
name="org.eclipse.tracecompass.gdbtrace.feature.group"/>
<requirement
name="com.cthing.cmakeed.feature.feature.group"/>
<requirement
name="org.eclipse.wst.jsdt.feature.feature.group"/>
<requirement
name="org.eclipse.wst.xml_ui.feature.feature.group"/>
<requirement
name="org.eclipse.linuxtools.callgraph.feature.feature.group"
filter="(osgi.os=linux)"/>
<repository
url="http://download.eclipse.org/technology/epp/packages/oxygen"/>
<repository
url="http://download.eclipse.org/releases/oxygen"/>
<repository
url="http://gnu-mcu-eclipse.netlify.com/v4-neon-updates/"/>
<repository
url="http://www.janua.fr/update/"/>
<repository
url="https://raw.githubusercontent.com/15knots/cmake4eclipse/master/releng/comp-update/"/>
<repository
url="https://raw.githubusercontent.com/15knots/cmakeed/master/cmakeed-update/"/>
<description>Install the tools needed in the IDE to work with the source code for ${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone.dbt_rise_rv"
remoteURI="Minres/DBT-RISE-RISCV">
<annotation
source="http://www.eclipse.org/oomph/setup/InducedChoices">
<detail
key="inherit">
<value>github.remoteURIs</value>
</detail>
<detail
key="label">
<value>${scope.project.label} Git repository</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<description>${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsImportTask">
<sourceLocator
rootFolder="${git.clone.dbt_rise_rv.location}"/>
</setupTask>
<stream name="master"/>
<logicalProjectContainer
xsi:type="setup:ProjectCatalog"
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']"/>
<description>DBT-RISE-RISCV provides cool stuff.</description>
</setup:Project>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,312 @@
<?xml version="1.0" encoding="UTF-8"?>
<setup:ProjectCatalog
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: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"
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 index:/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/setup/projects/1.0 index:/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"
name="minres.projects"
label="MINRES Projects">
<annotation
source="http://www.eclipse.org/oomph/setup/BrandingInfo">
<detail
key="imageURI">
<value>https://avatars1.githubusercontent.com/u/22716562?s=200&amp;v=4</value>
</detail>
<detail
key="siteURI">
<value>https://github.com/</value>
</detail>
</annotation>
<setupTask
xsi:type="setup:CompoundTask"
name="Global Variables">
<setupTask
xsi:type="setup:VariableTask"
name="eclipse.target.platform"
defaultValue="Oxygen"
storageURI="scope://Workspace"
label="Target Platform">
<annotation
source="http://www.eclipse.org/oomph/setup/GlobalVariable"/>
<choice
value="Oxygen"
label="Eclipse Oxygen - 4.7"/>
<choice
value="Neon"
label="Eclipse Neon - 4.6"/>
<choice
value="Mars"
label="Eclipse Mars - 4.5"/>
<choice
value="Luna"
label="Eclipse Luna - 4.4"/>
<choice
value="Kepler"
label="Eclipse Kepler - 4.3"/>
<choice
value="Juno"
label="Eclipse Juno - 4.2"/>
<choice
value="Indigo"
label="Eclipse Indigo - 3.7"/>
<choice
value="Helios"
label="Eclipse Helios - 3.6"/>
<choice
value="Galileo"
label="Eclipse Galileo - 3.5"/>
<choice
value="None"
label="None"/>
<description>Choose the compatibility level of the target platform</description>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
name="eclipse.api.baseline.target.platform"
value="None"
storageURI="scope://Workspace"
label="API Baseline Target Platform">
<annotation
source="http://www.eclipse.org/oomph/setup/GlobalVariable"/>
<choice
value="Oxygen"
label="Eclipse Oxygen - 4.7"/>
<choice
value="Neon"
label="Eclipse Neon - 4.6"/>
<choice
value="Mars"
label="Eclipse Mars - 4.5"/>
<choice
value="Luna"
label="Eclipse Luna - 4.4"/>
<choice
value="Kepler"
label="Eclipse Kepler - 4.3"/>
<choice
value="Juno"
label="Eclipse Juno - 4.2"/>
<choice
value="Indigo"
label="Eclipse Indigo - 3.7"/>
<choice
value="Helios"
label="Eclipse Helios - 3.6"/>
<choice
value="Galileo"
label="Eclipse Galileo - 3.5"/>
<choice
value="None"
label="None"/>
<description>Choose the compatibility level of the target platform for the modular API baseline</description>
</setupTask>
</setupTask>
<setupTask
xsi:type="setup:WorkspaceTask"
id="workspace"
location="${user.dir}/workspaces">
<description></description>
</setupTask>
<setupTask
xsi:type="setup:ResourceCreationTask"
content="MAX_RECENT_WORKSPACES=5&#xD;&#xA;RECENT_WORKSPACES=${workspace.location|property}&#xD;&#xA;RECENT_WORKSPACES_PROTOCOL=3&#xD;&#xA;SHOW_WORKSPACE_SELECTION_DIALOG=true&#xD;&#xA;eclipse.preferences.version=1"
targetURL="configuration:/.settings/org.eclipse.ui.ide.prefs"/>
<setupTask
xsi:type="setup:TextModifyTask"
url="configuration:/config.ini">
<modification
pattern="osgi\.instance\.area\.default=(@user\.home/workspace)">
<substitution>${workspace.location|path}</substitution>
</modification>
</setupTask>
<setupTask
xsi:type="setup.targlets:TargletTask">
<targlet
name="Eclipse Platform"
activeRepositoryList="${eclipse.target.platform}">
<repositoryList
name="None"/>
<repositoryList
name="Oxygen">
<repository
url="http://download.eclipse.org/eclipse/updates/4.7-I-builds"/>
</repositoryList>
<repositoryList
name="Neon">
<repository
url="http://download.eclipse.org/eclipse/updates/4.6"/>
</repositoryList>
<repositoryList
name="Mars">
<repository
url="http://download.eclipse.org/eclipse/updates/4.5"/>
</repositoryList>
<repositoryList
name="Luna">
<repository
url="http://download.eclipse.org/eclipse/updates/4.4"/>
</repositoryList>
<repositoryList
name="Kepler">
<repository
url="http://download.eclipse.org/eclipse/updates/4.3"/>
</repositoryList>
<repositoryList
name="Juno">
<repository
url="http://download.eclipse.org/eclipse/updates/4.2"/>
</repositoryList>
<repositoryList
name="Indigo">
<repository
url="http://download.eclipse.org/eclipse/updates/3.7"/>
</repositoryList>
<repositoryList
name="Helios">
<repository
url="http://download.eclipse.org/eclipse/updates/3.6"/>
</repositoryList>
<repositoryList
name="Galileo">
<repository
url="http://download.eclipse.org/eclipse/updates/3.5"/>
</repositoryList>
</targlet>
</setupTask>
<setupTask
xsi:type="pde:APIBaselineFromTargetTask"
name="Modular API Baseline"
targetName="Modular API Baseline Target">
<description>An API baseline based on the target platform named 'Modular API Baseline Target'</description>
</setupTask>
<project href="user:/MINRES-Projects.setup?name='user.project',label='&lt;User>',description='A container project for local user projects that are virtual members of the MINRES Projects project catalog'#/"/>
<project name="dbt_rise_rv"
label="DBT-RISE RISCV"
logicalProjectContainer="/">
<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.p2:P2Task"
label="${scope.product.label} (${scope.product.version.label})">
<requirement
name="org.eclipse.cdt.debug.standalone.feature.group"/>
<requirement
name="org.eclipse.cdt.debug.ui.memory.feature.group"/>
<requirement
name="org.eclipse.cdt.feature.group"/>
<requirement
name="org.eclipse.cdt.mylyn.feature.group"/>
<requirement
name="org.eclipse.cdt.managedbuilder.llvm.feature.group"/>
<requirement
name="org.eclipse.cdt.gnu.multicorevisualizer.feature.group"/>
<requirement
name="org.eclipse.cdt.testsrunner.feature.feature.group"/>
<requirement
name="org.eclipse.cdt.msw.feature.group"
filter="(osgi.os=win32)"/>
<requirement
name="org.eclipse.egit.feature.group"/>
<requirement
name="org.eclipse.linuxtools.cdt.libhover.devhelp.feature.feature.group"/>
<requirement
name="org.eclipse.linuxtools.cdt.libhover.feature.feature.group"/>
<requirement
name="org.eclipse.linuxtools.changelog.c.feature.group"/>
<requirement
name="org.eclipse.linuxtools.gcov.feature.group"/>
<requirement
name="org.eclipse.linuxtools.gprof.feature.feature.group"/>
<requirement
name="org.eclipse.linuxtools.valgrind.feature.group"/>
<requirement
name="org.eclipse.mylyn.context_feature.feature.group"/>
<requirement
name="org.eclipse.mylyn.ide_feature.feature.group"/>
<requirement
name="org.eclipse.mylyn.team_feature.feature.group"/>
<requirement
name="org.eclipse.mylyn.wikitext_feature.feature.group"/>
<requirement
name="org.eclipse.mylyn_feature.feature.group"/>
<requirement
name="org.eclipse.tracecompass.gdbtrace.feature.group"/>
<requirement
name="com.cthing.cmakeed.feature.feature.group"/>
<requirement
name="org.eclipse.wst.jsdt.feature.feature.group"/>
<requirement
name="org.eclipse.wst.xml_ui.feature.feature.group"/>
<requirement
name="org.eclipse.linuxtools.callgraph.feature.feature.group"
filter="(osgi.os=linux)"/>
<repository
url="http://download.eclipse.org/technology/epp/packages/oxygen"/>
<repository
url="http://download.eclipse.org/releases/oxygen"/>
<repository
url="http://gnu-mcu-eclipse.netlify.com/v4-neon-updates/"/>
<repository
url="http://www.janua.fr/update/"/>
<repository
url="https://raw.githubusercontent.com/15knots/cmake4eclipse/master/releng/comp-update/"/>
<repository
url="https://raw.githubusercontent.com/15knots/cmakeed/master/cmakeed-update/"/>
</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"
excludedTriggers="STARTUP"
option="-perspective"
value="org.eclipse.jdt.ui.CDTPerspective">
<description>Set the initial perspective to be C++ instead of Resources</description>
</setupTask>
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone"
filter=""
location="github-DBT-RISE"
remoteURI="https://github.com/Minres/DBT-RISE-RISCV.git">
<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>
<setupTask
xsi:type="projects:ProjectsImportTask">
<sourceLocator
rootFolder="${git.clone.location}"/>
</setupTask>
<description></description>
</project>
<description>MINRES Projects provides cool projects.</description>
</setup:ProjectCatalog>

File diff suppressed because one or more lines are too long