add flatten mapper to docs for copying into WEB-INF

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320954 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-14 00:36:41 +00:00
parent ed17ce3aba
commit 46479bda43
2 changed files with 6 additions and 0 deletions

View File

@ -102,6 +102,11 @@
<fileset refid="my.compile.dependency.fileset"/> <fileset refid="my.compile.dependency.fileset"/>
</copy> </copy>
<copy todir="target/my-compile-dependencies/WEB-INF/lib">
<fileset refid="my.compile.dependency.fileset"/>
<mapper type="flatten" />
</copy>
<antcall target="test-deploy" /> <antcall target="test-deploy" />
<antcall target="test-legacy-pom" /> <antcall target="test-legacy-pom" />

View File

@ -102,6 +102,7 @@ Using the Antlib
----- -----
<copy todir="${webapp.output}/WEB-INF/lib"> <copy todir="${webapp.output}/WEB-INF/lib">
<fileset refid="depdendency.fileset" /> <fileset refid="depdendency.fileset" />
<mapper type="flatten" />
</copy> </copy>
----- -----