<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="build" name="jrubyfx">
  <property file="build.properties"/>
  <property name="src.java" value="src"/>
  <property name="target" value="target"/>
  <property name="target.classes" value="${target}/classes"/>
  <property name="jruby.jar" value="${jruby.home}/lib/jruby.jar"/>
  <property name="version.source" value="1.7"/>
  <property name="version.target" value="1.7"/>

  <path id="build.classpath">
    <pathelement location="${jruby.jar}"/>
    <pathelement location="build_lib/jfxrt.jar"/>
  </path>

  <target name="init">
    <mkdir dir="${target}"/>
    <mkdir dir="${target.classes}"/>
  </target>

  <target name="clean">
    <delete dir="target"/>
  </target>

  <target depends="init" name="build" description="Compiles Java source files">
    <javac debug="true" includeAntRuntime="false" destdir="${target.classes}" source="${version.source}" target="${version.target}">
      <classpath refid="build.classpath"/>
      <src path="${src.java}"/>
    </javac>
  </target>

  <target depends="build" name="jar" description="Build a JAR file with the generated Java class files">
    <jar destfile="lib/jrubyfx.jar" basedir="${target.classes}">
      <manifest>
        <attribute name="Built-By" value="${user.name}"/>
      </manifest>
    </jar>
  </target>
</project>

<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="build" name="jrubyfx">
  <property file="build.properties"/>
  <property name="src.java" value="src"/>
  <property name="target" value="target"/>
  <property name="target.classes" value="${target}/classes"/>
  <property name="jruby.jar" value="${jruby.home}/lib/jruby.jar"/>
  <property name="version.source" value="1.7"/>
  <property name="version.target" value="1.7"/>

  <path id="build.classpath">
    <pathelement location="${jruby.jar}"/>
    <pathelement location="build_lib/jfxrt.jar"/>
  </path>

  <target name="init">
    <mkdir dir="${target}"/>
    <mkdir dir="${target.classes}"/>
  </target>

  <target name="clean">
    <delete dir="${target}"/>
  </target>

  <target depends="init" name="build" description="Compiles Java source files">
    <javac debug="true" includeAntRuntime="false" destdir="${target.classes}" source="${version.source}" target="${version.target}">
      <classpath refid="build.classpath"/>
      <src path="${src.java}"/>
    </javac>
  </target>

  <target depends="build" name="jar" description="Build a JAR file with the generated Java class files">
    <jar destfile="lib/jrubyfx.jar" basedir="${target.classes}">
      <manifest>
        <attribute name="Built-By" value="${user.name}"/>
      </manifest>
    </jar>
  </target>
</project>

Clean directory ${target} property points to.
Clean directory ${target} property points to.
