Browse Source

#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
master
Jesse N. Glick 18 years ago
parent
commit
e953597e4e
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      docs/manual/install.html

+ 13
- 0
docs/manual/install.html View File

@@ -256,6 +256,19 @@ libraries must be added to Ant's classpath, in any of the following ways
the JAR files visible to <i>all</i> Java applications, and causes
no end of support calls.
</li>

<li>
In some <code>&lt;classpath&gt;</code> accepted by the task itself.
For example, as of Ant 1.7.0 you can run the <code>&lt;junit&gt;</code>
task without <code>junit.jar</code> 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.
</li>

</ul>

<p>


Loading…
Cancel
Save