Skip to main content
summaryrefslogtreecommitdiffstats
blob: 958b3ebc9ea02cd83a9591a733e21e9c3ce9abd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!-- =================================================================================== -->
<!-- JDT/CORE Plug-in Manifest                                                           -->
<!-- =================================================================================== -->
<plugin
    name = "%pluginName"
    id = "org.eclipse.jdt.core"
    version = "3.0.2"
    provider-name = "%providerName"
    class="org.eclipse.jdt.core.JavaCore">

<!-- =================================================================================== -->
<!-- Prerequisite Plug-ins                                                               -->
<!-- =================================================================================== -->

<requires>
    <import plugin="org.eclipse.core.resources"/>
    <import plugin="org.eclipse.core.runtime"/>    
    <import plugin="org.eclipse.text"/>
    <import plugin="org.apache.ant" optional="true"/>
    <import plugin="org.eclipse.team.core" optional="true"/>
</requires>
	
<!-- =================================================================================== -->
<!-- Runtime Libraries                                                                   -->
<!-- =================================================================================== -->

<runtime>
  <library name="jdtcore.jar">  
     <export name="*"/>
  </library> 
</runtime>

<!-- =================================================================================== -->
<!-- Extension Point: Initializers of Classpath Variables                                -->
<!-- =================================================================================== -->

<extension-point name="%classpathVariableInitializersName" 
	id="classpathVariableInitializer"
	schema="schema/classpathVariableInitializer.exsd"/>
  
<!-- =================================================================================== -->
<!-- Extension Point: Initializers of Classpath Containers                               -->
<!-- =================================================================================== -->

<extension-point name="%classpathContainerInitializersName" 
	id="classpathContainerInitializer" 
	schema="schema/classpathContainerInitializer.exsd"/>

<!-- =================================================================================== -->
<!-- Extension Point: Formatter of Source Code                                           -->
<!-- =================================================================================== -->

<extension-point name="%codeFormattersName" 
	id="codeFormatter"
	schema="schema/codeFormatter.exsd"/>


<!-- =================================================================================== -->
<!-- Extension: Java Nature                                                              -->
<!-- =================================================================================== -->

<extension 
	point="org.eclipse.core.resources.natures" 
	id="javanature"
	name="%javaNatureName">
	<runtime>
		<run class="org.eclipse.jdt.internal.core.JavaProject">
		</run>
	</runtime>
</extension>


<!-- =================================================================================== -->
<!-- Extension: Java Builder                                                             -->
<!-- =================================================================================== -->

<extension 
	point="org.eclipse.core.resources.builders" 
	id="javabuilder"
	name="%javaBuilderName">
	<builder>
		<run class="org.eclipse.jdt.internal.core.builder.JavaBuilder">
		</run>
	</builder>
</extension>

<!-- =================================================================================== -->
<!-- Extension: Java Problem                                                             -->
<!-- =================================================================================== -->
<extension id="problem" point="org.eclipse.core.resources.markers" name="%javaProblemName">
	<super type="org.eclipse.core.resources.problemmarker"/>
	<super type="org.eclipse.core.resources.textmarker"/>
	<persistent value="true"/>
	<attribute name="id"/>
	<attribute name="flags"/>
	<attribute name="arguments"/>
</extension>   

<!-- =================================================================================== -->
<!-- Extension: Java Buildpath Problem                                                   -->
<!-- =================================================================================== -->
<extension id="buildpath_problem" point="org.eclipse.core.resources.markers" name="%buildPathProblemName">
	<super type="org.eclipse.core.resources.problemmarker"/>
	<super type="org.eclipse.core.resources.textmarker"/>
	<persistent value="true"/>
	<attribute name ="cycleDetected"/>
	<attribute name="id"/>
	<attribute name="arguments"/>
</extension>   

<!-- =================================================================================== -->
<!-- Extension: Java Transient Problem                                                   -->
<!-- =================================================================================== -->
<extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientJavaProblemName">
	<super type="org.eclipse.core.resources.textmarker"/>
	<persistent value="false"/>
	<attribute name="id"/>
	<attribute name="flags"/>
	<attribute name="arguments"/>
</extension>

<!-- =================================================================================== -->
<!-- Extension: Java Task                                                                -->
<!-- =================================================================================== -->
<extension id="task" name="%javaTaskName" point="org.eclipse.core.resources.markers">
    <super type="org.eclipse.core.resources.taskmarker"/> 
    <persistent value="true"/>
</extension>
    
<!-- =================================================================================== -->
<!-- Extension: Javac Ant Adapter                                                        -->
<!-- =================================================================================== -->
<extension 
	point="org.eclipse.ant.core.extraClasspathEntries">
	<extraClasspathEntry
		library="jdtCompilerAdapter.jar">
	</extraClasspathEntry>
</extension> 

<!-- =================================================================================== -->
<!-- Extension: Javac Ant Task                                                           -->
<!-- =================================================================================== -->
<extension point="org.eclipse.ant.core.antTasks">
	<antTask
		name="eclipse.checkDebugAttributes"
		class="org.eclipse.jdt.core.CheckDebugAttributes"
		library="jdtCompilerAdapter.jar">
	</antTask>
</extension>
      
<!-- =================================================================================== -->
<!-- Extension: User Library Container                                                   -->
<!-- =================================================================================== -->
<extension
      point="org.eclipse.jdt.core.classpathContainerInitializer">
      <classpathContainerInitializer
            class="org.eclipse.jdt.internal.core.UserLibraryClasspathContainerInitializer"
            id="org.eclipse.jdt.USER_LIBRARY">
      </classpathContainerInitializer>
   </extension>

<!-- =================================================================================== -->
<!-- Extension: Java File Types                                                          -->
<!-- =================================================================================== -->
<extension point="org.eclipse.team.core.fileTypes">
	<fileTypes extension="java" type="text"/>
	<fileTypes extension="classpath" type="text"/>
	<fileTypes extension="properties" type="text"/>
	<fileTypes extension="class" type="binary"/>
	<fileTypes extension="jar" type="binary"/>
	<fileTypes extension="jardesc" type="text"/>
	<fileTypes extension="zip" type="binary"/>
</extension>
      
<!-- =================================================================================== -->
<!-- Extension: Java Content Types                                                       -->
<!-- =================================================================================== -->
<extension point="org.eclipse.core.runtime.contentTypes">
	<!-- declares a content type for Java Properties files -->
	<content-type id="javaProperties" name="%javaPropertiesName" 
		base-type="org.eclipse.core.runtime.text"
		priority="high"				
		file-extensions="properties"
		default-charset="ISO-8859-1"/>
	<!-- Associates .classpath to the XML content type -->
	<file-association 
		content-type="org.eclipse.core.runtime.xml" 
		file-names=".classpath"/>  
	<!-- declares a content type for Java Source files -->
	<content-type id="javaSource" name="%javaSourceName" 
		base-type="org.eclipse.core.runtime.text"
		priority="high"				
		file-extensions="java"/>
	<!-- declares a content type for JAR manifest files -->
    <content-type id="JARManifest" name="%jarManifestName" 
        base-type="org.eclipse.core.runtime.text"
        priority="high"				
        file-names="MANIFEST.MF"
        default-charset="UTF-8"/>
</extension>

</plugin>

Back to the top