XML Pack Plugin
The XML Pack plugin adds the following features to IntelliJ IDEA 3:
- Advanced XML support, including XSLT templates and completion.
- Integration with OXF and Tomcat 4.1. OXF is an XML / Web application framework. Check it out at http://www.orbeon.com/oxf/.
- Download the ZIP file (xml-pack-x.x.zip, see below)
- Unzip it into a temporary directory
- Copy xml-pack-x.x.jar into your IntelliJ plugin directory
- Restart IntelliJ IDEA
Advanced XML Support
XML Pack provides file templates, live templates, schema validation
and completion for the following XML file formats:
- XSLT 1.0
- XForms 1.0 (12 Nov 2002 CR)
- OXF Pipeline Definition Language (XPL)
- OXF Web App Controller
For each one of those formats, it provides:
- File templates: You can create a new file from a generic template with the context menu in the project view
- Live templates are supported for XSLT and XPL. Please refer to the Options->Live Templates window for a list of available templates
- Schema validation: W3C XML Schemas are provided for XSLT, XForms, XPL and the OXF Web App Controller. You must include the namespace declaration in the root node for the validation to be active. IDEA's validation also includes context-sensitive completion in these files.
OXF Integration
The following features are supported:
- Creating a new OXF project - The project view provides a new context menu to create an OXF resource directory, containing the basic structure of an OXF Web application. This includes a web.xml descriptor, a property file, a Web App Controller and a simple page.
- Running the project with Tomcat 4.1
- Open the "Project Properties" dialog (File -> Project Properties)
- Click on the "Web" icon
- Enable Web application support, if necessary
- Click on "Add"
- Enter a name for the Web application
- Make the "path to document root" point to your OXF resource directory
- Click on the "Run/Debug" icon
- In "Web Apps", add a new configuration ("+" icon)
- Choose "Tomcat 4.1 with OXF" in the "Application Server" drop down box
- Set the "Catalina home" and "Path to Catalina configs" directories
- Enter a new application context path (for instance: /test)
- In "OXF WAR", enter the location of your oxf.war file from the distribution
- Start Tomcat from IntelliJ ("Run" in the "Run" menu)
- Open your browser and go to http://localhost:8001/test
This plugin is distributed under the open source MPL / GPL / LGPL licenses. See LICENSE.txt in the distribution file for more information.
For question, comments and suggestions, please contact info@orbeonNOSPAM321.com.
-- AlessandroVernet - 14 Feb 2003
|
|