Think in java CODE 无法编译?
下载了Think in java 的code 但是不知道怎么用
给了几个BUILD.xml
能不能一次吧所有的java都编译通过?
----------------------------------
<?xml version="1.0"?>
<project name="Thinking in Java (bangbean)" default="bangbean.run" basedir=".">
<description>
build.xml for bangbean of "Thinking in Java, 3rd Edition"
by Bruce Eckel
Available at http://www.MindView.net
See copyright notice in CopyRight.txt
</description>
<!-- build all dependencies -->
<target name="bangbean.prepare">
<ant
antfile="${basedir}/../com/build.xml"
target="com.build"
dir="${basedir}/../com"
output="${basedir}/../com/log.txt"
/>
</target>
<!-- build all classes in this directory -->
<target name="bangbean.build" depends="bangbean.prepare" description="Compiles all the examples in bangbean">
<javac
srcdir="${basedir}"
classpath="${basedir}/.."
source="1.4"
/>
</target>
<!-- run all classes in this directory -->
<target name="bangbean.run" depends="bangbean.build" description="Compiles and runs all examples in bangbean">
</target>
<!-- delete all class files -->
<target name="clean" description="Removes all old class files">
<delete>
<fileset dir="${basedir}" includes="**/*.class"/>
<fileset dir="${basedir}" includes="**.*Output.txt"/>
</delete>
<echo message="clean successful"/>
</target>
</project>