Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 50858 invoked by uid 500); 31 Jul 2001 17:51:41 -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 50844 invoked from network); 31 Jul 2001 17:51:40 -0000 Message-ID: <3B66F007.89894D2F@intraware.com> Date: Tue, 31 Jul 2001 10:51:04 -0700 From: "Tim Meals" Organization: Intraware, Inc. X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: [antlist] custom task - how to pass *.java filenames References: <0dad01c119dc$e9fc4c50$8b00000a@TariqM> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Look at extending org.apache.tools.ant.taskdefs.MatchingTask. All the code to do nested filesets/includes is already there. You'll need to iterate through the filesets once you get execute() called. Take a look at how JAR/Zip work, or any task that has filesets. Tim T Master wrote: > I'm starting to write my own custom task (oooooh) as a wrapper around > JavaNCSS. > > I want to be able to pass all the *.java names to my task. > I'm thinking I should have my custom task allow a nested fileset (along with > patternset). > > How would I pass this to my task? Would it be a String[] of the actual > *.java filenames? > > All comments appreciated, and thanks in advance. > > T Master -- Tim Meals Web Applications Developer mailto:tmeals@intraware.com fax: 925-253-4599 http://www.intraware.com operator: 925-253-4500 Intraware ... Control Your Technology