You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by di...@apache.org on 2006/08/11 04:37:45 UTC

svn commit: r430629 - in /webservices/commons/trunk/modules/axiom: ./ maven.xml project.xml

Author: dims
Date: Thu Aug 10 19:37:45 2006
New Revision: 430629

URL: http://svn.apache.org/viewvc?rev=430629&view=rev
Log:
get tests working

Modified:
    webservices/commons/trunk/modules/axiom/   (props changed)
    webservices/commons/trunk/modules/axiom/maven.xml
    webservices/commons/trunk/modules/axiom/project.xml

Propchange: webservices/commons/trunk/modules/axiom/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Aug 10 19:37:45 2006
@@ -1 +1,3 @@
 target
+test-resources
+

Modified: webservices/commons/trunk/modules/axiom/maven.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/maven.xml?rev=430629&r1=430628&r2=430629&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/maven.xml (original)
+++ webservices/commons/trunk/modules/axiom/maven.xml Thu Aug 10 19:37:45 2006
@@ -17,6 +17,16 @@
         </j:if>
     </preGoal>
 
+    <preGoal name="test:test">
+	  <copy todir="test-resources">
+		<fileset dir="modules/axiom-tests/test-resources"/>
+	  </copy>
+    </preGoal>
+
+    <postGoal name="test:test">
+	  <delete dir="test-resources"/>
+    </postGoal>
+
     <postGoal name="java:compile">
         <javac destdir="${basedir}/target/classes/" srcdir="${basedir}/modules"
 			  debug="true"

Modified: webservices/commons/trunk/modules/axiom/project.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/project.xml?rev=430629&r1=430628&r2=430629&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/project.xml (original)
+++ webservices/commons/trunk/modules/axiom/project.xml Thu Aug 10 19:37:45 2006
@@ -200,7 +200,7 @@
     <build>
         <nagEmailAddress></nagEmailAddress>
         <sourceDirectory>src</sourceDirectory>
-        <unitTestSourceDirectory>test</unitTestSourceDirectory>
+        <unitTestSourceDirectory>modules/axiom-tests/src/test/java</unitTestSourceDirectory>
 
         <unitTest>
             <excludes>
@@ -213,7 +213,7 @@
 
             <resources>
                 <resource>
-                    <directory>${basedir}/test-resources</directory>
+                    <directory>${basedir}/modules/axiom-tests/test-resources</directory>
                 </resource>
                 <resource>
                     <directory>conf</directory>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org