some small changes and a new task to run a smal test of the persistence layer
authoridfx <idfx>
Sat, 16 Aug 2003 19:17:14 +0000 (19:17 +0000)
committeridfx <idfx>
Sat, 16 Aug 2003 19:17:14 +0000 (19:17 +0000)
build.xml

index b4429b4..2052c81 100755 (executable)
--- a/build.xml
+++ b/build.xml
@@ -85,6 +85,9 @@
     <fileset dir="lib">
       <include name="*.jar"/>
     </fileset>
+    <fileset dir="lib/hibernate">
+      <include name="*.jar"/>
+    </fileset>
     <pathelement path="${tomcat.home}/lib/tomcat.jar"/>
   <!-- for libs shared between tomcat and webapps (tomcat 3.3.x) -->
        <fileset dir="${tomcat.home}">
        <fileset dir="${tomcat.home}">
                <include name="shared/lib/*.jar" />
        </fileset>
+       <fileset dir="${tomcat.home}">
+               <include name="common/endorsed/*.jar" />
+       </fileset>
   </path>
 
 
     </copy>
 
     <copy todir="${deploy.webinf}/etc">
-      <fileset dir="etc" excludes="bundles/** web.xml"/>
+      <fileset dir="etc" excludes="bundles/** hibernate.cfg.xml web.xml"/>
     </copy>
     <copy todir="${deploy.classes}/bundles">
         <fileset dir="etc/bundles"/>
       <fileset dir="bundles"/>
     </copy>
     
+    <copy todir="${deploy.classes}" file="etc/hibernate.cfg.xml"/>
+    
     <copy todir="${deploy.home}/WEB-INF/lib">
       <fileset dir="lib">
         <exclude name="ant.jar"/>
         <exclude name="xerces.jar"/>
       </fileset>
+      <fileset dir="lib/hibernate">
+      </fileset>
     </copy>
   </target>
 
          basedir="${deploy.home}"
          excludes="${dist.war}"/>
   </target>
+  
+  <target name="rundbtest" depends="compile">
+       <java classname="mir.core.test.Test" classpathref="project.class.path"/>
+  </target>
 
 </project>