File tree Expand file tree Collapse file tree 5 files changed +37
-5
lines changed Expand file tree Collapse file tree 5 files changed +37
-5
lines changed Original file line number Diff line number Diff line change 55 <projects >
66 </projects >
77 <buildSpec >
8+ <buildCommand >
9+ <name >org.eclipse.xtext.ui.shared.xtextBuilder</name >
10+ <arguments >
11+ </arguments >
12+ </buildCommand >
813 <buildCommand >
914 <name >org.eclipse.m2e.core.maven2Builder</name >
1015 <arguments >
1318 </buildSpec >
1419 <natures >
1520 <nature >org.eclipse.m2e.core.maven2Nature</nature >
21+ <nature >org.eclipse.xtext.ui.shared.xtextNature</nature >
1622 </natures >
1723</projectDescription >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" no" ?>
22<?pde ?>
3- <!-- generated with https://github.com/mbarbero/fr.obeo.releng. targetplatform -->
4- <target name =" Eclipse Checkstyle" sequenceNumber =" 1523084336 " >
3+ <!-- generated with https://github.com/eclipse-cbi/ targetplatform-dsl -->
4+ <target name =" Eclipse Checkstyle" sequenceNumber =" 1580415883 " >
55 <locations >
66 <location includeMode =" slicer" includeAllPlatforms =" false" includeSource =" true" includeConfigurePhase =" true" type =" InstallableUnit" >
77 <unit id =" org.eclipse.jdt.feature.group" version =" 0.0.0" />
Original file line number Diff line number Diff line change 1- // install http://mbarbero.github.io/fr.obeo.releng.targetplatform/p2/ to use this target definition
1+ // Install http://download.eclipse.org/cbi/tpd/3.0.0-SNAPSHOT/ to use this target definition.
2+ // Read https://github.com/eclipse-cbi/targetplatform-dsl for more details.
23target "Eclipse Checkstyle"
34with source configurePhase
45
Original file line number Diff line number Diff line change 1+ ## What's this?
2+
3+ The .target file describes the minimum eclipse environment that eclipse-cs runs in.
4+
5+ ## How to use the target platform
6+
7+ In the Maven build it is used automatically for compilation
8+ (see target-platform-configuration section in the parent POM).
9+
10+ For development in Eclipse you have to load it manually, but only one time:
11+ Open the .target file and use the "Set As Active Target" hyperlink. This may take
12+ a while the first time, since plugins are loaded from the Internet.
13+
14+ If you don't do that, the compilation happens against the eclipse plugins of
15+ your IDE and you may call methods that don't exist in earlier versions, which
16+ will lead to runtime errors for end users.
17+
18+ ## How to update the target platform
19+
20+ Target files are hard to maintain manually. Therefore we use a custom DSL to
21+ maintain the target platform, and to derive the .target file.
22+
23+ Install https://github.com/eclipse-cbi/targetplatform-dsl to edit the .tpd
24+ file. After saving use the context menu of the .tpd file to create a new
25+ version of the .target file.
26+
27+ Both the .target and .tpd files must be checked in after changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments