Author: aheritier
Date: Wed Mar 23 13:38:16 2005
New Revision: 158836
URL: http://svn.apache.org/viewcvs?view=rev&rev=158836
Log:
Fix : copy users documentation from each subproject to build the pdf
Modified:
maven/maven-1/plugins/trunk/pdf/src/plugin-test/maven.xml
Modified: maven/maven-1/plugins/trunk/pdf/src/plugin-test/maven.xml
URL:
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/src/plugin-test/maven.xml?view=diff&r1=158835&r2=158836
==============================================================================
--- maven/maven-1/plugins/trunk/pdf/src/plugin-test/maven.xml (original)
+++ maven/maven-1/plugins/trunk/pdf/src/plugin-test/maven.xml Wed Mar 23
13:38:16 2005
@@ -32,6 +32,15 @@
</ant:fileset>
</ant:copy>
</j:forEach>
+ <!-- We copy the generated files to use them in the pdf -->
+ <j:forEach var="reactorProject" items="${multiprojects}">
+ <j:set var="fromDir"
value="${reactorProject.context.getVariable('maven.docs.src')}"/>
+ <ant:copy
todir="${maven.build.dir}/pdf/${maven.multiproject.aggregateDir}${reactorProject.artifactId}">
+ <ant:fileset dir="${fromDir}" force="true">
+ <ant:include name="**/*.*"/>
+ </ant:fileset>
+ </ant:copy>
+ </j:forEach>
<attainGoal name="pdf"/>
<assert:assertFileExists file="${maven.docs.dest}/${pom.artifactId}.pdf"/>
</goal>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]