Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 80437 invoked from network); 1 Apr 2002 16:40:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Apr 2002 16:40:32 -0000 Received: (qmail 11380 invoked by uid 97); 1 Apr 2002 16:40:25 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 11347 invoked by uid 97); 1 Apr 2002 16:40:24 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 11336 invoked from network); 1 Apr 2002 16:40:24 -0000 From: "Justin Lawler" To: "Ant Users List" Subject: copying jars and including them in copy task? Date: Mon, 1 Apr 2002 17:39:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I want to have a list of jar files that span multiple directories, eg. c:/java/program1/program1.jar c:/java/program2/program2.jar c:/java/program3/program3.jar all of which should be included in the classpath for compilation. I also want them to be copied over to the tomcat ${deploy.home}/WEB-INF/lib directory when I deploy the application. How can I define the list of jars only once so that I can include them in the classpath AND copy them over in a copy command? I'd prefer not to have two lists of jars to maintain. as far as I know, the copy task doesn't take in a path.id as an argument? any help much appreciated, justin -- To unsubscribe, e-mail: For additional commands, e-mail: