Add Eclipse Installer setup file
Add `spring-boot-project.setup` to `/eclipse` to setup and configure new Eclipse installations. Fixes gh-4110pull/4120/head
parent
c525689b0f
commit
75bf01840b
@ -0,0 +1,386 @@
|
||||
<?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:jdt="http://www.eclipse.org/oomph/setup/jdt/1.0"
|
||||
xmlns:maven="http://www.eclipse.org/oomph/setup/maven/1.0"
|
||||
xmlns:predicates="http://www.eclipse.org/oomph/predicates/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"
|
||||
xmlns:workingsets="http://www.eclipse.org/oomph/workingsets/1.0"
|
||||
xsi:schemaLocation="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/maven/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Maven.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/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore"
|
||||
name="spring.boot"
|
||||
label="Spring Boot">
|
||||
<setupTask
|
||||
xsi:type="setup:VariableTask"
|
||||
type="FOLDER"
|
||||
name="checkout.location"
|
||||
label="Checkout Location"/>
|
||||
<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="2048m"
|
||||
vm="true">
|
||||
<description></description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:EclipseIniTask"
|
||||
option="-Xms"
|
||||
value="512m"
|
||||
vm="true"/>
|
||||
<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="epp.package.java"
|
||||
versionRange="[4.5.0,4.6.0)"/>
|
||||
<requirement
|
||||
name="org.eclipse.platform.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.jdt.feature.group"/>
|
||||
<requirement
|
||||
name="AnyEditTools.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.m2e.maveneclipse.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.springframework.ide.eclipse.boot.dash.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.springframework.ide.eclipse.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.springframework.ide.eclipse.maven.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.jst.server_adapters.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.jst.server_adapters.ext.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.jst.server_ui.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.wst.server_adapters.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.jst.web_ui.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.wst.web_ui.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.sonatype.m2e.buildhelper.feature.feature.group"/>
|
||||
<requirement
|
||||
name="org.eclipse.mylyn.github.feature.feature.group"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/technology/epp/packages/mars/R"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/releases/mars"/>
|
||||
<repository
|
||||
url="http://andrei.gmxhome.de/eclipse"/>
|
||||
<repository
|
||||
url="https://dl.bintray.com/philwebb/m2eclipse-maveneclipse"/>
|
||||
<repository
|
||||
url="http://dist.springsource.com/release/TOOLS/update/e4.5"/>
|
||||
<repository
|
||||
url="http://download.eclipse.org/egit/github/updates/"/>
|
||||
<description>
|
||||
Install the tools needed in the IDE to work with the
|
||||
source code for ${scope.project.label}
|
||||
</description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="maven:MavenImportTask"
|
||||
id="">
|
||||
<sourceLocator
|
||||
rootFolder="${checkout.location}"/>
|
||||
<description></description>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="maven:MavenImportTask">
|
||||
<sourceLocator
|
||||
rootFolder="${checkout.location}/spring-boot-samples"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="maven:MavenImportTask">
|
||||
<sourceLocator
|
||||
rootFolder="${checkout.location}/spring-boot-deployment-tests"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup.workingsets:WorkingSetTask">
|
||||
<workingSet
|
||||
name="spring-boot">
|
||||
<predicate
|
||||
xsi:type="predicates:AndPredicate">
|
||||
<operand
|
||||
xsi:type="predicates:NamePredicate"
|
||||
pattern="spring-boot.*"/>
|
||||
<operand
|
||||
xsi:type="workingsets:ExclusionPredicate"
|
||||
excludedWorkingSet="//@setupTasks.9/@workingSets.3 //@setupTasks.9/@workingSets.2 //@setupTasks.9/@workingSets.4 //@setupTasks.9/@workingSets.1"/>
|
||||
</predicate>
|
||||
</workingSet>
|
||||
<workingSet
|
||||
name="spring-boot-tools">
|
||||
<predicate
|
||||
xsi:type="predicates:NamePredicate"
|
||||
pattern="spring-boot-(tools|antlib|configuration-.*|loader|.*-tools|.*-plugin)"/>
|
||||
</workingSet>
|
||||
<workingSet
|
||||
name="spring-boot-starters">
|
||||
<predicate
|
||||
xsi:type="predicates:NamePredicate"
|
||||
pattern="spring-boot-starter(s|-.*)"/>
|
||||
</workingSet>
|
||||
<workingSet
|
||||
name="spring-boot-samples">
|
||||
<predicate
|
||||
xsi:type="predicates:NamePredicate"
|
||||
pattern="spring-boot-sample(s|-.*)"/>
|
||||
</workingSet>
|
||||
<workingSet
|
||||
name="spring-boot-tests">
|
||||
<predicate
|
||||
xsi:type="predicates:NamePredicate"
|
||||
pattern="spring-boot-.*-test.*"/>
|
||||
</workingSet>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="de.loskutov.anyedit.AnyEditTools">
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/de.loskutov.anyedit.AnyEditTools/org.eclipse.jdt.ui.editor.tab.width"
|
||||
value="4"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/de.loskutov.anyedit.AnyEditTools/saveAndAddLine"
|
||||
value="true"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="org.eclipse.jdt.ui">
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/content_assist_autoactivation_delay"
|
||||
value="40"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/content_assist_disabled_computers"
|
||||
value="org.eclipse.jdt.ui.javaNoTypeProposalCategory$${0x0}org.eclipse.jdt.ui.javaTypeProposalCategory$${0x0}org.eclipse.jdt.ui.textProposalCategory$${0x0}org.eclipse.recommenders.calls.rcp.proposalCategory.templates$${0x0}"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.typefilter.enabled"
|
||||
value="java.awt.*;org.hibernate.collection.*;"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/escape¥Strings"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/content_assist_favorite_static_members"
|
||||
value="org.hamcrest.Matchers.*;org.junit.Assert.*;org.mockito.BDDMockito.*;org.mockito.Matchers.*;org.mockito.Mockito.*;org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;org.springframework.test.web.servlet.result.MockMvcResultMatchers.*"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/smart_backspace"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/smart_opening_brace"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/smart_semicolon"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/smart_tab"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/smartIndentAfterNewline"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.jdt.ui/smartPaste"
|
||||
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.problem.nonExternalizedStringLiteral"
|
||||
value="ignore"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="org.eclipse.core.resources">
|
||||
<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.enabled"
|
||||
value="false"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="org.eclipse.m2e.core">
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.m2e.core/eclipse.m2.hideFoldersOfNestedProjects"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.m2e.core/eclipse.m2.updateIndexes"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.m2e.core/eclipse.m2.defaultPomEditorPage"
|
||||
value="true"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="org.eclipse.ui.editors">
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.ui.editors/printMarginColumn"
|
||||
value="90"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.ui.editors/lineNumberRuler"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.ui.editors/printMargin"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.ui.editors/showWhitespaceCharacters"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.ui.editors/whitespaceCharacterAlphaValue"
|
||||
value="20"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="org.springframework.ide.eclipse.beans.core">
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.beans.core/org.springframework.ide.eclipse.beans.core.BeansCorePlugin.DISABLE_AUTO_DETECTION"
|
||||
value="true"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="org.eclipse.wst.xml.core">
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.wst.xml.core/indicateNoGrammar"
|
||||
value="-1"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="org.springframework.ide.eclipse.core">
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.builders.enable.beanmetadatabuilder"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.useChangeDetectionForJavaFiles"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.boot.bootvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator"
|
||||
value="false"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.springframework.ide.eclipse.core/org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.boot.missingConfigurationProcessor-org.springframework.ide.eclipse.boot.bootvalidator"
|
||||
value="false"/>
|
||||
</setupTask>
|
||||
<setupTask
|
||||
xsi:type="setup:CompoundTask"
|
||||
name="org.eclipse.ui.workbench">
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.ui.workbench/HeapStatus.showMax"
|
||||
value="true"/>
|
||||
<setupTask
|
||||
xsi:type="setup:PreferenceTask"
|
||||
key="/instance/org.eclipse.ui.workbench/RUN_IN_BACKGROUND"
|
||||
value="true"/>
|
||||
</setupTask>
|
||||
<stream name="default"
|
||||
label="Default"/>
|
||||
<logicalProjectContainer
|
||||
xsi:type="setup:ProjectCatalog"
|
||||
href="index:/org.eclipse.setup#//@projectCatalogs[name='com.github']"/>
|
||||
<description>
|
||||
Eclipse project setup for people wishing to contribute to
|
||||
Spring Boot.
|
||||
</description>
|
||||
</setup:Project>
|
Loading…
Reference in New Issue