ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Using nested fileset in custom ant task
Date Thu, 06 May 2004 20:16:34 GMT
> From: []
> 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.
>   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:
For additional commands, e-mail:

View raw message