<project default="all" basedir="."><!-- <property name="HBM-HOME" location="/opt/java/hibernate-3.0" />--><!-- <property name="JDBC"     location="/opt/java/hsqldb/lib/hsqldb.jar" />-->  <property name="HBM-HOME" location="C:\java\hibernate-3.0" />  <property name="JDBC"     location="C:\java\hsqldb\lib\hsqldb.jar" />  <property name="src-dir"  location="src" />  <property name="res-dir"  location="res" />  <property name="cfg-dir"  location="cfg" />  <property name="obj-dir"  location="obj" />  <property name="TALK"     value="false" />      <path id="classpath.base">    <pathelement location="${obj-dir}" />    <pathelement location="${HBM-HOME}/hibernate3.jar" />    <fileset dir="${HBM-HOME}/lib" includes="**/*.jar" />    <pathelement location="${JDBC}" />    <pathelement location="${res-dir}" />  </path>      <path id="classpath.run">    <pathelement location="${cfg-dir}" />    <path refid="classpath.base" />  </path>      <target name="init">    <mkdir dir="${obj-dir}" />  </target>  	  <target name="compile" depends="init">    <javac srcdir="${src-dir}" destdir="${obj-dir}">      <classpath refid="classpath.base" />    </javac>  </target>	  <target name="clean-compile">    <delete verbose="${TALK}" dir="${obj-dir}" />  </target>  	  <target name="run" depends="compile">    <java classname="MappingXML" fork="true">      <jvmarg value="-Djava.util.logging.config.file=${cfg-dir}/log.properties"/>      <classpath refid="classpath.run" />    </java>  </target>  	  <target name="dist">    <jar destfile="distrib.jar"         basedir="."         includes="build.xml,src/**,cfg/**"         />  </target>   	  <target name="clean-dist">    <delete VERBOSE="${TALK}" file="distrib.jar"/>  </target>  		  <target name="all" depends="run" />  <target name="clean" depends="clean-compile,clean-dist" /></project>
