build.xml:
<?xml version="1.0"?>
<!-- - - - - - - - - - - - - - - - - - - - - - -->
<!-- Mac Java!                                 -->
<!-- Ant build file (build.xml)                -->
<!-- Command line usage:                       -->
<!--    $ ant build    #creates executable jar -->
<!--    $ ant run      #runs executable jar    -->
<!-- http://centerkey.com/mac/java             -->
<!-- - - - - - - - - - - - - - - - - - - - - - -->
<project>
   <target name="build">
      <javac srcdir="." />
      <jar destfile="ShowTime.jar">
         <fileset dir="." includes="*.class" />
         <manifest>
            <attribute name="Main-Class" value="ShowTime" />
         </manifest>
      </jar>
   </target>
   <target name="run">
      <java jar="ShowTime.jar" fork="true" />
   </target>
</project>