Procházet zdrojové kódy

Updated build to take new xalan trax file into account.

Upgraded to Ant 1.2 to get new filter features needed
to fix property code generation location bug when using
Xalan 2.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194110 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_18_1
Kelly Campbell před 23 roky
rodič
revize
e305f76227
2 změnil soubory, kde provedl 20 přidání a 4 odebrání
  1. 20
    4
      build.xml
  2. binární
      lib/ant.jar

+ 20
- 4
build.xml Zobrazit soubor

@@ -117,7 +117,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<!-- =================================================================== -->
<!-- Initialization target -->
<!-- =================================================================== -->
<target name="init">
<target name="init" depends="init-avail, init-filters-xalan1, init-filters-xalan2">
<tstamp/>
<property name="Name" value="Fop"/>
<property name="name" value="fop"/>
@@ -211,16 +211,32 @@ Sometimes ant gives out this warnings, but the build is finished without any pro

<taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern"/>
<taskdef name="xslt" classname="org.apache.fop.tools.anttasks.Xslt"/>
<filter filtersfile="${build.src}/codegen/filter"/>

</target>

<target name="init-avail">
<available property="xt.present" classname="com.jclark.xsl.sax.XSLProcessor"/>
<available property="jimi.present" classname="com.sun.jimi.core.Jimi"/>
<available property="jai.present" classname="javax.media.jai.JAI"/>

<available property="trax.present" classname="javax.xml.transform.Transformer"/>
<available property="xalan1.present" classname="org.apache.xalan.xslt.XSLTProcessor"/>
<filter token="xalan1-replacestring" value="./build/src/org/apache/fop"/>
<filter token="xalan2-replacestring" value="../org/apache/fop"/>

</target>

<target name="init-filters-xalan1" depends="init-avail" if="xalan1.present" unless="trax.present">
<copy file="src/codegen/xalan1.filter" toFile="./build/src/codegen/filter" filtering="on"/>
</target>

<filter token="${replacestring}" value="${build.src}/${replacestring}"/>
<target name="init-filters-xalan2" depends="init-avail" if="trax.present">
<copy file="src/codegen/xalan2.filter" toFile="./build/src/codegen/filter" filtering="on"/>
</target>


<!-- =================================================================== -->
<!-- Help on usage -->
<!-- =================================================================== -->
@@ -316,7 +332,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<echo message="JAXP1.1 transforms is present. Installing TRaX support"/>
<copydir src="${src.dir}"
dest="${build.src}"
includes="**/${xsltransform},**/${trax}"/>
includes="**/${xsltransform},**/${trax},**/apps/TraxInputHandler.java"/>
</target>


@@ -327,7 +343,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<!-- copy src files -->
<copydir src="${src.dir}"
dest="${build.src}"
excludes="**/Makefile*, **/package.html, **/XT*,**/PDFOutputHandler.java,**/${jimi},**/${jai},**/${xsltransform},**/${trax},**/${xalan1}"/>
excludes="**/Makefile*, **/package.html, **/XT*,**/PDFOutputHandler.java,**/${jimi},**/${jai},**/${xsltransform},**/${trax},**/${xalan1},**/apps/TraxInputHandler.java"/>
</target>

<!-- =================================================================== -->

binární
lib/ant.jar Zobrazit soubor


Načítá se…
Zrušit
Uložit