<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"/>
</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>