帆软使用的第三方框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

62 lines
2.4 KiB

<?xml version="1.0"?>
<project name="iText" basedir="D:\FineReport\develop\code">
<property name="jdk6.5.home" value="D:\FineReport\develop\java\jdk6.5"/>
<property name="jdk1.4.home" value="D:\FineReport\develop\java\jdk1.4.2"/>
<property name="src" value="${basedir}\ThirdTools\iText\src"/>
<property name="classes" value="${basedir}\lib\ThirdTools"/>
<!-- ============================================================= -->
<!-- Prepares the project -->
<!-- ============================================================= -->
<target name="prepare">
<copy todir="${classes}">
<fileset dir="${src}">
<exclude name="**/.settings/**"/>
<exclude name=".classpath"/>
<exclude name=".project"/>
<exclude name="**/*.java"/>
<exclude name="**/*.db"/>
<exclude name="**/*.g"/>
<exclude name="**/package.html"/>
</fileset>
</copy>
</target>
<!-- ============================================================= -->
<!-- Classpath with libraries needed to compile this application -->
<!-- ============================================================= -->
<path id="compile.classpath" >
<!-- org.bouncycastle -->
<pathelement location="${basedir}/ThirdTools/iText/lib/bcmail-jdk14-138.jar"/>
<pathelement location="${basedir}/ThirdTools/iText/lib/bcprov-jdk14-138.jar"/>
<pathelement location="${basedir}/ThirdTools/iText/lib/bctsp-jdk14-138.jar"/>
</path>
<!-- ============================================================= -->
<!-- Compiles the lookandfeel code -->
<!-- ============================================================= -->
<target name="compile-iText" depends = "prepare">
<!--Copy Resources-->
<copy todir="${classes}">
<fileset dir="${src}">
<exclude name="**/.settings/**"/>
<exclude name=".classpath"/>
<exclude name=".project"/>
<exclude name="**/*.java"/>
<exclude name="**/*.db"/>
<exclude name="**/*.g"/>
</fileset>
</copy>
<!-- compile the java files -->
<javac destdir="${classes}" debug="false" optimize="on"
fork="true" memoryMaximumSize="512m" listfiles="false" executable="${jdk1.4.home}/bin/javac.exe">
<src path="${src}"/>
<exclude name="**/.svn/**"/>
<classpath refid="compile.classpath"/>
</javac>
</target>
</project>