소스 검색

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
pull/33/head
Kelly Campbell 23 년 전
부모
커밋
65253f09a6
2개의 변경된 파일20개의 추가작업 그리고 4개의 파일을 삭제
  1. 20
    4
      build.xml
  2. BIN
      lib/ant.jar

+ 20
- 4
build.xml 파일 보기

@@ -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
lib/ant.jar 파일 보기


Loading…
취소
저장