blob: 315397d7cb0495444f67b19cee62d306f1365b41 [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 Herrmann32fd38b2014-12-13 15:26:29 +01004 Copyright (c) 2004, 2014 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 Herrmann7b7062f2010-04-01 19:56:59 +000016 -->
17
18<!-- =================================================================================== -->
19<!-- JDT/CORE Plug-in Manifest -->
20<!-- =================================================================================== -->
21<plugin>
22
23<!-- =================================================================================== -->
24<!-- Prerequisite Plug-ins -->
25<!-- =================================================================================== -->
26
27
28<!-- =================================================================================== -->
29<!-- Runtime Libraries -->
30<!-- =================================================================================== -->
31
32
33<!-- =================================================================================== -->
34<!-- Extension Point: Initializers of Classpath Variables -->
35<!-- =================================================================================== -->
36
37<extension-point name="%classpathVariableInitializersName"
38 id="classpathVariableInitializer"
39 schema="schema/classpathVariableInitializer.exsd"/>
40
41<!-- =================================================================================== -->
42<!-- Extension Point: Initializers of Classpath Containers -->
43<!-- =================================================================================== -->
44
45<extension-point name="%classpathContainerInitializersName"
46 id="classpathContainerInitializer"
47 schema="schema/classpathContainerInitializer.exsd"/>
48
49<!-- =================================================================================== -->
50<!-- Extension Point: Formatter of Source Code -->
51<!-- =================================================================================== -->
52
53<extension-point name="%codeFormattersName"
54 id="codeFormatter"
55 schema="schema/codeFormatter.exsd"/>
56
57<!-- =================================================================================== -->
58<!-- Extension Point: Compilation Participant -->
59<!-- =================================================================================== -->
60
61<extension-point name="%compilationParticipantsName"
62 id="compilationParticipant"
63 schema="schema/compilationParticipant.exsd"/>
64
65<!-- =================================================================================== -->
66<!-- Extension Point: Java 6 Annotation Processor Manager -->
67<!-- =================================================================================== -->
68
69<extension-point name="%annotationProcessorManagerName"
70 id="annotationProcessorManager"
71 schema="schema/annotationProcessorManager.exsd"/>
72
73<!-- =================================================================================== -->
Stephan Herrmann32fd38b2014-12-13 15:26:29 +010074<!-- Extension Point: Java Source Formatter -->
75<!-- =================================================================================== -->
76
77<extension-point name="%javaFormatterName"
78 id="javaFormatter"
79 schema="schema/javaFormatter.exsd"/>
80
81<!-- =================================================================================== -->
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000082<!-- Extension: Java Nature -->
83<!-- =================================================================================== -->
84
85<extension
86 point="org.eclipse.core.resources.natures"
87 id="javanature"
88 name="%javaNatureName">
89 <runtime>
90 <run class="org.eclipse.jdt.internal.core.JavaProject">
91 </run>
92 </runtime>
93</extension>
94
95
96<!-- =================================================================================== -->
97<!-- Extension: Java Builder -->
98<!-- =================================================================================== -->
99
100<extension
101 point="org.eclipse.core.resources.builders"
102 id="javabuilder"
103 name="%javaBuilderName">
104 <builder>
105 <run class="org.eclipse.jdt.internal.core.builder.JavaBuilder">
106 </run>
Stephan Herrmannc396e8c2017-01-02 21:56:21 +0100107 <dynamicReference class="org.eclipse.jdt.internal.core.DynamicProjectReferences"/>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000108 </builder>
109</extension>
110
111<!-- =================================================================================== -->
112<!-- Extension: Java Problem -->
113<!-- =================================================================================== -->
114<extension id="problem" point="org.eclipse.core.resources.markers" name="%javaProblemName">
115 <super type="org.eclipse.core.resources.problemmarker"/>
116 <super type="org.eclipse.core.resources.textmarker"/>
117 <persistent value="true"/>
118 <attribute name="id"/>
119 <attribute name="flags"/>
120 <attribute name="arguments"/>
121 <attribute name="categoryId"/>
122</extension>
123
124<!-- =================================================================================== -->
125<!-- Extension: Java Buildpath Problem -->
126<!-- =================================================================================== -->
127<extension id="buildpath_problem" point="org.eclipse.core.resources.markers" name="%buildPathProblemName">
128 <super type="org.eclipse.core.resources.problemmarker"/>
129 <super type="org.eclipse.core.resources.textmarker"/>
130 <persistent value="true"/>
131 <attribute name ="cycleDetected"/>
132 <attribute name="id"/>
133 <attribute name="arguments"/>
134</extension>
135
136<!-- =================================================================================== -->
137<!-- Extension: Java Transient Problem -->
138<!-- =================================================================================== -->
139<extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientJavaProblemName">
140 <super type="org.eclipse.core.resources.textmarker"/>
141 <persistent value="false"/>
142 <attribute name="id"/>
143 <attribute name="flags"/>
144 <attribute name="arguments"/>
145</extension>
146
147<!-- =================================================================================== -->
148<!-- Extension: Java Task -->
149<!-- =================================================================================== -->
150<extension id="task" name="%javaTaskName" point="org.eclipse.core.resources.markers">
151 <super type="org.eclipse.core.resources.taskmarker"/>
152 <persistent value="true"/>
153</extension>
154
155<!-- =================================================================================== -->
156<!-- Extension: Javac Ant Adapter -->
157<!-- =================================================================================== -->
158<extension
159 point="org.eclipse.ant.core.extraClasspathEntries">
160 <extraClasspathEntry
161 library="jdtCompilerAdapter.jar">
162 </extraClasspathEntry>
163</extension>
164
165<!-- =================================================================================== -->
166<!-- Extension: Javac Ant Task -->
167<!-- =================================================================================== -->
168<extension point="org.eclipse.ant.core.antTasks">
169 <antTask
170 name="eclipse.checkDebugAttributes"
171 class="org.eclipse.jdt.core.CheckDebugAttributes"
172 library="jdtCompilerAdapter.jar">
173 </antTask>
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100174 <antTask
175 name="eclipse.buildJarIndex"
176 class="org.eclipse.jdt.core.BuildJarIndex"
177 library="jdtCompilerAdapter.jar">
178 </antTask>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000179</extension>
180
181<!-- =================================================================================== -->
182<!-- Extension: User Library Container -->
183<!-- =================================================================================== -->
184<extension
185 point="org.eclipse.jdt.core.classpathContainerInitializer">
186 <classpathContainerInitializer
187 class="org.eclipse.jdt.internal.core.UserLibraryClasspathContainerInitializer"
188 id="org.eclipse.jdt.USER_LIBRARY">
189 </classpathContainerInitializer>
190 </extension>
191
192<!-- =================================================================================== -->
Stephan Herrmannfc918f42017-10-14 19:16:55 +0200193<!-- Extension: Module Path Container -->
194<!-- =================================================================================== -->
195<extension
196 point="org.eclipse.jdt.core.classpathContainerInitializer">
197 <classpathContainerInitializer
198 class="org.eclipse.jdt.internal.core.ModulePathContainerInitializer"
199 id="org.eclipse.jdt.MODULE_PATH">
200 </classpathContainerInitializer>
201 </extension>
202
203<!-- =================================================================================== -->
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000204<!-- Extension: Java File Types -->
205<!-- =================================================================================== -->
206<extension point="org.eclipse.team.core.fileTypes">
207 <fileTypes extension="java" type="text"/>
208 <fileTypes extension="classpath" type="text"/>
209 <fileTypes extension="properties" type="text"/>
210 <fileTypes extension="class" type="binary"/>
211 <fileTypes extension="jar" type="binary"/>
212 <fileTypes extension="jardesc" type="text"/>
213 <fileTypes extension="zip" type="binary"/>
214</extension>
215
216<!-- =================================================================================== -->
217<!-- Extension: Java Code Formatter -->
218<!-- =================================================================================== -->
219<extension
220 id="JavaCodeFormatter"
221 point="org.eclipse.core.runtime.applications">
222 <application>
223 <run class="org.eclipse.jdt.core.formatter.CodeFormatterApplication" />
224 </application>
225</extension>
226
227<!-- =================================================================================== -->
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100228<!-- Extension: Java Generate Indexer -->
229<!-- =================================================================================== -->
230<extension
231 id="JavaIndexer"
232 point="org.eclipse.core.runtime.applications">
233 <application>
234 <run class="org.eclipse.jdt.core.index.JavaIndexerApplication" />
235 </application>
236</extension>
237
238<!-- =================================================================================== -->
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000239<!-- Extension: Java Content Types -->
240<!-- =================================================================================== -->
241<extension point="org.eclipse.core.contenttype.contentTypes">
242 <!-- declares a content type for Java Properties files -->
243 <content-type id="javaProperties" name="%javaPropertiesName"
244 base-type="org.eclipse.core.runtime.text"
245 priority="high"
246 file-extensions="properties"
247 default-charset="ISO-8859-1"/>
248 <!-- Associates .classpath to the XML content type -->
249 <file-association
250 content-type="org.eclipse.core.runtime.xml"
251 file-names=".classpath"/>
252 <!-- declares a content type for Java Source files -->
253 <content-type id="javaSource" name="%javaSourceName"
254 base-type="org.eclipse.core.runtime.text"
255 priority="high"
256 file-extensions="java"/>
257 <!-- declares a content type for Java class files -->
258 <content-type id="javaClass" name="%javaClassName"
259 priority="high"
260 file-extensions="class">
261 <describer
262 class="org.eclipse.core.runtime.content.BinarySignatureDescriber">
263 <parameter name="signature" value="CA, FE, BA, BE"/>
264 </describer>
265 </content-type>
266 <!-- declares a content type for JAR manifest files -->
267 <content-type id="JARManifest" name="%jarManifestName"
268 base-type="org.eclipse.core.runtime.text"
269 priority="high"
270 file-names="MANIFEST.MF"
271 default-charset="UTF-8"/>
272</extension>
273
274<!-- =================================================================================== -->
275<!-- Extension: Eclipse preferences initializer -->
276<!-- =================================================================================== -->
277<extension
278 point="org.eclipse.core.runtime.preferences">
279 <initializer class="org.eclipse.jdt.internal.core.JavaCorePreferenceInitializer"/>
280</extension>
281<extension
282 point="org.eclipse.core.runtime.preferences">
283 <modifier class="org.eclipse.jdt.internal.core.JavaCorePreferenceModifyListener"/>
284</extension>
285
Stephan Herrmann32fd38b2014-12-13 15:26:29 +0100286<!-- =================================================================================== -->
287<!-- Extension: Eclipse tracing -->
288<!-- =================================================================================== -->
289<extension
290 point="org.eclipse.ui.trace.traceComponents">
291 <component
292 id="org.eclipse.jdt.core.trace"
293 label="%traceComponentLabel">
294 <bundle
295 consumed="false"
296 name="org.eclipse.jdt.core">
297 </bundle>
298 </component>
299</extension>
300
301<!-- =================================================================================== -->
302<!-- Extension: Java Code Formatter -->
303<!-- =================================================================================== -->
304<extension
305 point="org.eclipse.jdt.core.javaFormatter">
306 <javaFormatter
307 class="org.eclipse.jdt.internal.formatter.DefaultCodeFormatter"
308 id="org.eclipse.jdt.core.defaultJavaFormatter"
Stephan Herrmann075533e2015-04-28 17:54:14 +0200309 name="%defaultJavaFormatterName">
Stephan Herrmann32fd38b2014-12-13 15:26:29 +0100310 </javaFormatter>
311</extension>
312
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000313</plugin>