Return-Path:
Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org
Received: (qmail 63456 invoked from network); 21 Apr 2009 09:17:44 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3)
by minotaur.apache.org with SMTP; 21 Apr 2009 09:17:44 -0000
Received: (qmail 50886 invoked by uid 500); 21 Apr 2009 09:17:44 -0000
Delivered-To: apmail-ant-notifications-archive@ant.apache.org
Received: (qmail 50831 invoked by uid 500); 21 Apr 2009 09:17:44 -0000
Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@ant.apache.org
Delivered-To: mailing list notifications@ant.apache.org
Received: (qmail 50822 invoked by uid 99); 21 Apr 2009 09:17:44 -0000
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 09:17:44 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=10.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 09:17:42 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
id 8DA54238898F; Tue, 21 Apr 2009 09:17:21 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r767082 - /ant/core/trunk/docs/manual/running.html
Date: Tue, 21 Apr 2009 09:17:21 -0000
To: notifications@ant.apache.org
From: jhm@apache.org
X-Mailer: svnmailer-1.0.8
Message-Id: <20090421091721.8DA54238898F@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
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 @@
runs Ant using the build.xml
file in the current directory, on
the default target.
+
ant -buildfile test.xml
runs Ant using the test.xml
file in the current directory, on
the default target.
+
ant -buildfile test.xml dist
runs Ant using the test.xml
file in the current directory, on
the target called dist
.
+
ant -buildfile test.xml -Dbuild=build/classes dist
@@ -214,8 +217,15 @@
ant -lib /home/ant/extras
runs Ant picking up additional task and support jars from the
-/home/ant/extras location
-
+/home/ant/extras location
+
+
+ ant -lib one.jar;another.jar
+ ant -lib one.jar -lib another.jar
+
+adds two jars to Ants classpath.
+
+