From 61d71e17ffb52b933a44a265edbddc6a2df4081f Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Fri, 14 Oct 2005 00:49:57 +0000 Subject: [PATCH] more fixes on the ant task doco git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320956 13f79535-47bb-0310-9956-ffa450edef68 --- maven-site/src/site/apt/ant-tasks.apt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/maven-site/src/site/apt/ant-tasks.apt b/maven-site/src/site/apt/ant-tasks.apt index fa912439ed..dc6f715963 100755 --- a/maven-site/src/site/apt/ant-tasks.apt +++ b/maven-site/src/site/apt/ant-tasks.apt @@ -96,16 +96,23 @@ Using the Antlib ----- Another option you can use is <<>>, which will give you a fileset reference that can be used to copy - files into a particular location. For example, to populate <<>> with your dependencies, and assuming - you passed <<>> to the <<>> task, you could use the following: + files into a particular location. For example, to populate <<>> with your dependencies + you could use the following: ----- + + ... + - + ----- + Note the <<>> attribute in this call. This ensures that your web application only includes your compile + and runtime dependencies, excluding those that are only for testing or are expected to already be provided in + the servlet container. + You can also specify a <<>> parameter on each dependency. This changes the behaviour of transitive dependencies and is useful for building different types of classpaths. To see how it affects the behaviour of the dependencies, see the {{{dependencies.html#Dependency_Scope} Dependency Mechanism}}