Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 16597 invoked by uid 500); 24 Apr 2001 21:23:19 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 16566 invoked from network); 24 Apr 2001 21:23:17 -0000 Message-ID: <025901c0cd05$161f6260$012a2a0a@seessle.de> From: "Nico Seessle" To: References: <264632F0D885D411916400010263722D4E683D@mail.journee.com> Subject: Re: Newbie "Classpath" question. Date: Tue, 24 Apr 2001 23:25:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ----- Original Message ----- From: "David Scassa" To: Sent: Tuesday, April 24, 2001 11:04 PM Subject: Newbie "Classpath" question. > Is there a better "more clear" description on how to build a classpath > dynamically and include the classpath reference from within the build.xml > file? > > My impression is that you have to set your classpath from the cmd line in > Win2K, then execute Ant. That would seem to me to be a little cumbersome. > I'd like to be able to "scan" the src tree for any .jar files and then > dynamically build the classpath with those .jar file paths appended. > > Is this possible with Ant? Yes, you can for example use something like The above (escpecially the javac-task) may contain errors. Nico