Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 87535 invoked from network); 23 Jan 2003 17:11:01 -0000 Received: from exchange.sun.com (192.18.33.10) by 208.185.179.12.available.above.net with SMTP; 23 Jan 2003 17:11:01 -0000 Received: (qmail 4416 invoked by uid 97); 23 Jan 2003 17:10:03 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 4293 invoked by uid 97); 23 Jan 2003 17:10:03 -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 3950 invoked by uid 98); 23 Jan 2003 17:09:59 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Thu, 23 Jan 2003 10:04:09 -0700 From: Bill Winspur Subject: Re: Which task To: Ant Users List Message-id: <005201c2c301$7bc707a0$0201a8c0@mungo> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N I just joined this thread, and missed earlier messages, but... I've been looking for a more primitive 'which' functionality on ant, more like the unix 'which ' command. I'd like to search the host command path, available in system property 'java.library.path', asking the question: "which directory from classpath x contains file y?". An ideal task would be something like: or ... I've checked the faq and browsed the 1.5.1 manual for 1.83 hours, but have not found a way to determine a specified file's location on a path. Is there a way to do this in ant ? Bill Winspur. -- To unsubscribe, e-mail: For additional commands, e-mail: