blob: 6aa44084f70ec2f3e23a1d70b744264b8c306193 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension-point id="javascriptPreProcessor" name="%extension-point.name.0" schema="schema/javascriptPreProcessor.exsd"/>
<!-- Full blown JSDT FACET -->
<extension point="org.eclipse.wst.common.project.facet.core.facets">
<project-facet id="wst.jsdt.web">
<label>%facet.label</label>
<description>%facet.description</description>
<default-version version="1.0"/>
</project-facet>
<project-facet-version facet="wst.jsdt.web" version="1.0" />
<action facet="wst.jsdt.web" type="install" id="wst.jsdt.web.install" version="1.0">
<delegate class="org.eclipse.wst.jsdt.web.core.internal.project.JsNatureInstaller"/>
</action>
<action facet="wst.jsdt.web" type="uninstall" id="wst.jsdt.web.uninstall" version="1.0">
<delegate class="org.eclipse.wst.jsdt.web.core.internal.project.JsNatureUninstaller"/>
</action>
</extension>
<extension point="org.eclipse.wst.common.project.facet.core.runtimes">
<supported>
<facet id="wst.jsdt.web"/>
<runtime-component any="true"/>
</supported>
</extension>
<extension point="org.eclipse.wst.jsdt.web.core.javascriptPreProcessor">
<javascriptPreProcessor
class="org.eclipse.wst.jsdt.web.core.javascript.JsTranslation"
priority="1" />
</extension>
<!-- Install Handler for web JSDT.. Piggybacks on wst.web/jst.web facet-->
<extension point="org.eclipse.wst.common.project.facet.core.listeners">
<listener class="org.eclipse.wst.jsdt.web.core.internal.project.FacetedProjectListener" eventTypes="POST_INSTALL"/>
</extension>
<!--
<extension point="org.eclipse.wst.common.project.facet.core.facets">
<event-handler facet="wst.web" type="POST_INSTALL" version="[1.0">
<delegate class="org.eclipse.wst.jsdt.web.core.internal.project.JsNatureInstaller"/>
</event-handler>
<event-handler facet="wst.web" type="POST_UNINSTALL" version="[1.0">
<delegate class="org.eclipse.wst.jsdt.web.core.internal.project.JsNatureUninstaller"/>
</event-handler>
</extension>
-->
<!-- removed due to JUnit failures during initial WTP build
<extension id="embeded.jsNature" name="%extension.name.0" point="org.eclipse.core.resources.natures">
<runtime>
<run class="org.eclipse.wst.jsdt.web.core.internal.project.JsWebNature"/>
</runtime>
<builder id="org.eclipse.wst.jsdt.web.core.embeded.javascript"/>
</extension>
-->
<!--
Not using this at the moment, but everythings in place if we need in the future.
-->
<extension id="embeded.javascript" name="%extension.name.1" point="org.eclipse.core.resources.builders">
<builder hasNature="true" callOnEmptyDelta="true">
<run class="org.eclipse.wst.jsdt.web.core.internal.IncrementalBuilder"/>
</builder>
</extension>
<extension id="problem" point="org.eclipse.core.resources.markers" name="%problemMarker.name">
<super type="org.eclipse.wst.jsdt.core.problem"/>
<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"/>
<attribute name="categoryId"/>
</extension>
<!--======================================================================================-->
<!-- JS batch validation in Web files -->
<!--======================================================================================-->
<extension
id="JsBatchValidator"
name="%javascript.validator"
point="org.eclipse.wst.validation.validatorV2">
<validator
build="false"
class="org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator"
manual="false"
sourceid="org.eclipse.wst.jsdt.web.jssourcevalidator"
version="2"
markerId="org.eclipse.wst.jsdt.web.core.problem">
<include>
<rules>
<projectNature id="org.eclipse.wst.jsdt.core.jsNature" />
</rules>
</include>
<include>
<rules>
<fileext caseSensitive="false" ext="html"/>
<fileext caseSensitive="false" ext="xhtml"/>
<fileext caseSensitive="false" ext="htm"/>
<fileext caseSensitive="false" ext="htpl"/>
<fileext caseSensitive="false" ext="jsp"/>
<fileext caseSensitive="false" ext="jsf"/>
<fileext caseSensitive="false" ext="jsv"/>
<fileext caseSensitive="false" ext="jtpl"/>
<contentType id="org.eclipse.wst.html.core.htmlsource"/>
<contentType id="org.eclipse.jst.jsp.core.jspsource"/>
</rules>
</include>
<group id="org.eclipse.wst.sse.core.structuredModelGroup"/>
</validator>
</extension>
<extension point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
<JsGlobalScopeContainerInitializer
class="org.eclipse.wst.jsdt.web.core.internal.project.WebProjectJsGlobalScopeContainerInitializer"
id="org.eclipse.wst.jsdt.launching.WebProject">
</JsGlobalScopeContainerInitializer>
</extension>
<extension
id="webSourcePathProvider"
point="org.eclipse.wst.jsdt.core.sourcePathProvider">
<provider class="org.eclipse.wst.jsdt.web.core.internal.project.ModuleSourcePathProvider"/>
</extension>
</plugin>