You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ja...@rzf.fin-nrw.de on 2004/11/18 07:22:03 UTC
AW: The data type doesn't support the nested "jspselecto
r" element.
I dont know what you are checking.
If you only check the names a
<fileset ... includes="**/*.jsp"/>
would be easier.
Jan
> -----Ursprüngliche Nachricht-----
> Von: Peter Reilly [mailto:peterreilly@apache.org]
> Gesendet am: Mittwoch, 17. November 2004 17:18
> An: Ant Users List
> Betreff: Re: The <dirset> data type doesn't support the nested
> "jspselector" element.
>
> You need to use pre ant1.6 custom selectors:
>
> http://ant.apache.org/manual/CoreTypes/selectors.html#customselect
>
> Peter
>
> Sriram Narayan wrote:
>
> >I'm using Ant 1.5.2 (have to) and trying to select a list of
> directories
> >(relative to a base dir) that contain JSP files. Is there a
> OS independent
> >way of doing this?
> >Anyway, I tried writing a custom JSPselector that implements
> FileSelector
> >and then included it in my build like this:
> ><typedef name="jspselector"
> classname="com.abc.ant.selectors.JspSelector"
> >classpath="${basedir}/custom"/>
> > <path id="jsp.dir.list">
> > <dirset dir="${jsp.src.dir}">
> > <jspselector/>
> > </dirset>
> > </path>
> >
> >When I run the target, it says
> >The <dirset> data type doesn't support the nested
> "jspselector" element.
> >
> >Any idea why? I also tried extending BaseSelector instead of
> FileSelector
> >but no joy.
> >
> >-Sriram
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>