/bundles/plugins-trunk/Hex/build.xml
# · XML · 60 lines · 19 code · 11 blank · 30 comment · 0 complexity · 0b2b62a86d46d8a6a61fea59faf1a5b2 MD5 · raw file
- <?xml version="1.0"?>
- <!--
- This is the standard build.xml file for building the Hex plugin.
- The 'dist' target compiles the plugin, generates documentation, and creates
- the JAR file. Before running the 'dist' target, you will need to choose
- whether to generate the documentation using one of these two targets:
- - 'docs-xsltproc': Creates documentation using the xsltproc tool from
- libxslt, available at http://xmlsoft.org/XSLT
- - 'docs-xalan': Creates documentation using the Xalan XSLT processor,
- available at http://xml.apache.org/
- The default processor is xsltproc. You can change the processor to Xalan by
- setting the docs-proc.target property to xalan. This can be done on the
- command line by adding '-Ddocs-proc.target=xalan'. If you do not have any
- documentation, you can remove the 'docs' target from the depends list for
- the 'dist' target.
- To use this template for building your own plugin, make these changes:
- - Change 'name' property for the <project> to the name of your plugin
- - Change definition of 'jedit.install.dir' to point to the directory
- containing jedit.jar
- - If necessary, add any dependencies to the 'project.class.path' definition
- - If necessary, change the list of files in the 'dist' target
- - If necessary, change the 'docs-xalan' and 'docs-xsltproc' targets to
- reflect the appropriate values for your documentation
- -->
- <project name="Hex" default="dist" basedir=".">
- <property name="user-doc.xml" location= "users-guide.xml"/>
- <property file="../build.properties"/>
- <property file="build.properties"/>
- <property name="src.dir" value="."/>
- <property name="build.dir" value="build"/>
- <property name="install.dir" value=".."/>
- <property name="build.support" value="../../build-support" />
- <property name="compiler.source" value="1.5" />
- <property name="compiler.target" value="1.5" />
- <import file="${build.support}/plugin-build.xml" />
- <property name="jar.name" value="${ant.project.name}.jar"/>
- <property name="docs-proc.target" value="xsltproc"/>
- <path id="project.class.path">
- <pathelement location="${jedit.install.dir}/jedit.jar"/>
- <pathelement location="."/>
- </path>
- </project>