blob: 96faf3129e8e2f6a89f507b6bd8580dc5101a870 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project name="export-executable" default="build" basedir="..">
<property name="gcc-path" value="d:/gcc/gcc-3.4" />
<property name="binaryname" value="ejavac" />
<property name="dest" value="../../bingcj/" />
<property name="work" value="${dest}tmp/" />
<property name="gcj_script_name" value="export-executable.xml"/>
<target name="build">
<echo message="target: ${dest}" />
<mkdir dir="${dest}" />
<delete dir="${dest}" />
<mkdir dir="${dest}" />
<copy todir="${work}">
<fileset dir="batch/" excludes='**/*.html' />
</copy>
<copy todir="${work}">
<fileset dir="../GcjHelper/" includes='**/*.java' />
</copy>
<copy todir="${work}">
<fileset dir="compiler/" excludes='**/*.html' />
</copy>
<echo message="generate build script" />
<java classname="GenerateBuildScript">
<sysproperty key="user.dir" value="${basedir}/scripts"/>
<arg value="${gcj_script_name}"/>
<arg value="${basedir}/${work}"/>
<classpath>
<pathelement path="${basedir}/scripts"/>
</classpath>
</java>
<echo message="run the new build script" />
<ant antfile="${basedir}/scripts/export-executable.xml"/>
<delete file="${basedir}/scripts/export-executable.xml"/>
</target>
</project>