110 lines
6.4 KiB
XML
110 lines
6.4 KiB
XML
<?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="RDL.Editor"
|
|
label="RDL Editor">
|
|
<setupTask
|
|
xsi:type="setup:CompoundTask"
|
|
name="Global Variables">
|
|
<setupTask
|
|
xsi:type="setup:VariableTask"
|
|
name="git.user.id"
|
|
defaultValue="anonymous"
|
|
label="User ID">
|
|
<description>The user ID of the MINRES account</description>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup:VariableTask"
|
|
name="git.stream"
|
|
defaultValue="master"
|
|
label="Stream to checkout">
|
|
<choice
|
|
value="master"/>
|
|
<choice
|
|
value="develop"/>
|
|
<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="1G"
|
|
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.14.0,2.99.0]"/>
|
|
<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.RDL_Editor"
|
|
filter=""
|
|
remoteURI="https://${git.user.id}@git.minres.com/VP-Tools/RDL-Editor.git">
|
|
<description>${scope.project.label}</description>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="projects:ProjectsImportTask">
|
|
<sourceLocator
|
|
rootFolder="${git.clone.RDL_Editor.location}"
|
|
locateNestedProjects="true"/>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="setup.workingsets:WorkingSetTask">
|
|
<workingSet
|
|
name="${scope.project.name}">
|
|
<predicate
|
|
xsi:type="predicates:AndPredicate">
|
|
<operand
|
|
xsi:type="predicates:RepositoryPredicate"
|
|
project="com.minres.rdl"/>
|
|
</predicate>
|
|
</workingSet>
|
|
<description>The dynamic working sets for ${scope.project.label}</description>
|
|
</setupTask>
|
|
<setupTask
|
|
xsi:type="pde:TargetPlatformTask"
|
|
name="com.minres.rdl.target">
|
|
<description>Sets the RDL Editor target platform</description>
|
|
</setupTask>
|
|
<stream name="${git-stream}"
|
|
label="Stream to checkout"/>
|
|
<description>A Xtext based SystemRDL editor with syntax highlighting and context sensitive help.</description>
|
|
</setup:Project>
|