comment out extrasource stuff for now, until the dir actually contains files, right...
[mir.git] / build.xml
index 6385509..1c0ff36 100755 (executable)
--- a/build.xml
+++ b/build.xml
@@ -59,7 +59,7 @@
   <property name="app.name"       value="Mir"/>
   <property name="deploy.home"    value="../${app.name}"/>
 
-  <!-- If you want to use the very good jikes compiler, uncomment this -->
+  <!-- don't use unless your Jikes is >= v1.18 -->
   <!-- <property name="build.compiler"   value="jikes"/>-->
 
 
@@ -81,6 +81,7 @@
     <pathelement path="${deploy.home}"/>
     <pathelement path="${deploy.classes}"/>
     <pathelement path="source"/>
+    <!--<pathelement path="etc/extrasource"/>-->
     <fileset dir="lib">
       <include name="*.jar"/>
     </fileset>
@@ -93,7 +94,7 @@
        <fileset dir="${tomcat.home}">
                <include name="lib/apps/*.jar" />
        </fileset>
-  <!-- for libs shared between tomcat and webapps (tomcat 4.0.x) -->
+  <!-- for libs shared between tomcat and webapps (tomcat 4.x.x) -->
        <fileset dir="${tomcat.home}">
                <include name="common/lib/*.jar" />
        </fileset>
        <fileset dir="${tomcat.home}">
                <include name="lib/*.jar" />
        </fileset>
+  <!-- for libs shared between webapps (tomcat 4.1.x) -->
+       <fileset dir="${tomcat.home}">
+               <include name="shared/lib/*.jar" />
+       </fileset>
   </path>
 
 
       <srcfileset
         dir="source"
         includes="**/*.java"/>
+<!-- ML: now why can't this be added?
+      <srcfileset
+        dir="etc/extrasource"
+        includes="**/*.java"/> -->
       <srcfileset
         dir="lib"
         includes="*.jar"/>
         dir="${deploy.classes}"
         includes="**/*.class"/>
     </dependset>
-    <javac srcdir="source" destdir="${deploy.classes}"
+    <javac destdir="${deploy.classes}"
            debug="on" optimize="off" deprecation="on">
+      <src path="source"/>
+      <!--<src path="etc/extrasource"/>-->
       <classpath refid="project.class.path"/>
     </javac>
   </target>