Right click on build.xml to run ant build problem
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Right click on build.xml to run ant build problem
Post by FredP »
Hello,
When i right click on build.xml file to start ant build (by clicking on RUN...) the 1. Ant Run Build and 2 Ant Run Build options disapeared!
Eclipse 3.1M2 and Oxygen 5.1.0
When i switch from 5.1 to 5.0 options are back ?
Kings Regards
When i right click on build.xml file to start ant build (by clicking on RUN...) the 1. Ant Run Build and 2 Ant Run Build options disapeared!
Eclipse 3.1M2 and Oxygen 5.1.0
When i switch from 5.1 to 5.0 options are back ?
Kings Regards
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
In version 5.1 oXygen adds the following extension:
in order to provide XML encoding detection for XML files in Eclipse.
Removing this from oXygen's pluging.xml brings back those ant plugin contributions but may cause encoding problems if you will use encodings other than URF-8 and UTF-16 fro your XML files.
Best Regards,
George
In version 5.1 oXygen adds the following extension:
Code: Select all
<extension point="org.eclipse.core.runtime.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.xml"
priority="high"
file-extensions="xml,vxml,xtm,xhtml,fo,mathml,jspx,svg,wssr,wssc,rng,nrl,xsl,xslt,xsd,dtd,mod,ent,wsdl,sch"
id="com.oxygenxml.editor.OxygenFile" name="oXygen XML">
<describer class="com.oxygenxml.editor.editors.xml.XMLContentDescriber"/>
</content-type>
</extension>
Removing this from oXygen's pluging.xml brings back those ant plugin contributions but may cause encoding problems if you will use encodings other than URF-8 and UTF-16 fro your XML files.
Best Regards,
George
-
- Posts: 143
- Joined: Tue Mar 25, 2003 11:21 am
Hi Fred,
It seems to be an Ant plugin problem since it does not specify any file-extensions or file-names.
After editing the plugin.xml located in the plugins\org.eclipse.ant.core_3.0.0 everything works perfect now.
My modification was:
<extension
point="org.eclipse.core.runtime.contentTypes">
<content-type
id="antBuildFile"
name="%antBuildFileContentType.name"
base-type="org.eclipse.core.runtime.xml"
-------------- Start of modification ---------------
file-names="build.xml"
-------------- End of modification -----------------
priority="high">
<describer class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber">
<parameter name="element" value="project" />
</describer>
</content-type>
</extension>
Best regards,
Mircea.
It seems to be an Ant plugin problem since it does not specify any file-extensions or file-names.
After editing the plugin.xml located in the plugins\org.eclipse.ant.core_3.0.0 everything works perfect now.
My modification was:
<extension
point="org.eclipse.core.runtime.contentTypes">
<content-type
id="antBuildFile"
name="%antBuildFileContentType.name"
base-type="org.eclipse.core.runtime.xml"
-------------- Start of modification ---------------
file-names="build.xml"
-------------- End of modification -----------------
priority="high">
<describer class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber">
<parameter name="element" value="project" />
</describer>
</content-type>
</extension>
Best regards,
Mircea.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service