ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Corbin <>
Subject problem with nested element in custom task
Date Tue, 11 Jun 2002 21:28:41 GMT

I'm having trouble with a custom task.  I believe I'm
following the documentation to the letter, yet my
custem task still will not work.

Here's the relevant parts of build.xml:

<taskdef name="beangen"

<target name="example">
   <beangen destdir="${src.dir}">
      <fileset dir="beans" includes="*.xml"/>

relevant parts of the Task:

public class BeanTask extends Task {
public void addConfiguredFileset(FileSet set) {

Yet, when I run ant, I get the following error:

Class com.valleyrec.beangen.BeanTask doesn't support
the nested "fileset" element

I've tried with both 1.4.6 and the most recent nightly
build, and I get the same result with both.  Anyone
have any ideas?


Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message