ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Using nested fileset in custom ant task
Date Thu, 06 May 2004 20:16:34 GMT
> 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


Mime
View raw message