some small things
[mir.git] / build.xml
index e6b15b6..1a0ef69 100755 (executable)
--- a/build.xml
+++ b/build.xml
     <copy todir="${deploy.home}">
       <fileset dir="web"/>
     </copy>
+        
+    <copy todir="${deploy.webinf}/classes">
+       <fileset dir="source">
+               <include name="**/*.xml"/>
+       </fileset>
+    </copy>
 
     <copy todir="${deploy.webinf}/etc">
       <fileset dir="etc" excludes="bundles/** hibernate.cfg.xml web.xml"/>
       <fileset dir="lib/hibernate">
       </fileset>
     </copy>
-    
-    <copy todir="${deploy.classes}">
-       <fileset dir="${dist.src}">
-               <include name="*.xml"/>
-       </fileset>
-    </copy>
   </target>
 
 
   </target>
   
   <target name="rundbtest" depends="compile">
-       <java classname="mir.core.test.Test">
+       <java fork="true" classname="mir.core.test.Test">
                <classpath>
+                       <fileset dir="${tomcat.home}/common/endorsed">
+                               <include name="**/*.jar"/>
+                       </fileset>
+                       <fileset dir="${tomcat.home}/common/lib">
+                               <include name="**/*.jar"/>
+                       </fileset>
                        <fileset dir="${deploy.webinf}/lib">
-                               <include name="*.jar"/>
+                               <include name="**/*.jar"/>
                        </fileset>
                        <path id="classes" path="${deploy.classes}"/>
                </classpath>