<! classpath >
<path id=classpath>
<fileset dir=${libdir}>
<include name=**/*jar/>
</fileset>
</path>
<path id=projlibs>
<fileset dir=${distlib}>
<include name=**/*jar/>
</fileset>
</path>
<target name=init>
<mkdir dir=${docdir}/>
<mkdir dir=${distroot}/>
<mkdir dir=${distproj}/>
<mkdir dir=${distlib}/>
<tstamp/>
<echo message=${TSTAMP}></echo>
</target>
<target name=all depends=compilesrc javadoc checkstyle/>
<! 编译源文件 >
<target name=compilesrc depends=init>
<mkdir dir=${distclasses}/>
<javac destdir=${distclasses} deprecation=on>
<src path=${srccode}/>
<classpath refid=classpath/>
</javac>
<jar jarfile=${distlib}/${libjar} basedir=${distclasses}>
<include name=**/*class/>
</jar>
</target>
[] [] [] []