diff options
author | William Victor Mote <vmote@apache.org> | 2002-11-30 08:54:26 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2002-11-30 08:54:26 +0000 |
commit | 701271c9574a3af46c3b870e01fe1df8f234573e (patch) | |
tree | c7b391991bf869213e3ca0b28e6a86d8fbf40178 /build.xml | |
parent | 64b3c5ede295343029ded69bb7f035ddd47409f3 (diff) | |
download | xmlgraphics-fop-701271c9574a3af46c3b870e01fe1df8f234573e.tar.gz xmlgraphics-fop-701271c9574a3af46c3b870e01fe1df8f234573e.zip |
white-space and line-ending fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195685 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 252 |
1 files changed, 126 insertions, 126 deletions
@@ -8,7 +8,7 @@ Building instructions ===================== -First, make sure your current working directory is where this very file is +First, make sure your current working directory is where this very file is located. Then type ./build.sh (on unixes) @@ -30,17 +30,17 @@ distributions and web site. In fact, the file you have here is _exactly_ what is used by fop maintainers to take care of everything in the Fop project, no less and no more. -Call the build script (see above) with the parameter "-projecthelp" to get a +Call the build script (see above) with the parameter "-projecthelp" to get a list of possible build targets. ============================================================================ --> <project default="package" basedir="."> - <!-- used to set values for testing etc. --> + <!-- used to set values for testing etc. --> <!-- build-local.properties is not stored in CVS and overrides values from build.properties --> <property file="build-local.properties"/> <property file="build.properties"/> - + <fileset dir="${basedir}" id="dist.bin"> <include name="conf/**"/> <include name="docs/**"/> @@ -56,7 +56,7 @@ list of possible build targets. <exclude name="build/**"/> <exclude name="lib/**"/> </fileset> - + <fileset dir="${basedir}" id="dist.bin.lib"> <include name="lib/xercesImpl-2.2.1.jar"/> <include name="lib/xalan-2.4.1.jar"/> @@ -66,7 +66,7 @@ list of possible build targets. <include name="lib/jimi*"/> <include name="lib/jfor*.jar"/> </fileset> - + <fileset dir="${basedir}" id="dist.src"> <exclude name="lib/classes/**"/> <exclude name="lib/org/**"/> @@ -85,13 +85,13 @@ list of possible build targets. <include name="fop.bat"/> <include name="fop.sh"/> </fileset> - + <path id="libs-build-classpath"> <fileset dir="lib"> <include name="*.jar"/> </fileset> </path> - + <path id="libs-run-classpath"> <fileset dir="lib"> <include name="*.jar"/> @@ -102,28 +102,28 @@ list of possible build targets. <include name="fop.jar"/> </fileset> </path> - + <path id="checkstylepath"> <fileset dir="lib"> <include name="checkstyle-all-*.jar"/> </fileset> </path> - + <patternset id="exclude-jimi"> <exclude name="org/apache/fop/image/JimiImage.java"/> </patternset> - + <patternset id="exclude-jai"> <exclude name="org/apache/fop/image/JAIImage.java"/> </patternset> - + <patternset id="base-sources"> <include name="**/*.java"/> <exclude name="**/*${ignore_this}"/> <patternset refid="exclude-jimi"/> <patternset refid="exclude-jai"/> </patternset> - + <!-- =================================================================== --> <!-- Initialization target --> <!-- =================================================================== --> @@ -134,17 +134,17 @@ list of possible build targets. <property name="version" value="1.0dev"/> <filter token="version" value="${version}"/> <property name="year" value="1999-2002"/> - + <echo message="------------------- ${Name} ${version} [${year}] ----------------"/> <echo message="See build.properties and build-local.properties for additional build settings"/> - + <property name="build.compiler" value="classic"/> <property name="debug" value="on"/> <property name="optimize" value="off"/> <property name="deprecation" value="on"/> - + <property name="textfontencoding" value="WinAnsiEncoding"/> - + <property name="src.dir" value="./src"/> <property name="src.codegen" value="./src/codegen"/> <property name="docs.dir" value="./docs"/> @@ -156,7 +156,7 @@ list of possible build targets. <property name="viewer.resources.src.dir" value="./src/org/apache/fop/viewer/resources"/> <property name="viewer.images.src.dir" value="./src/org/apache/fop/viewer/Images"/> - + <property name="build.dir" value="./build"/> <property name="build.src" value="./build/src"/> <property name="build.gensrc" value="./build/gensrc"/> @@ -188,7 +188,7 @@ list of possible build targets. <property name="foproperties.xml" value="${build.codegen}/foproperties.xml"/> <property name="colorkw.xml" value="${build.codegen}/colorkw.xml"/> <property name="allprops.xml" value="${build.codegen}/allprops.xml"/> - + <property name="properties.xsl" value="${build.codegen}/properties.xsl"/> <property name="propmap.xsl" value="${build.codegen}/propmap.xsl"/> <property name="enumgen.xsl" value="${build.codegen}/enumgen.xsl"/> @@ -200,7 +200,7 @@ list of possible build targets. <property name="fontfile.xsl" value="${build.codegen}/font-file.xsl"/> <property name="t1fontfile.xsl" value="${build.codegen}/t1font-file.xsl"/> <property name="ttffontfile.xsl" value="${build.codegen}/ttffontfile.xsl"/> - + <property name="Courier.xml" value="${build.codegen}/Courier.xml"/> <property name="Courier-Oblique.xml" value="${build.codegen}/CourierOblique.xml"/> <property name="Courier-Bold.xml" value="${build.codegen}/CourierBold.xml"/> @@ -215,31 +215,31 @@ list of possible build targets. <property name="Times-BoldItalic.xml" value="${build.codegen}/TimesBoldItalic.xml"/> <property name="ZapfDingbats.xml" value="${build.codegen}/ZapfDingbats.xml"/> <property name="Symbol.xml" value="${build.codegen}/Symbol.xml"/> - + <property name="trax" value="TraxTransform.java"/> <property name="xsltransform" value="XSLTransform.java"/> - + <property name="tools.pkg" value="org/apache/fop/tools"/> <property name="main.class" value="org.apache.fop.apps.Fop"/> - + <filter filtersfile="${build.codegen}/filter" /> </target> - + <target name="init-avail"> <available property="jimi.present" classname="com.sun.jimi.core.Jimi" classpathref="libs-build-classpath"/> <available property="jai.present" classname="javax.media.jai.JAI" classpathref="libs-build-classpath"/> <available property="jdk14.present" classname="java.lang.CharSequence"/> </target> - + <target name="init-filters-jdk13" depends="init-avail" unless="jdk14.present"> - <echo message="JDK 1.3 or earlier present."/> - <copy file="src/codegen/jdk13.filter" toFile="build/src/codegen/filter"/> + <echo message="JDK 1.3 or earlier present."/> + <copy file="src/codegen/jdk13.filter" toFile="build/src/codegen/filter"/> </target> - + <target name="init-filters-jdk14" depends="init-avail" if="jdk14.present"> - <echo message="JDK 1.4 present."/> - <copy file="src/codegen/jdk14.filter" toFile="build/src/codegen/filter"/> + <echo message="JDK 1.4 present."/> + <copy file="src/codegen/jdk14.filter" toFile="build/src/codegen/filter"/> </target> <!-- =================================================================== --> @@ -248,7 +248,7 @@ list of possible build targets. <target name="usage"> <echo message="Use the -projecthelp option instead"/> </target> - + <!-- =================================================================== --> <!-- Prepares the build directory --> <!-- =================================================================== --> @@ -261,19 +261,19 @@ list of possible build targets. <mkdir dir="${build.gensrc}/${fonts.dir}"/> <mkdir dir="${build.dest}/hyph"/> </target> - + <!-- =================================================================== --> <!-- Generate the source code --> <!-- =================================================================== --> <target name="codegen" depends="prepare" description="Generates the java files from the xml resources"> <!-- resetting codegen directory --> <echo message="Resetting codegen directory"/> - + <!-- copy codegen directory --> <copy todir="${build.codegen}" filtering="on"> <fileset dir="${src.codegen}"/> </copy> - + <!-- generate the java files from xml resources --> <echo message="Generating the java files from xml resources"/> <dependset> @@ -284,17 +284,17 @@ list of possible build targets. <srcfilelist dir="./" files="${propinc.xsl}"/> <targetfilelist dir="./" files="${build.gensrc}/${replacestring}/fo/properties/fo_${ignore_this},${build.gensrc}/${replacestring}/fo/properties/FOPropertyMapping.java,${build.gensrc}/${replacestring}/fo/properties/foenums_${ignore_this}"/> </dependset> - - <style in="${allprops.xml}" style="${genconst.xsl}" + + <style in="${allprops.xml}" style="${genconst.xsl}" out="${build.gensrc}/${replacestring}/fo/properties/Constants.java"/> - - <style in="${foproperties.xml}" style="${properties.xsl}" + + <style in="${foproperties.xml}" style="${properties.xsl}" out="${build.gensrc}/${replacestring}/fo/properties/fo_${ignore_this}"/> - <style in="${foproperties.xml}" style="${propmap.xsl}" + <style in="${foproperties.xml}" style="${propmap.xsl}" out="${build.gensrc}/${replacestring}/fo/properties/FOPropertyMapping.java"/> - <style in="${foproperties.xml}" style="${enumgen.xsl}" + <style in="${foproperties.xml}" style="${enumgen.xsl}" out="${build.gensrc}/${replacestring}/fo/properties/foenums_${ignore_this}"/> - <style in="${encodings.xml}" style="${charlist.xsl}" + <style in="${encodings.xml}" style="${charlist.xsl}" out="${build.gensrc}/${replacestring}/render/pdf/CodePointMapping.java"/> <!-- <style basedir="src/codegen" includes="Helvetica*.xml,Times*.xml,Courier*.xml" @@ -303,80 +303,80 @@ list of possible build targets. <param name="encoding" expression="${textfontencoding}"/> </style> --> - <style in="${Courier.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Courier.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/Courier.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Courier-Oblique.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Courier-Oblique.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/CourierOblique.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Courier-Bold.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Courier-Bold.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/CourierBold.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Courier-BoldOblique.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Courier-BoldOblique.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/CourierBoldOblique.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Helvetica.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Helvetica.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/Helvetica.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Helvetica-Bold.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Helvetica-Bold.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/HelveticaBold.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Helvetica-Oblique.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Helvetica-Oblique.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/HelveticaOblique.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Helvetica-BoldOblique.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Helvetica-BoldOblique.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/HelveticaBoldOblique.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Times-Roman.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Times-Roman.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/TimesRoman.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Times-Italic.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Times-Italic.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/TimesItalic.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Times-Bold.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Times-Bold.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/TimesBold.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Times-BoldItalic.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Times-BoldItalic.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/TimesBoldItalic.java"> <param name="encoding" expression="${textfontencoding}"/> </style> - <style in="${Symbol.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${Symbol.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/Symbol.java"/> - <style in="${ZapfDingbats.xml}" style="${fontfile.xsl}" - destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" + <style in="${ZapfDingbats.xml}" style="${fontfile.xsl}" + destdir="${build.gensrc}/${replacestring}/render/pdf/fonts" out="${build.gensrc}/${replacestring}/render/pdf/fonts/ZapfDingbats.java"/> - - <style - in="${Symbol.xml}" style="${fontfile.xsl}" + + <style + in="${Symbol.xml}" style="${fontfile.xsl}" out="${build.gensrc}/${replacestring}/render/pdf/fonts/Symbol.java"/> - <style - in="${ZapfDingbats.xml}" style="${fontfile.xsl}" + <style + in="${ZapfDingbats.xml}" style="${fontfile.xsl}" out="${build.gensrc}/${replacestring}/render/pdf/fonts/ZapfDingbats.java"/> - + <!-- prepare JDK dependant files --> <copy todir="${build.gensrc}" filtering="on"> <mapper type="glob" from="*.javat" to="*.java"/> @@ -384,9 +384,9 @@ list of possible build targets. <include name="**/*.javat"/> </fileset> </copy> - + </target> - + <!-- =================================================================== --> <!-- Compiles the source directory --> <!-- =================================================================== --> @@ -394,7 +394,7 @@ list of possible build targets. <echo message="Compiling the sources "/> <!-- create directories --> <mkdir dir="${build.dest}"/> - + <mkdir dir="${viewer.resources.dest.dir}"/> <copy todir="${viewer.resources.dest.dir}"> <fileset dir="${viewer.resources.src.dir}"/> @@ -403,7 +403,7 @@ list of possible build targets. <copy todir="${viewer.images.dest.dir}"> <fileset dir="${viewer.images.src.dir}"/> </copy> - + <javac destdir="${build.dest}" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}"> <src path="${build.gensrc}"/> <src path="${src.dir}"/> @@ -411,7 +411,7 @@ list of possible build targets. <patternset refid="base-sources"/> </javac> </target> - + <target name="compile-jimi" depends="compile-src" if="jimi.present"> <echo message="Jimi library is present. Fop installs jimi support."/> <javac destdir="${build.dest}" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}"> @@ -420,7 +420,7 @@ list of possible build targets. <include name="**/${jimi}"/> </javac> </target> - + <target name="compile-jai" depends="compile-src" if="jai.present"> <echo message="JAI library is present. Fop installs JAI support."/> <javac destdir="${build.dest}" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}"> @@ -430,7 +430,7 @@ list of possible build targets. </javac> </target> <target name="compile" depends="compile-src,compile-jimi,compile-jai" description="Compiles the source code"/> - + <!-- =================================================================== --> <!-- compiles hyphenation patterns --> <!-- =================================================================== --> @@ -439,12 +439,12 @@ list of possible build targets. <path refid="libs-build-classpath"/> <pathelement location="${build.dir}/classes"/> </path> - <taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern" classpathref="hyph-classpath"/> - <serHyph includes="*.xml" - sourceDir="${hyph.dir}" - targetDir="${build.dest}/hyph"/> + <taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern" classpathref="hyph-classpath"/> + <serHyph includes="*.xml" + sourceDir="${hyph.dir}" + targetDir="${build.dest}/hyph"/> </target> - + <!-- =================================================================== --> <!-- Creates the class package --> <!-- =================================================================== --> @@ -458,7 +458,7 @@ list of possible build targets. <map from="${basedir}${file.separator}lib${file.separator}" to=""/> <map from="${basedir}${file.separator}build${file.separator}fop.jar" to=""/> </pathconvert> - + <jar jarfile="${build.dir}/${name}.jar" basedir="${build.dest}" includes="org/**,hyph/**"> <manifest> <attribute name="Main-Class" value="${main.class}"/> @@ -470,18 +470,18 @@ list of possible build targets. </manifest> </jar> </target> - + <target name="all" depends="package"/> <!-- "all" target for us Makefile converts ;-) --> - + <target name="pdf-transcoder" depends="compile" description="Generates the jar for the pdf transcoder for Batik"> <echo message="Creating the jar file ${build.dir}/pdf-transcoder.jar"/> - + <property name="pdf-transcoder.name" value="FOP PDF Transcoder"/> <property name="pdf-transcoder.version" value="1.0beta2"/> <tstamp> <format property="ts" pattern="yyyyMMdd-HHmmss-z"/> </tstamp> - + <jar jarfile="${build.dir}/pdf-transcoder.jar"> <fileset dir="${build.dest}" includes="org/apache/fop/pdf/**"/> <fileset dir="${build.dest}" includes="org/apache/fop/svg/**"/> @@ -505,7 +505,7 @@ list of possible build targets. </manifest> </jar> </target> - + <!-- =================================================================== --> <!-- Testing --> <!-- =================================================================== --> @@ -534,31 +534,31 @@ list of possible build targets. refVersion="${ref-version}"/> --> </target> - + <!-- =================================================================== --> <!-- Prepares the docs --> <!-- =================================================================== --> <target name="prepare-docs" depends="init"> <mkdir dir="${build.docs}"/> </target> - + <!-- =================================================================== --> <!-- Creates the API documentation --> <!-- =================================================================== --> <target name="javadocs" depends="prepare" description="Generates javadocs"> <echo message="Producing the javadoc files "/> <mkdir dir="${build.javadocs}"/> - - <javadoc - packagenames="${packages}" - destdir="${build.javadocs}" - classpathref="libs-build-classpath" - author="true" - version="true" - windowtitle="${Name} API" - doctitle="${Name}" - bottom="Copyright © ${year} Apache Software Foundation. All Rights Reserved." - overview="${src.dir}/overview.html" + + <javadoc + packagenames="${packages}" + destdir="${build.javadocs}" + classpathref="libs-build-classpath" + author="true" + version="true" + windowtitle="${Name} API" + doctitle="${Name}" + bottom="Copyright © ${year} Apache Software Foundation. All Rights Reserved." + overview="${src.dir}/overview.html" failonerror="true"> <sourcepath> <pathelement path="${src.dir}"/> @@ -566,11 +566,11 @@ list of possible build targets. </sourcepath> </javadoc> </target> - + <target name="html" depends="javadocs, htmldoc" description="Generates javadocs and documentation in html format"/> - + <target name="htmldoc" depends="html-fop, html-design" description="Generates documentation in html format"/> - + <target name="html-fop" depends="prepare"> <copy file="${xdocs}/fop.xml" tofile="${xdocs}/book.xml" filtering="on"/> <java classname="${doc.generator}" fork="yes"> @@ -578,42 +578,42 @@ list of possible build targets. <arg line="targetDirectory=${docs} ${xdocs}/book.xml ${skins}"/> </java> </target> - + <target name="html-design" depends="prepare, html-newdesign, - html-altdesign, html-understanding"/> - + html-altdesign, html-understanding"/> + <target name="html-newdesign" depends="prepare"> <java classname="${doc.generator}" fork="yes"> <classpath refid="libs-build-classpath"/> <arg line="targetDirectory=${docs}/design/ docs/design/book.xml ${skins}"/> </java> </target> - + <target name="html-altdesign" depends="prepare"> <java classname="${doc.generator}" fork="yes"> <classpath refid="libs-build-classpath"/> <arg line="targetDirectory=${docs}/design/alt.design/ docs/design/alt.design/book.xml ${skins}"/> </java> </target> - + <target name="html-understanding" depends="prepare"> <java classname="${doc.generator}" fork="yes"> <classpath refid="libs-build-classpath"/> <arg line="targetDirectory=${docs}/design/understanding docs/design/understanding/book.xml ${skins}"/> </java> </target> - + <target name="pdfdoc" depends="package" description="Generates the documentation in pdf format"> <copy file="${xdocs}/fop.xml" tofile="${xdocs}/book.xml" filtering="on"/> <style in="${xdocs}/fop.xml" style="${xdocs}/xml2xml.xsl" out="${xdocs}/fop-doc.xml"/> <style in="${xdocs}/fop-doc.xml" style="${xdocs}/xml2pdf.xsl" out="${xdocs}/fop.fo"/> - + <java classname="org.apache.fop.apps.Fop" fork="yes"> <classpath refid="libs-run-classpath"/> <arg line="-fo ${xdocs}/fop.fo -pdf ${xdocs}/fop.pdf"/> </java> </target> - + <!-- =================================================================== --> <!-- Checkstyle --> <!-- =================================================================== --> @@ -621,7 +621,7 @@ list of possible build targets. <available property="checkstyle.available" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpathref="checkstylepath"/> <fail message="Please put checkstyle-all-*.jar in the lib directory. Get it from http://checkstyle.sourceforge.net" unless="checkstyle.available"/> <taskdef name="checkstyle" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpathref="checkstylepath"/> - + <checkstyle properties="checkstyle.cfg" failonviolation="false"> <fileset dir="${src.dir}" includes="org/apache/fop/**/*.java"/> <formatter type="plain" toFile="${build.dir}/checkstyle_report.txt"/> @@ -630,16 +630,16 @@ list of possible build targets. <available property="checkstyle.stylesheet.available" file="checkstyle-noframes.xsl"/> <antcall target="checkstyle-html"/> </target> - + <target name="checkstyle-html" if="checkstyle.stylesheet.available"> <style in="${build.dir}/checkstyle_report.xml" out="${build.dir}/checkstyle_report.html" style="checkstyle-noframes.xsl"/> </target> - + <!-- =================================================================== --> <!-- Creates the distribution --> <!-- =================================================================== --> <target name="dist" depends="dist-src,dist-bin" description="Generates the distribution package"/> - + <target name="dist-bin" depends="package"> <echo message="Building the binary distribution files (zip,tar)"/> <mkdir dir="${dist.bin.result.dir}"/> @@ -650,13 +650,13 @@ list of possible build targets. <mkdir dir="${dist.bin.result.dir}/build"/> <copy todir="${dist.bin.result.dir}/build" file="build/fop.jar"/> <chmod file="${dist.bin.result.dir}/fop.sh" perm="ugo+rx"/> - + <zip zipfile="${Name}-${version}-bin.zip" basedir="${dist.bin.dir}" includes="**"/> <tar tarfile="${Name}-${version}-bin.tar" basedir="${dist.bin.dir}" includes="**"/> <gzip zipfile="${Name}-${version}-bin.tar.gz" src="${Name}-${version}-bin.tar"/> <delete file="${Name}-${version}-bin.tar"/> </target> - + <target name="dist-src" depends="package, javadocs"> <echo message="Building the source distribution files (zip,tar)"/> <mkdir dir="${dist.src.result.dir}"/> @@ -670,13 +670,13 @@ list of possible build targets. <copy todir="${dist.src.result.dir}/build" file="build/fop.jar"/> <chmod file="${dist.src.result.dir}/build.sh" perm="ugo+rx"/> <chmod file="${dist.src.result.dir}/fop.sh" perm="ugo+rx"/> - + <zip zipfile="${Name}-${version}-src.zip" basedir="${dist.src.dir}" includes="**"/> <tar tarfile="${Name}-${version}-src.tar" basedir="${dist.src.dir}" includes="**"/> <gzip zipfile="${Name}-${version}-src.tar.gz" src="${Name}-${version}-src.tar"/> <delete file="${Name}-${version}-src.tar"/> </target> - + <!-- =================================================================== --> <!-- Generate example PDFs --> <!-- =================================================================== --> @@ -698,7 +698,7 @@ list of possible build targets. <target name="clean" depends="init" description="Cleans the build directory"> <delete dir="${build.dir}"/> </target> - + <target name="distclean" depends="clean" description="Cleans the distribution target directories"> <delete dir="${dist.src.dir}"/> <delete dir="${dist.bin.dir}"/> |