ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <>
Subject Re: The <dirset> data type doesn't support the nested "jspselector" element.
Date Wed, 17 Nov 2004 16:17:39 GMT
You need to use pre ant1.6  custom selectors:


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="" 
>        <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.

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

View raw message