Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 70519 invoked from network); 6 May 2004 20:16:56 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 May 2004 20:16:56 -0000 Received: (qmail 79245 invoked by uid 500); 6 May 2004 20:16:39 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 79216 invoked by uid 500); 6 May 2004 20:16:39 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 79201 invoked from network); 6 May 2004 20:16:39 -0000 Received: from unknown (HELO junior.lgc.com) (134.132.72.99) by daedalus.apache.org with SMTP; 6 May 2004 20:16:39 -0000 Received: from lgchvw01.lgc.com (lgchvw01.lgc.com [134.132.93.107]) by junior.lgc.com (8.11.7/8.11.3) with SMTP id i46KFV423524 for ; Thu, 6 May 2004 15:15:31 -0500 (CDT) Received: from 134.132.93.152 by lgchvw01.lgc.com (InterScan E-Mail VirusWall NT); Thu, 06 May 2004 15:16:35 -0500 Received: by lgchexchbh.ad.lgc.com with Internet Mail Service (5.5.2657.72) id ; Thu, 6 May 2004 15:16:35 -0500 Message-ID: <830BF4914C3C4B4EB1C438D93ABF897A67CEF4@lgchexch011.ad.lgc.com> From: Dominique Devienne To: "'Ant Users List'" Subject: RE: Using nested fileset in custom ant task Date: Thu, 6 May 2004 15:16:34 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > From: Richard_Landon@capgroup.com [mailto:Richard_Landon@capgroup.com] > > This is the first time I have attempted to use fileset (and eventually > filterset and filterchain) in my own custom task. > here is the actual code. The log(String) method is from the Task base > class; calling it from the default constructor works fine. > > /* WORK IN PROGRESS */ > private Vector filesets=new Vector(); > public void addFileset(FileSet set) { > log("addFileset"); > filesets.addElement(set); > } > Is there something missing. The code looks fine. I suspect that you either somehow didn't compiled it, or you compiled it, but didn't package it, or have an earlier version of your task on the classpath. The fact that you can see the log statement from the constructor is a good sign! ;-) --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org