diff options
author | Simon Pepping <spepping@apache.org> | 2009-09-03 11:36:02 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2009-09-03 11:36:02 +0000 |
commit | d5911c9e9a5f3a19f1ae1ecc3b51676a4f9f2afa (patch) | |
tree | 9097f83d19e387c060a3fc1d80074f445756dde0 /build.xml | |
parent | 7389ef5a0f0b8f2059110c5c265a925d6e6240fc (diff) | |
download | xmlgraphics-fop-d5911c9e9a5f3a19f1ae1ecc3b51676a4f9f2afa.tar.gz xmlgraphics-fop-d5911c9e9a5f3a19f1ae1ecc3b51676a4f9f2afa.zip |
Moved the class UnicodeClasses to src/codegen/unicode, so that it is
only built when the classes.xml file is regenerated. Modified the
build file accordingly. Restored Java 5 features in
UnicodeClasses. Created a License utility class. Added a license
statement and a generated file statement to classes.xml. Made
GenerateLineBreakUtils.java use the License class, and made it avoid
trailing spaces in the generated file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@810896 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -436,8 +436,11 @@ list of possible build targets. <!-- (src/java/org/apache/fop/hyphenation/classes.xml). --> <!-- =================================================================== --> <target name="codegen-hyphenation-classes"> - <java classname="org.apache.fop.hyphenation.UnicodeClasses" resultproperty="classes.result" classpath="${build.classes.dir}"> - <arg value="${unidata.dir}"/> + <javac destdir="${build.codegen-classes.dir}" fork="${javac.fork}" debug="${javac.debug}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" source="${javac.source}" target="${javac.target}"> + <src path="${src.codegen.dir}/unicode/java"/> + </javac> + <java classname="org.apache.fop.hyphenation.UnicodeClasses" resultproperty="classes.result" classpath="${build.codegen-classes.dir}"> + <arg value="${src.dir}/java/org/apache/fop/hyphenation/classes.xml"/> </java> <condition property="classes.result.message" value="Generation of classes successful"> <not> |