blob: b2365fb9fc357b5f206d057010ae1733a84f245e [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001<?xml version="1.0" encoding="UTF-8"?>
Stephan Herrmanna55c3412010-04-24 14:26:14 +00002<?eclipse version="3.0"?>
3<!--
Stephan Herrmannef45bc12020-02-02 13:55:11 +01004 Copyright (c) 2004, 2020 IBM Corporation and others.
Stephan Herrmannaa0c80c2018-09-08 22:11:53 +02005
6 This program and the accompanying materials
7 are made available under the terms of the Eclipse Public License 2.0
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00008 which accompanies this distribution, and is available at
Stephan Herrmannaa0c80c2018-09-08 22:11:53 +02009 https://www.eclipse.org/legal/epl-2.0/
10
11 SPDX-License-Identifier: EPL-2.0
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000012
13 Contributors:
14 IBM Corporation - initial API and implementation
Stephan Herrmann32fd38b2014-12-13 15:26:29 +010015 Harry Terkelsen (het@google.com) - Bug 449262 - Allow the use of third-party Java formatters
Stephan Herrmannef45bc12020-02-02 13:55:11 +010016 Jonah Graham - Bug 543363 - Move Java Code Formatter to its own bundle
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000017 -->
18
19<!-- =================================================================================== -->
20<!-- JDT/CORE Plug-in Manifest -->
21<!-- =================================================================================== -->
22<plugin>
23
24<!-- =================================================================================== -->
25<!-- Prerequisite Plug-ins -->
26<!-- =================================================================================== -->
27
28
29<!-- =================================================================================== -->
30<!-- Runtime Libraries -->
31<!-- =================================================================================== -->
32
33
34<!-- =================================================================================== -->
35<!-- Extension Point: Initializers of Classpath Variables -->
36<!-- =================================================================================== -->
37
38<extension-point name="%classpathVariableInitializersName"
39 id="classpathVariableInitializer"
40 schema="schema/classpathVariableInitializer.exsd"/>
41
42<!-- =================================================================================== -->
43<!-- Extension Point: Initializers of Classpath Containers -->
44<!-- =================================================================================== -->
45
46<extension-point name="%classpathContainerInitializersName"
47 id="classpathContainerInitializer"
48 schema="schema/classpathContainerInitializer.exsd"/>
49
50<!-- =================================================================================== -->
51<!-- Extension Point: Formatter of Source Code -->
52<!-- =================================================================================== -->
53
54<extension-point name="%codeFormattersName"
55 id="codeFormatter"
56 schema="schema/codeFormatter.exsd"/>
57
58<!-- =================================================================================== -->
59<!-- Extension Point: Compilation Participant -->
60<!-- =================================================================================== -->
61
62<extension-point name="%compilationParticipantsName"
63 id="compilationParticipant"
64 schema="schema/compilationParticipant.exsd"/>
65
66<!-- =================================================================================== -->
67<!-- Extension Point: Java 6 Annotation Processor Manager -->
68<!-- =================================================================================== -->
69
70<extension-point name="%annotationProcessorManagerName"
71 id="annotationProcessorManager"
72 schema="schema/annotationProcessorManager.exsd"/>
73
74<!-- =================================================================================== -->
Stephan Herrmann32fd38b2014-12-13 15:26:29 +010075<!-- Extension Point: Java Source Formatter -->
76<!-- =================================================================================== -->
77
78<extension-point name="%javaFormatterName"
79 id="javaFormatter"
80 schema="schema/javaFormatter.exsd"/>
81
82<!-- =================================================================================== -->
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000083<!-- Extension: Java Nature -->
84<!-- =================================================================================== -->
85
86<extension
87 point="org.eclipse.core.resources.natures"
88 id="javanature"
89 name="%javaNatureName">
90 <runtime>
91 <run class="org.eclipse.jdt.internal.core.JavaProject">
92 </run>
93 </runtime>
94</extension>
95
96
97<!-- =================================================================================== -->
98<!-- Extension: Java Builder -->
99<!-- =================================================================================== -->
100
101<extension
102 point="org.eclipse.core.resources.builders"
103 id="javabuilder"
104 name="%javaBuilderName">
105 <builder>
106 <run class="org.eclipse.jdt.internal.core.builder.JavaBuilder">
107 </run>
Stephan Herrmannc396e8c2017-01-02 21:56:21 +0100108 <dynamicReference class="org.eclipse.jdt.internal.core.DynamicProjectReferences"/>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000109 </builder>
110</extension>
111
112<!-- =================================================================================== -->
113<!-- Extension: Java Problem -->
114<!-- =================================================================================== -->
115<extension id="problem" point="org.eclipse.core.resources.markers" name="%javaProblemName">
116 <super type="org.eclipse.core.resources.problemmarker"/>
117 <super type="org.eclipse.core.resources.textmarker"/>
118 <persistent value="true"/>
119 <attribute name="id"/>
120 <attribute name="flags"/>
121 <attribute name="arguments"/>
122 <attribute name="categoryId"/>
123</extension>
124
125<!-- =================================================================================== -->
126<!-- Extension: Java Buildpath Problem -->
127<!-- =================================================================================== -->
128<extension id="buildpath_problem" point="org.eclipse.core.resources.markers" name="%buildPathProblemName">
129 <super type="org.eclipse.core.resources.problemmarker"/>
130 <super type="org.eclipse.core.resources.textmarker"/>
131 <persistent value="true"/>
132 <attribute name ="cycleDetected"/>
133 <attribute name="id"/>
134 <attribute name="arguments"/>
135</extension>
136
137<!-- =================================================================================== -->
138<!-- Extension: Java Transient Problem -->
139<!-- =================================================================================== -->
140<extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientJavaProblemName">
141 <super type="org.eclipse.core.resources.textmarker"/>
142 <persistent value="false"/>
143 <attribute name="id"/>
144 <attribute name="flags"/>
145 <attribute name="arguments"/>
146</extension>
147
148<!-- =================================================================================== -->
149<!-- Extension: Java Task -->
150<!-- =================================================================================== -->
151<extension id="task" name="%javaTaskName" point="org.eclipse.core.resources.markers">
152 <super type="org.eclipse.core.resources.taskmarker"/>
153 <persistent value="true"/>
154</extension>
155
156<!-- =================================================================================== -->
157<!-- Extension: Javac Ant Adapter -->
158<!-- =================================================================================== -->
159<extension
160 point="org.eclipse.ant.core.extraClasspathEntries">
161 <extraClasspathEntry
162 library="jdtCompilerAdapter.jar">
163 </extraClasspathEntry>
164</extension>
165
166<!-- =================================================================================== -->
167<!-- Extension: Javac Ant Task -->
168<!-- =================================================================================== -->
169<extension point="org.eclipse.ant.core.antTasks">
170 <antTask
171 name="eclipse.checkDebugAttributes"
172 class="org.eclipse.jdt.core.CheckDebugAttributes"
173 library="jdtCompilerAdapter.jar">
174 </antTask>
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100175 <antTask
176 name="eclipse.buildJarIndex"
177 class="org.eclipse.jdt.core.BuildJarIndex"
178 library="jdtCompilerAdapter.jar">
179 </antTask>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000180</extension>
181
182<!-- =================================================================================== -->
183<!-- Extension: User Library Container -->
184<!-- =================================================================================== -->
185<extension
186 point="org.eclipse.jdt.core.classpathContainerInitializer">
187 <classpathContainerInitializer
188 class="org.eclipse.jdt.internal.core.UserLibraryClasspathContainerInitializer"
189 id="org.eclipse.jdt.USER_LIBRARY">
190 </classpathContainerInitializer>
191 </extension>
192
193<!-- =================================================================================== -->
Stephan Herrmannfc918f42017-10-14 19:16:55 +0200194<!-- Extension: Module Path Container -->
195<!-- =================================================================================== -->
196<extension
197 point="org.eclipse.jdt.core.classpathContainerInitializer">
198 <classpathContainerInitializer
199 class="org.eclipse.jdt.internal.core.ModulePathContainerInitializer"
200 id="org.eclipse.jdt.MODULE_PATH">
201 </classpathContainerInitializer>
202 </extension>
203
204<!-- =================================================================================== -->
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000205<!-- Extension: Java File Types -->
206<!-- =================================================================================== -->
207<extension point="org.eclipse.team.core.fileTypes">
208 <fileTypes extension="java" type="text"/>
209 <fileTypes extension="classpath" type="text"/>
210 <fileTypes extension="properties" type="text"/>
211 <fileTypes extension="class" type="binary"/>
212 <fileTypes extension="jar" type="binary"/>
213 <fileTypes extension="jardesc" type="text"/>
214 <fileTypes extension="zip" type="binary"/>
215</extension>
216
217<!-- =================================================================================== -->
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100218<!-- Extension: Java Generate Indexer -->
219<!-- =================================================================================== -->
220<extension
221 id="JavaIndexer"
222 point="org.eclipse.core.runtime.applications">
223 <application>
224 <run class="org.eclipse.jdt.core.index.JavaIndexerApplication" />
225 </application>
226</extension>
227
228<!-- =================================================================================== -->
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000229<!-- Extension: Java Content Types -->
230<!-- =================================================================================== -->
231<extension point="org.eclipse.core.contenttype.contentTypes">
232 <!-- declares a content type for Java Properties files -->
233 <content-type id="javaProperties" name="%javaPropertiesName"
234 base-type="org.eclipse.core.runtime.text"
235 priority="high"
236 file-extensions="properties"
237 default-charset="ISO-8859-1"/>
238 <!-- Associates .classpath to the XML content type -->
239 <file-association
240 content-type="org.eclipse.core.runtime.xml"
241 file-names=".classpath"/>
242 <!-- declares a content type for Java Source files -->
243 <content-type id="javaSource" name="%javaSourceName"
244 base-type="org.eclipse.core.runtime.text"
245 priority="high"
246 file-extensions="java"/>
247 <!-- declares a content type for Java class files -->
248 <content-type id="javaClass" name="%javaClassName"
249 priority="high"
250 file-extensions="class">
251 <describer
252 class="org.eclipse.core.runtime.content.BinarySignatureDescriber">
253 <parameter name="signature" value="CA, FE, BA, BE"/>
254 </describer>
255 </content-type>
256 <!-- declares a content type for JAR manifest files -->
257 <content-type id="JARManifest" name="%jarManifestName"
258 base-type="org.eclipse.core.runtime.text"
259 priority="high"
260 file-names="MANIFEST.MF"
261 default-charset="UTF-8"/>
262</extension>
263
264<!-- =================================================================================== -->
265<!-- Extension: Eclipse preferences initializer -->
266<!-- =================================================================================== -->
267<extension
268 point="org.eclipse.core.runtime.preferences">
269 <initializer class="org.eclipse.jdt.internal.core.JavaCorePreferenceInitializer"/>
270</extension>
271<extension
272 point="org.eclipse.core.runtime.preferences">
273 <modifier class="org.eclipse.jdt.internal.core.JavaCorePreferenceModifyListener"/>
274</extension>
275
Stephan Herrmann32fd38b2014-12-13 15:26:29 +0100276<!-- =================================================================================== -->
277<!-- Extension: Eclipse tracing -->
278<!-- =================================================================================== -->
279<extension
280 point="org.eclipse.ui.trace.traceComponents">
281 <component
282 id="org.eclipse.jdt.core.trace"
283 label="%traceComponentLabel">
284 <bundle
285 consumed="false"
286 name="org.eclipse.jdt.core">
287 </bundle>
288 </component>
289</extension>
290
291<!-- =================================================================================== -->
292<!-- Extension: Java Code Formatter -->
293<!-- =================================================================================== -->
294<extension
295 point="org.eclipse.jdt.core.javaFormatter">
296 <javaFormatter
297 class="org.eclipse.jdt.internal.formatter.DefaultCodeFormatter"
298 id="org.eclipse.jdt.core.defaultJavaFormatter"
Stephan Herrmann075533e2015-04-28 17:54:14 +0200299 name="%defaultJavaFormatterName">
Stephan Herrmann32fd38b2014-12-13 15:26:29 +0100300 </javaFormatter>
301</extension>
302
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000303</plugin>