diff options
author | Simon Pepping <spepping@apache.org> | 2005-08-23 19:13:28 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2005-08-23 19:13:28 +0000 |
commit | 9baeaf4db1d4a019ee85ba0384c923823c4589af (patch) | |
tree | 44bea7c32dff70b33d97e3936bdd83e82d7331ea /build.xml | |
parent | 2da2a980e2230bdd9f00f1b220b40337d718de98 (diff) | |
download | xmlgraphics-fop-9baeaf4db1d4a019ee85ba0384c923823c4589af.tar.gz xmlgraphics-fop-9baeaf4db1d4a019ee85ba0384c923823c4589af.zip |
Reintroduce they user's hyphenation patterns into the build process.
Fix a bug in the jar-hyphenation target.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239447 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -171,6 +171,7 @@ list of possible build targets. <property name="xdocs.dir" value="${src.dir}/documentation/content/xdocs"/> <property name="fo.examples.dir" value="${basedir}/examples/fo/basic"/> <property name="lib.dir" value="${basedir}/lib"/> + <property name="user.hyph.dir" value="${basedir}/hyph"/> <property name="build.dir" value="${basedir}/build"/> <property name="build.gensrc.dir" value="${build.dir}/gensrc"/> @@ -385,9 +386,14 @@ list of possible build targets. </path> <taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern" classpathref="hyph-classpath"/> <mkdir dir="${build.dir}/hyph"/> - <serHyph includes="*.xml" - sourceDir="${src.hyph.dir}" - targetDir="${build.dir}/hyph"/> + <serHyph targetDir="${build.dir}/hyph"> + <fileset dir="${user.hyph.dir}"> + <include name="*.xml"/> + </fileset> + <fileset dir="${src.hyph.dir}"> + <include name="*.xml"/> + </fileset> + </serHyph> </target> <target name="uptodate-jar-hyphenation" depends="compile-hyphenation"> @@ -400,7 +406,7 @@ list of possible build targets. <tstamp> <format property="ts" pattern="yyyyMMdd-HHmmss-z"/> </tstamp> - <jar jarfile="${build.dir}/fop-hyph.jar" basedir="${build.dir}/hyph"> + <jar jarfile="${build.dir}/fop-hyph.jar" basedir="${build.dir}" includes="hyph/*.hyp"> <manifest> <attribute name="Implementation-Title" value="${Name}"/> <attribute name="Implementation-Version" value="${version}"/> |