You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.xml 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version="1.0"?>
  2. <!--
  3. Copyright 2006 The Apache Software Foundation
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <!-- $Id$ -->
  15. <!-- ===========================================================================
  16. ============================================================================ -->
  17. <project default="package" basedir=".">
  18. <property name="build.compiler" value="classic"/>
  19. <property name="debug" value="on"/>
  20. <property name="optimize" value="off"/>
  21. <property name="deprecation" value="on"/>
  22. <property name="src.dir" value="./src"/>
  23. <property name="packages" value="org.apache.fop.hyphenation"/>
  24. <property name="build.dir" value="./build"/>
  25. <property name="main.class" value="org.apache.fop.hyphenation.HyphenationTreeAnalysis"/>
  26. <path id="libs-classpath">
  27. <fileset dir="../../lib">
  28. <include name="*.jar"/>
  29. </fileset>
  30. <fileset dir="../../build">
  31. <include name="fop.jar"/>
  32. </fileset>
  33. </path>
  34. <!-- =================================================================== -->
  35. <!-- Initialization target -->
  36. <!-- =================================================================== -->
  37. <target name="init">
  38. <tstamp/>
  39. <property name="Name" value="Hyphenation analysis"/>
  40. <property name="name" value="hyphenation analysis"/>
  41. <property name="version" value="0.1-SVN"/>
  42. <property name="year" value="2006"/>
  43. <echo message="------------------- ${Name} ${version} [${year}] ----------------"/>
  44. </target>
  45. <!-- =================================================================== -->
  46. <!-- Help on usage -->
  47. <!-- =================================================================== -->
  48. <target name="usage">
  49. <echo message="Use the -projecthelp option instead"/>
  50. </target>
  51. <!-- =================================================================== -->
  52. <!-- Compiles the source directory -->
  53. <!-- =================================================================== -->
  54. <target name="compile" depends="init" description="Compile the Java sources">
  55. <echo message="Compiling the sources "/>
  56. <!-- create directories -->
  57. <mkdir dir="${build.dir}"/>
  58. <javac srcdir="${src.dir}"
  59. destdir="${build.dir}"
  60. debug="${debug}"
  61. deprecation="${deprecation}"
  62. optimize="${optimize}"
  63. excludes="">
  64. <classpath refid="libs-classpath"/>
  65. </javac>
  66. </target>
  67. <!-- =================================================================== -->
  68. <!-- Clean targets -->
  69. <!-- =================================================================== -->
  70. <target name="clean" depends="init" description="Cleans the build directory">
  71. <delete dir="${build.dir}"/>
  72. </target>
  73. </project>