/bundles/plugins-trunk/Hex/build.xml

# · XML · 60 lines · 19 code · 11 blank · 30 comment · 0 complexity · 0b2b62a86d46d8a6a61fea59faf1a5b2 MD5 · raw file

  1. <?xml version="1.0"?>
  2. <!--
  3. This is the standard build.xml file for building the Hex plugin.
  4. The 'dist' target compiles the plugin, generates documentation, and creates
  5. the JAR file. Before running the 'dist' target, you will need to choose
  6. whether to generate the documentation using one of these two targets:
  7. - 'docs-xsltproc': Creates documentation using the xsltproc tool from
  8. libxslt, available at http://xmlsoft.org/XSLT
  9. - 'docs-xalan': Creates documentation using the Xalan XSLT processor,
  10. available at http://xml.apache.org/
  11. The default processor is xsltproc. You can change the processor to Xalan by
  12. setting the docs-proc.target property to xalan. This can be done on the
  13. command line by adding '-Ddocs-proc.target=xalan'. If you do not have any
  14. documentation, you can remove the 'docs' target from the depends list for
  15. the 'dist' target.
  16. To use this template for building your own plugin, make these changes:
  17. - Change 'name' property for the <project> to the name of your plugin
  18. - Change definition of 'jedit.install.dir' to point to the directory
  19. containing jedit.jar
  20. - If necessary, add any dependencies to the 'project.class.path' definition
  21. - If necessary, change the list of files in the 'dist' target
  22. - If necessary, change the 'docs-xalan' and 'docs-xsltproc' targets to
  23. reflect the appropriate values for your documentation
  24. -->
  25. <project name="Hex" default="dist" basedir=".">
  26. <property name="user-doc.xml" location= "users-guide.xml"/>
  27. <property file="../build.properties"/>
  28. <property file="build.properties"/>
  29. <property name="src.dir" value="."/>
  30. <property name="build.dir" value="build"/>
  31. <property name="install.dir" value=".."/>
  32. <property name="build.support" value="../../build-support" />
  33. <property name="compiler.source" value="1.5" />
  34. <property name="compiler.target" value="1.5" />
  35. <import file="${build.support}/plugin-build.xml" />
  36. <property name="jar.name" value="${ant.project.name}.jar"/>
  37. <property name="docs-proc.target" value="xsltproc"/>
  38. <path id="project.class.path">
  39. <pathelement location="${jedit.install.dir}/jedit.jar"/>
  40. <pathelement location="."/>
  41. </path>
  42. </project>