ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Burton" <bi...@progress.com>
Subject Re: FileSet "nested" include element problem
Date Mon, 04 Dec 2000 09:41:33 GMT
Hello,

remi remi wrote:
> 
> Hello,
> 
> I am getting this error:
> "Class org.apache.tools.ant.types.FileSet doesn't
> support the "nested" include element"

I recently experienced a very similar error but with <patternset>.  The
problem turned out to be that I had specified:
    <include name="...">
instead of:
    <include name="..." />

I don't know if a space before the /> is required or not but a lot of
build.xml files use one.

-Bill

> for things like:
> 
> <path id="classpath">
>   <fileset dir="./test/lib">
>         <include name="**/*.jar"/>
>   </fileset>
>   <fileset dir="./lib">
>         <include name="**/*.jar"/>
>   </fileset>
> </path>
> 
> What might be possible reasons?
> 
> Thanks in advance,
> remi?

Mime
View raw message