Last-Update: Thu, 10 Feb 2011 10:26:38 +0100
Description: Strip OSX specific things from build.xml

--- a/build.xml
+++ b/build.xml
@@ -7,7 +7,6 @@
     <!-- set global properties for this build -->
     <property name="src" location="src"/>
     <property name="build" location="build"/>
-    <property name="build-mac-only" location="build-mac-only"/>
 
     <property name="lib" location="lib"/>
     <property name="dist" location="dist"/>
@@ -19,16 +18,12 @@
         <tstamp/>
         <!-- Create the build directory structure used by compile -->
         <mkdir dir="${build}"/>
-        <mkdir dir="${build-mac-only}"/>
         <mkdir dir="${dist}"/>
     </target>
 
     <target name="compile" depends="init">
         <!-- Compile the java code from ${jamsrc} into ${build} -->
 
-        <condition property="isMac">
-            <os family="mac"/>
-        </condition>
         <javac source="1.5" target="1.5" srcdir="${src}" destdir="${build}">
             <include name="jam/**/*"/>
             <exclude name="jam/**/maconly/*"/>
@@ -39,27 +34,6 @@
         </copy>
     </target>
 
-    <target name="compile-mac-only" depends="init">
-        <!-- Compile the java code from ${jamsrc} into ${build} -->
-        <condition property="isMac">
-            <os family="mac"/>
-        </condition>
-        <javac source="1.5" target="1.5" srcdir="${src}" destdir="${build-mac-only}">
-            <include name="jam/**/maconly/*"/>
-        </javac>
-    </target>
-
-    <target name="dist-mac-only" depends="compile-mac-only" description="generate the -mac-only distribution">
-        <!-- Create the distribution directory -->
-        <mkdir dir="${dist}"/>
-
-        <!-- create the mac-only jar file -->
-        <jar jarfile="${lib}/jam-mac-only.jar">
-            <fileset dir="${build-mac-only}" includes="**/mac*/**/*.class,*.properties"/>
-        </jar>
-    </target>
-
-
     <target name="dist" depends="compile" description="generate the distribution">
         <!-- Create the distribution directory -->
         <mkdir dir="${dist}"/>
@@ -67,7 +41,6 @@
         <!-- Put everything in ${build} into the jam.jar file -->
         <jar jarfile="${dist}/jam.jar">
             <fileset dir="${build}" includes="**/*.class,**/*.properties,**/*.png"/>
-            <zipgroupfileset dir="${lib}" includes="jam-mac-only.jar"/>
         </jar>
     </target>
 
