日期:2014-05-19 浏览次数:20770 次
<?xml version="1.0" encoding="UTF-8"?>
<project name="Retrotranslator" default="translate">
<property file="build-dist.properties"/>
<path id="compile.classpath">
<fileset dir="${Retrotranslator.dir}">
<include name="**/*.jar"/>
</fileset>
</path>
<!-- 用 Retrotranslator 把上面编译的Class文件转换成JVM1.4的Class文件-->
<target name="translate">
<taskdef name="retrotranslator"
classname="net.sf.retrotranslator.transformer.RetrotranslatorTask" />
<retrotranslator
destdir="d:\JDK1.5 convert 1.4\Retrotranslator\Retrotranslator\dist" verify="true"
srcdir="e:\workspace\fundacc\fundacc\WEB-INF\classes">
<!-- 项目中用到的包或类 -->
<classpath refid="classpath"/>
<!-- 1.4JDK的运行时包 -->
<classpath location="e:/Program Files/Java/j2sdk1.4.2/jre/lib/rt.jar"/>
</retrotranslator>
</target>
</project>