Author: pgier
Date: Fri Jul  2 06:42:14 2010
New Revision: 959876

URL: http://svn.apache.org/viewvc?rev=959876&view=rev
Log:
[MANTRUN-112] Add some extra checks to the copy task test

Added:
    maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/
    
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test1.txt   
(with props)
    
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test2.txt   
(with props)
Modified:
    maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml

Modified: maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml?rev=959876&r1=959875&r2=959876&view=diff
==============================================================================
--- maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml 
(original)
+++ maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml Fri 
Jul  2 06:42:14 2010
@@ -38,8 +38,15 @@ under the License.
         <version>@pom.version@</version>
         <configuration>
           <tasks>
-            <copy file="${project.build.directory}/../pom.xml" 
tofile="${project.build.directory}/pom-copy.xml" overwrite="true" 
verbose="true" failonerror="true" />
+            
+            <copy file="${basedir}/pom.xml" 
tofile="${project.build.directory}/pom-copy.xml" overwrite="true" 
verbose="true" failonerror="true" />
             <copy file="${project.build.directory}/junk.xml" 
tofile="${project.build.directory}/junk.xml" overwrite="true" verbose="true" 
failonerror="false" />
+            
+            <copy todir="${project.build.directory}/">
+              <fileset dir="${basedir}/stuff"/>
+            </copy>
+            <copy file="${basedir}/pom.xml" 
tofile="${project.build.directory}/pom-copy2.xml"/>
+            
           </tasks>
         </configuration>
       </plugin>

Added: 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test1.txt
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test1.txt?rev=959876&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test1.txt 
(added)
+++ 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test1.txt 
Fri Jul  2 06:42:14 2010
@@ -0,0 +1 @@
+test1
\ No newline at end of file

Propchange: 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test1.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test1.txt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test2.txt
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test2.txt?rev=959876&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test2.txt 
(added)
+++ 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test2.txt 
Fri Jul  2 06:42:14 2010
@@ -0,0 +1 @@
+test2
\ No newline at end of file

Propchange: 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test2.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/stuff/test2.txt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision


Reply via email to