making wget download docs from the site, requires wget, but removes other dependencies WW-2958

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@735051 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Wesley Wannemacher
2009-01-16 16:37:11 +00:00
parent 06123025dc
commit c6f015cd2c
+14 -6
View File
@@ -248,16 +248,24 @@
<configuration>
<tasks>
<mkdir dir="${project.build.directory}/cwiki" />
<!--
<exec executable="ssh" failonerror="true" >
<arg line="${username}@people.apache.org /www/struts.apache.org/2.x/docs-zip2.sh" />
</exec>
<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" />
-->
<exec executable="wget">
<arg value="-erobots=off" />
<arg value="-nH" />
<arg value="-nv" />
<arg value="-E" />
<arg value="-L" />
<arg value="-r" />
<arg value="http://struts.apache.org/2.x/docs/" />
</exec>
<move todir="${project.build.directory}/cwiki">
<fileset dir="2.x/docs"/>
</move>
</tasks>
</configuration>
<goals>