Browse Source

Build the hyphenation patterns under the build/classes directory.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@292942 13f79535-47bb-0310-9956-ffa450edef68
pull/31/head
Simon Pepping 18 years ago
parent
commit
ff9681c752
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      build.xml

+ 4
- 4
build.xml View File

<pathelement location="${build.classes.dir}"/> <pathelement location="${build.classes.dir}"/>
</path> </path>
<taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern" classpathref="hyph-classpath"/> <taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern" classpathref="hyph-classpath"/>
<mkdir dir="${build.dir}/hyph"/>
<serHyph targetDir="${build.dir}/hyph">
<mkdir dir="${build.classes.dir}/hyph"/>
<serHyph targetDir="${build.classes.dir}/hyph">
<fileset dir="${user.hyph.dir}"> <fileset dir="${user.hyph.dir}">
<include name="*.xml"/> <include name="*.xml"/>
</fileset> </fileset>


<target name="uptodate-jar-hyphenation" depends="compile-hyphenation"> <target name="uptodate-jar-hyphenation" depends="compile-hyphenation">
<uptodate property="jar.hyphenation.uptodate" targetfile="${build.dir}/fop-hyph.jar"> <uptodate property="jar.hyphenation.uptodate" targetfile="${build.dir}/fop-hyph.jar">
<srcfiles dir="${build.dir}/hyph"/>
<srcfiles dir="${build.classes.dir}/hyph"/>
</uptodate> </uptodate>
</target> </target>


<tstamp> <tstamp>
<format property="ts" pattern="yyyyMMdd-HHmmss-z"/> <format property="ts" pattern="yyyyMMdd-HHmmss-z"/>
</tstamp> </tstamp>
<jar jarfile="${build.dir}/fop-hyph.jar" basedir="${build.dir}" includes="hyph/*.hyp">
<jar jarfile="${build.dir}/fop-hyph.jar" basedir="${build.classes.dir}" includes="hyph/*.hyp">
<manifest> <manifest>
<attribute name="Implementation-Title" value="${Name}"/> <attribute name="Implementation-Title" value="${Name}"/>
<attribute name="Implementation-Version" value="${version}"/> <attribute name="Implementation-Version" value="${version}"/>

Loading…
Cancel
Save