Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 25695 invoked from network); 9 Jul 2002 01:22:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Jul 2002 01:22:41 -0000 Received: (qmail 17895 invoked by uid 97); 9 Jul 2002 01:22:52 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 17879 invoked by uid 97); 9 Jul 2002 01:22:52 -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 17867 invoked by uid 98); 9 Jul 2002 01:22:51 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <018c01c226e7$1cc3f3a0$6401a8c0@darden.virginia.edu> From: "Erik Hatcher" To: "Ant Users List" References: <2F80F1B5-92D5-11D6-8788-0003931D19A4@alodar.com> Subject: Re: ANT on Mac OS X Date: Mon, 8 Jul 2002 21:12:09 -0400 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Scott Ellsworth" > I certainly could, I suspect. At this point, I have a task that extends > "Java", and thus I already have some of the machinery in place. Can I > load that with a taskdef, or must it go in ant/lib? A BuildLogger or BuildListener needs to be in your system classpath, which when running with the wrapper scripts, includes all of ANT_HOME/lib. > I have a question about the classpath. Are the ant and optional jars in > the compiler classpath when things are set up in the out of the box > fashion? Yes (unfortunately). But I like to explicitly say includeAntRuntime="false" unless I'm building an Ant task or another Ant piece like a logger/listener. > If I understand things properly, the ant classes are not in > the classpath by default, so if I wish to compile a new logger, or a new > task, I have to have ant.jar in a known spot on the classpath. Our > build system is explicitly not allowed to know the location of the build > tools, so to compile an ANT task or logger, I have to put a copy of ANT > jar in our "third party libraries to be compiled against". So, your current version of Ant JAR files are in the classpath by default with . > As an alternative - how hard would it be for the official distribution > to have an interfaces.jar containing only those types and interfaces > that people are to be extending, and thus less likely to change over > time? I don't think there are any worries here. You can use includeAntRuntime to control it. By the way, my Titanium Mac OS X PowerBook (the old wimpy 667 model :) should arrive any day now. I'll be hitting you up for some help soon, probably! :)) Erik -- To unsubscribe, e-mail: For additional commands, e-mail: