Author: jmitchell Date: Mon Feb 28 19:50:00 2005 New Revision: 155752 URL: http://svn.apache.org/viewcvs?view=rev&rev=155752 Log: change custom build goal so that docs are not copied with each nightly
Modified: struts/build/trunk/maven.xml Modified: struts/build/trunk/maven.xml URL: http://svn.apache.org/viewcvs/struts/build/trunk/maven.xml?view=diff&r1=155751&r2=155752 ============================================================================== --- struts/build/trunk/maven.xml (original) +++ struts/build/trunk/maven.xml Mon Feb 28 19:50:00 2005 @@ -106,15 +106,19 @@ <format property="now" pattern="yyyy-MM-dd"/> </tstamp> - <j:set var="file" value="target/${pom.artifactId}-${pom.currentVersion}.jar"/> + <j:set var="distributions" value="target/distributions"/> <j:set var="build" value="../build"/> <j:set var="dir" value="${build}/${now}/${pom.artifactId}-${pom.currentVersion}"/> - <j:set var="docs" value="target/docs/"/> <ant:mkdir dir="${dir}"/> - <ant:copy file="${file}" - todir="${dir}"/> + <ant:copy todir="${dir}"> + <fileset dir="${distributions}"/> + </ant:copy> + </goal> + + <goal name="struts:gather:docs"> + <j:set var="build" value="../build"/> <ant:mkdir dir="${build}/latest-docs/${pom.artifactId}-${pom.currentVersion}"/> <copy todir="${build}/latest-docs/${pom.artifactId}-${pom.currentVersion}"> <fileset dir="target/docs"/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]