<?xml version="1.0"?>
<project name="build.xml" default="build">
<property name="src.java.dir" location="src"/>
<property name="build.classes.dir" location="build"/>
<path id="project.classpath">
<pathelement location="${build.classes.dir}"/>
</path>
<target name="init">
<mkdir dir="${build.classes.dir}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src.java.dir}" destdir="${build.classes.dir}">
<include name="**/EventCodooba.java"/>
</javac>
</target>
<target name="build" depends="compile">
<java classname="com.codooba.EventCodooba.EventCodooba" failonerror="true">
<classpath refid="project.classpath"/>
</java>
<echo>If you see this, it works!!!</echo>
</target>
</project>
posted on 2007-10-16 17:01
Zhangwenlong 阅读(242)
评论(0) 编辑 收藏