From e953597e4e5cf41ca988cd49f3c819ce67f0bae3 Mon Sep 17 00:00:00 2001 From: "Jesse N. Glick" Date: Tue, 23 Jan 2007 16:59:06 +0000 Subject: [PATCH] #38799 cont'd: clearer docs on avoiding -lib. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@499080 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/install.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/manual/install.html b/docs/manual/install.html index f8ce338ee..2a209828d 100644 --- a/docs/manual/install.html +++ b/docs/manual/install.html @@ -256,6 +256,19 @@ libraries must be added to Ant's classpath, in any of the following ways the JAR files visible to all Java applications, and causes no end of support calls. + +
  • + In some <classpath> accepted by the task itself. + For example, as of Ant 1.7.0 you can run the <junit> + task without junit.jar in Ant's own classpath, so long as + it is included (along with your program and tests) in the classpath + passed when running the task. Where possible, this option is generally + to be preferred, as the Ant script itself can determine the best path + to load the library from: via relative path from the basedir (if you + keep the library under version control with your project), according + to Ant properties, environment variables, Ivy downloads, whatever you like. +
  • +