Author: musachy
Date: Sat Jan 10 18:11:22 2009
New Revision: 733408

URL: http://svn.apache.org/viewvc?rev=733408&view=rev
Log:
Replace ant 'get' task by 'exec' task calling wget

Modified:
    struts/struts2/trunk/assembly/pom.xml

Modified: struts/struts2/trunk/assembly/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/assembly/pom.xml?rev=733408&r1=733407&r2=733408&view=diff
==============================================================================
--- struts/struts2/trunk/assembly/pom.xml (original)
+++ struts/struts2/trunk/assembly/pom.xml Sat Jan 10 18:11:22 2009
@@ -248,7 +248,12 @@
                         <configuration>
                             <tasks>
                                 <mkdir dir="${project.build.directory}/cwiki" 
/>
-                                <get 
src="http://struts.apache.org/2.x/docs.zip"; 
dest="${project.build.directory}/docs.zip" ignoreerrors="false" />
+                                <exec executable="wget">
+                                                           <arg 
value="--progress=dot:mega" />
+                                                           <arg value="-nc" />
+                                                           <arg 
value="--output-document=${project.build.directory}/docs.zip" />
+                                                           <arg 
value="http://struts.apache.org/2.x/docs.zip"; />
+                                                       </exec>    
                                 <unzip 
src="${project.build.directory}/docs.zip" 
dest="${project.build.directory}/cwiki" />
                             </tasks>
                         </configuration>


Reply via email to