<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" classpathref="project.class.path"/>
+ <java classname="mir.core.test.Test">
+ <classpath>
+ <fileset dir="${deploy.webinf}/lib">
+ <include name="*.jar"/>
+ </fileset>
+ <path id="classes" path="${deploy.classes}"/>
+ </classpath>
+ <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/>
+ </java>
</target>
</project>