2002/07/15 23:03:49
[org.ibex.core.git] / build.xml
index 50a8df4..7db2fcd 100644 (file)
--- a/build.xml
+++ b/build.xml
     <!-- compiles all .java files into .class files; all other tasks predepend on this since they need the <taskdef/>'s -->
     <target name="compile">
         <mkdir dir="bin/"/>
-        <echo message="compiling  .java -> .class"/>
+        <echo message="compiling   .java -> .class [xwt]"/>
         <javac destdir="bin/" deprecation="no">
             <src path="src/"/>
             <include name="**/*.java"/>
             <classpath>
+
                 <!-- don't EVER include the following line anywhere else; it causes really bizarre errors -->
                 <pathelement location="${gcc-path}/share/libgcj.jar"/>
                 <path refid="classpath"/>
+
+                <!-- this is for people who don't have libgcj.jar -->
+                <pathelement location="lib/libgcj-minimal.jar"/>
+
             </classpath>
         </javac>
         <taskdef name="bash" classname="org.xwt.tasks.BashTask">
             <classpath path="bin/"/>
         </taskdef>
+        <echo message="updating builtin.xwar"/>
+        <zip update="true" zipfile="bin/org/xwt/builtin.xwar" basedir="src" includes="org/xwt/builtin/*.png,org/xwt/builtin/*.xwt"/>
     </target>
 
     <target name="build" depends="compile">