Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 15912 invoked by uid 500); 22 Aug 2001 19:24:18 -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 15899 invoked from network); 22 Aug 2001 19:24:17 -0000 X-Sent: 22 Aug 2001 19:23:54 GMT From: "Supriya Saha" To: Subject: RE: taskdef and declarations Date: Wed, 22 Aug 2001 15:30:03 -0400 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 In-Reply-To: <060f01c12b3f$312a3bf0$8b00000a@TariqM> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Where have you defined the property? For custom ant task, in taskdef you have to provide a name of the task and the classname which is the actual reference (including the package reference) to the ant task class. Also you have to include the jar (containing your custom task) under ant.home/lib directory. A more permanent way of doing it is to include your task in the default.properties file for Taskdefs in ant.jar. In that case you don't have to specify taskdef in your xml file. Supriyo -----Original Message----- From: T Master [mailto:tmaster@iknowledgeinc.com] Sent: Wednesday, August 22, 2001 3:18 PM To: ant-user@jakarta.apache.org Subject: Re: taskdef and declarations You did imeplement a setFoo() method for an attribute called foo ? e.g. foo="blah" That's how i did it. ----- Original Message ----- From: "Gary Shea" To: Sent: Wednesday, August 22, 2001 1:05 PM Subject: taskdef and declarations > Hi -- > > Today I had the pleasure of getting a custom taskdef working, wow! > Very slick. > > My only issue is that I can't seem to use property values (e.g., > ${jars.dir}) in the taskdef element. Am I just missing something, or > is this really not possible? > > Regards, > > Gary Shea > shea@gtsdesign.com >