Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
| 3 | |
| 4 | |
| 5 | |
| 6 | <plugin> |
| 7 | <!-- Note that the nature and builder definitions appear here mainly |
| 8 | because they should have an ID starting with org.eclipse.objectteams.otdt, |
| 9 | rather than org.eclipse.jdt, allthough they are defined in jdt.core --> |
| 10 | |
| 11 | <!-- objectteams project nature --> |
| 12 | <extension |
| 13 | point="org.eclipse.core.resources.natures" |
| 14 | id="OTJavaNature" |
| 15 | name="%otNatureName"> |
| 16 | <runtime> |
| 17 | <run class="org.eclipse.objectteams.otdt.core.ext.OTJavaNature"> |
| 18 | </run> |
| 19 | </runtime> |
| 20 | <builder |
| 21 | id="org.eclipse.objectteams.otdt.builder.OTJBuilder"> |
| 22 | </builder> |
| 23 | <!-- run and configure our nature AFTER the java-nature has been configured --> |
| 24 | <requires-nature |
| 25 | id="org.eclipse.jdt.core.javanature"> |
| 26 | </requires-nature> |
| 27 | </extension> |
| 28 | |
| 29 | <!-- OT/J Builder: --> |
| 30 | <extension |
| 31 | point="org.eclipse.core.resources.builders" |
| 32 | id="builder.OTJBuilder" |
| 33 | name="%otjBuilderName"> |
| 34 | <builder hasNature="true"> |
| 35 | <run class="org.eclipse.objectteams.otdt.internal.core.builder.OTJBuilder"> |
| 36 | </run> |
| 37 | </builder> |
| 38 | </extension> |
| 39 | |
| 40 | <extension point="org.eclipse.jdt.core.classpathVariableInitializer"> |
| 41 | <classpathVariableInitializer |
| 42 | variable="OTDT_INSTALLDIR" |
| 43 | class="org.eclipse.objectteams.otdt.core.ext.OTVariableInitializer"/> |
| 44 | </extension> |
| 45 | |
| 46 | <extension |
| 47 | point="org.eclipse.jdt.core.classpathContainerInitializer" |
| 48 | id="org.eclipse.objectteams.otdt.otreContainerInitializer"> |
| 49 | <classpathContainerInitializer |
| 50 | id="OTRE" |
| 51 | class="org.eclipse.objectteams.otdt.core.ext.OTREContainerInitializer"/> |
| 52 | </extension> |
| 53 | |
| 54 | <extension |
| 55 | point="org.eclipse.jdt.core.classpathVariableInitializer"> |
| 56 | <classpathVariableInitializer |
| 57 | variable="OTRUNTIME_INSTALLDIR" |
| 58 | class="org.eclipse.objectteams.otdt.core.ext.OTRuntimeVariableInitializer"> |
| 59 | </classpathVariableInitializer> |
| 60 | </extension> |
| 61 | |
| 62 | <extension point="org.eclipse.jdt.launching.classpathProviders"> |
| 63 | <classpathProvider |
| 64 | id="org.eclipse.objectteams.otdt.OTRuntimeClasspathProvider" |
| 65 | class="org.eclipse.objectteams.otdt.core.ext.OTRuntimeClasspathProvider"> |
| 66 | </classpathProvider> |
| 67 | </extension> |
| 68 | </plugin> |