[cvs] expresso commit by mtraum: move unit test resources to pom

JCorporate Ltd jcorp at jcorp2.servlets.net
Tue Nov 16 09:39:50 PST 2004


Log Message:
-----------
move unit test resources to pom

Modified Files:
--------------
    expresso:
        maven.xml
        project.xml

Revision Data
-------------
Index: project.xml
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/project.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -Lproject.xml -Lproject.xml -u -r1.7 -r1.8
--- project.xml
+++ project.xml
@@ -547,6 +547,20 @@
 		<aspectSourceDirectory/>
 		<!-- Unit test cases -->
 		<unitTest>
+			<resources>
+				<resource>
+					<directory>expresso-web/WEB-INF/src</directory>
+					<include>**/*.xml</include>
+					<include>**/*.dtd</include>
+					<include>**/*.xsl</include>
+				</resource>
+				<resource>
+					<directory>expresso-web/WEB-INF/test-src</directory>
+					<include>**/*.xml</include>
+					<include>**/*.dtd</include>
+					<include>**/*.xsl</include>
+				</resource>
+			</resources>
 			<includes>
 				<include>**/ExpressoTestSuite.java</include>
 			</includes>
Index: maven.xml
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/maven.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lmaven.xml -Lmaven.xml -u -r1.2 -r1.3
--- maven.xml
+++ maven.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:j="jelly:core" xmlns:ant="jelly:ant">
	<preGoal name="test:test">
		<ant:copy todir="${maven.test.dest}">
			<ant:fileset dir="${basedir}/expresso-web/WEB-INF/test-src">
				<include name="**/*.xml"/>
				<include name="**/*.dtd"/>
				<include name="**/*.xsl"/>
				<include name="**/*.properties"/>
			</ant:fileset>
		</ant:copy>
		<ant:mkdir dir="${maven.build.dir}/test-log"/>
		<ant:mkdir dir="${maven.build.dir}/test-config"/>
		<ant:copy todir="${maven.build.dir}/test-config">
			<ant:fileset dir="${basedir}/expresso-web/WEB-INF/config">
				<include name="*.*"/>
				<exclude name="expresso-config.xml"/>
			</ant:fileset>
			<ant:fileset dir="${basedir}/expresso-web/WEB-INF/testconfig">
				<include name="*.*"/>
			</ant:fileset>
		</ant:copy>
	</preGoal>	
</project>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:j="jelly:core" xmlns:ant="jelly:ant">
	<preGoal name="test:test">
		<ant:mkdir dir="${maven.build.dir}/test-log"/>
		<ant:mkdir dir="${maven.build.dir}/test-config"/>
		<ant:copy todir="${maven.build.dir}/test-config">
			<ant:fileset dir="${basedir}/expresso-web/WEB-INF/config">
				<include name="*.*"/>
				<exclude name="expresso-config.xml"/>
			</ant:fileset>
			<ant:fileset dir="${basedir}/expresso-web/WEB-INF/testconfig">
				<include name="*.*"/>
			</ant:fileset>
		</ant:copy>
	</preGoal>	
</project>
\ No newline at end of file


More information about the cvs mailing list