You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jh...@apache.org on 2009/04/21 11:17:21 UTC

svn commit: r767082 - /ant/core/trunk/docs/manual/running.html

Author: jhm
Date: Tue Apr 21 09:17:21 2009
New Revision: 767082

URL: http://svn.apache.org/viewvc?rev=767082&view=rev
Log:
Example: How to pass multiple JARs via -lib

Modified:
    ant/core/trunk/docs/manual/running.html

Modified: ant/core/trunk/docs/manual/running.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/running.html?rev=767082&r1=767081&r2=767082&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/running.html (original)
+++ ant/core/trunk/docs/manual/running.html Tue Apr 21 09:17:21 2009
@@ -193,16 +193,19 @@
 </blockquote>
 <p>runs Ant using the <code>build.xml</code> file in the current directory, on
 the default target.</p>
+
 <blockquote>
   <pre>ant -buildfile test.xml</pre>
 </blockquote>
 <p>runs Ant using the <code>test.xml</code> file in the current directory, on
 the default target.</p>
+
 <blockquote>
   <pre>ant -buildfile test.xml dist</pre>
 </blockquote>
 <p>runs Ant using the <code>test.xml</code> file in the current directory, on
 the target called <code>dist</code>.</p>
+
 <blockquote>
   <pre>ant -buildfile test.xml -Dbuild=build/classes dist</pre>
 </blockquote>
@@ -214,8 +217,15 @@
   <pre>ant -lib /home/ant/extras</pre>
 </blockquote>
 <p>runs Ant picking up additional task and support jars from the
-/home/ant/extras location
-</p>
+/home/ant/extras location</p>
+
+<blockquote>
+  <pre>ant -lib one.jar;another.jar</pre>
+  <pre>ant -lib one.jar -lib another.jar</pre>
+</blockquote>
+<p>adds two jars to Ants classpath.</p>
+
+
 
 <h3><a name="files">Files</a></h3>