Added setup for Mendel project
This commit is contained in:
parent
eaf55e77b4
commit
14503a68d4
@ -7,19 +7,18 @@ The repo contains OOMPH setup files for MINRES projects and tools to ease jump s
|
||||
Download the Eclipse Installer from [here](https://www.eclipse.org/downloads/eclipse-packages/?show_instructions=TRUE) and install it
|
||||
according to the instructions given there.
|
||||
|
||||
## Use the MINRES setups permanently with the eclipse installler
|
||||
## Use the MINRES setups permanently with the eclipse installer
|
||||
|
||||
Open the eclipse_inst.ini file being part of the Eclipse Intaller. Add the following line at the end:
|
||||
Open the eclipse_inst.ini file being part of the Eclipse Installer (on MacOS it is located at 'Eclipse Installer.app/Contents/Eclipse'). Add the following line at the end:
|
||||
|
||||
```
|
||||
```
|
||||
-Doomph.redirection.setups=index:/->https://raw.githubusercontent.com/Minres/oomph-setups/master/
|
||||
```
|
||||
|
||||
## Use the MINRES setups temporarily with the eclipse installler
|
||||
## Use the MINRES setups temporarily with the eclipse installer
|
||||
|
||||
Run the eclipse installer with additional command line arguments:
|
||||
|
||||
```
|
||||
eclipse-inst -vmargs '-Doomph.redirection.setups=index:/->https://raw.githubusercontent.com/Minres/oomph-setups/master/'
|
||||
```
|
||||
|
||||
|
@ -46,5 +46,6 @@
|
||||
<project href="projects/SCViewer.setup?name='SCViewer'#/"/>
|
||||
<project href="projects/SystemC-Quickstart.setup?name='systemc.quickstart'#/"/>
|
||||
<project href="projects/JIT-ISS-CoreDsl.setup?name='JIT.ISS.CoreDsl'#/"/>
|
||||
<project href="projects/Mendel.setup?name='mendel'#/"/>
|
||||
<description>MINRES provided cool projects.</description>
|
||||
</setup:ProjectCatalog>
|
||||
|
@ -26,89 +26,13 @@
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:VariableTask"
|
||||
name="minres.git.author.name"
|
||||
label="Github author name">
|
||||
<description>The author name used for Github commits</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:VariableTask"
|
||||
name="minres.git.author.email"
|
||||
label="Github author email">
|
||||
<description>The email address associated with Github commits</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:VariableTask"
|
||||
type="PASSWORD"
|
||||
name="minres.git.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\&.*</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="minres.git.remoteURIs"
|
||||
label="MINRES Git repository">
|
||||
name="minres-git-stream"
|
||||
label="Stream to checkout">
|
||||
<choice
|
||||
value="https://minres.com/git/@{remoteURI}.git"
|
||||
label="HTTPS"/>
|
||||
<description>Choose from the available Git URIs</description>
|
||||
value="develop"/>
|
||||
<choice
|
||||
value="master"/>
|
||||
<description>Stream to checkout</description>
|
||||
</setupTask>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
@ -151,22 +75,7 @@
|
||||
xsi:type="git:GitCloneTask"
|
||||
id="git.clone.JIT.ISS.CoreDsl"
|
||||
filter=""
|
||||
remoteURI="SystemC/JIT-ISS-CoreDsl">
|
||||
<annotation
|
||||
source="http://www.eclipse.org/oomph/setup/InducedChoices">
|
||||
<detail
|
||||
key="inherit">
|
||||
<value>minres.git.remoteURIs</value>
|
||||
</detail>
|
||||
<detail
|
||||
key="label">
|
||||
<value>${scope.project.label} Git repository</value>
|
||||
</detail>
|
||||
<detail
|
||||
key="target">
|
||||
<value>remoteURI</value>
|
||||
</detail>
|
||||
</annotation>
|
||||
remoteURI="https://${minres.git.user.id}@minres.com/git/SystemC/JIT-ISS-CoreDsl.git">
|
||||
<description>${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
@ -193,8 +102,8 @@
|
||||
name="com.minres.coredsl.target">
|
||||
<description>Sets the CoreDSL target platform</description>
|
||||
</setupTask>
|
||||
<stream name="master"
|
||||
label="Master">
|
||||
<stream name="${minres-git-stream}"
|
||||
label="Stream to checkout">
|
||||
<setupTask
|
||||
xsi:type="setup:EclipseIniTask"
|
||||
option="-Doomph.redirection.JIT.ISS.CoreDsl"
|
||||
|
210
projects/Mendel.setup
Normal file
210
projects/Mendel.setup
Normal file
@ -0,0 +1,210 @@
|
||||
<?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: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.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/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/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore"
|
||||
name="mendel"
|
||||
label="Mendel (non-public)">
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="Global Variables">
|
||||
<setupTask
|
||||
xsi:type="setup:VariableTask"
|
||||
name="minres.git.user.id"
|
||||
defaultValue=""
|
||||
label="User ID">
|
||||
<description>The user ID of the MINRES account</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:VariableTask"
|
||||
name="minres-git-stream"
|
||||
label="Stream to checkout">
|
||||
<choice
|
||||
value="develop"/>
|
||||
<choice
|
||||
value="master"/>
|
||||
<description>Stream to checkout</description>
|
||||
</setupTask>
|
||||
</setupTask>
|
||||
<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:VariableTask"
|
||||
name="eclipse.target.platform"
|
||||
value="None"
|
||||
defaultValue="Neon"
|
||||
storageURI="scope://Workspace"/>
|
||||
<setupTask
|
||||
xsi:type="setup.p2:P2Task">
|
||||
<requirement
|
||||
name="org.eclipse.xtext.sdk.feature.group"
|
||||
versionRange="[2.13.0,2.99.0]"/>
|
||||
<requirement
|
||||
name="org.eclipse.gmf.runtime.notation.sdk.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.gmf.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.gmf.runtime.sdk.feature.group"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/"/>
|
||||
<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.mendel"
|
||||
filter=""
|
||||
remoteURI="https://${minres.git.user.id}@minres.com/git/Mendel/mendel.git">
|
||||
<description>${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="projects:ProjectsImportTask">
|
||||
<sourceLocator
|
||||
rootFolder="${git.clone.mendel.location}"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="pde:TargetPlatformTask"
|
||||
name="Luna Platform">
|
||||
<description>Sets the Mendel target platform</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.workingsets:WorkingSetTask">
|
||||
<workingSet
|
||||
name="${scope.project.name} Features">
|
||||
<predicate
|
||||
xsi:type="predicates:AndPredicate">
|
||||
<operand
|
||||
xsi:type="predicates:LocationPredicate"
|
||||
pattern="${git.clone.mendel.location}/features/.*"/>
|
||||
</predicate>
|
||||
</workingSet>
|
||||
<description>The dynamic working sets for ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.workingsets:WorkingSetTask">
|
||||
<workingSet
|
||||
name="${scope.project.name} SBML Editor"
|
||||
id="">
|
||||
<predicate
|
||||
xsi:type="predicates:AndPredicate">
|
||||
<operand
|
||||
xsi:type="predicates:OrPredicate">
|
||||
<operand
|
||||
xsi:type="predicates:NamePredicate"
|
||||
pattern="com.minres.sbml_editor.product"/>
|
||||
<operand
|
||||
xsi:type="predicates:NamePredicate"
|
||||
pattern="com\.minres\.mendel\.models\.sbml"/>
|
||||
</operand>
|
||||
<operand
|
||||
xsi:type="predicates:LocationPredicate"
|
||||
pattern="${git.clone.mendel.location}/.*"/>
|
||||
</predicate>
|
||||
</workingSet>
|
||||
<description>The dynamic working sets for ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.workingsets:WorkingSetTask">
|
||||
<workingSet
|
||||
name="${scope.project.name} Tests">
|
||||
<predicate
|
||||
xsi:type="predicates:AndPredicate">
|
||||
<operand
|
||||
xsi:type="predicates:LocationPredicate"
|
||||
pattern="${git.clone.mendel.location}/tests/.*"/>
|
||||
</predicate>
|
||||
</workingSet>
|
||||
<description>The dynamic working sets for ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.workingsets:WorkingSetTask">
|
||||
<workingSet
|
||||
name="${scope.project.name} Releng">
|
||||
<predicate
|
||||
xsi:type="predicates:AndPredicate">
|
||||
<operand
|
||||
xsi:type="predicates:LocationPredicate"
|
||||
pattern="${git.clone.mendel.location}/releng/.*"/>
|
||||
</predicate>
|
||||
</workingSet>
|
||||
<description>The dynamic working sets for ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.workingsets:WorkingSetTask">
|
||||
<workingSet
|
||||
name="${scope.project.name} 3rd Party">
|
||||
<predicate
|
||||
xsi:type="predicates:AndPredicate">
|
||||
<operand
|
||||
xsi:type="predicates:LocationPredicate"
|
||||
pattern="${git.clone.mendel.location}/3rdparty/.*"/>
|
||||
</predicate>
|
||||
</workingSet>
|
||||
<description>The dynamic working sets for ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.workingsets:WorkingSetTask">
|
||||
<workingSet
|
||||
name="${scope.project.name} Plugins">
|
||||
<predicate
|
||||
xsi:type="predicates:AndPredicate">
|
||||
<operand
|
||||
xsi:type="predicates:LocationPredicate"
|
||||
pattern="${git.clone.mendel.location}/bundles/.*"/>
|
||||
</predicate>
|
||||
</workingSet>
|
||||
<description>The dynamic working sets for ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.workingsets:WorkingSetTask">
|
||||
<workingSet
|
||||
name="${scope.project.name} C++">
|
||||
<predicate
|
||||
xsi:type="predicates:AndPredicate">
|
||||
<operand
|
||||
xsi:type="predicates:LocationPredicate"
|
||||
pattern="${git.clone.mendel.location}/C\+\+/.*"/>
|
||||
</predicate>
|
||||
</workingSet>
|
||||
<description>The dynamic working sets for ${scope.project.label}</description>
|
||||
</setupTask>
|
||||
<stream name="${minres-git-stream}"
|
||||
label="Stream">
|
||||
<setupTask
|
||||
xsi:type="setup:EclipseIniTask"
|
||||
option="-Doomph.redirection.mendel"
|
||||
value="=https://git.eclipse.org/c/Minres/oomph-setups.git.git/plain//Mendel.setup->${git.clone.mendel.location|uri}//mendel.setup"
|
||||
vm="true">
|
||||
<description>Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone.</description>
|
||||
</setupTask>
|
||||
<description></description>
|
||||
</stream>
|
||||
<description>A Xtext based CoreDSL editor with syntax highlighting and context sensitive help.</description>
|
||||
</setup:Project>
|
Loading…
Reference in New Issue
Block a user