You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Maarten Coene <Ma...@cs.kuleuven.ac.be> on 2002/06/03 22:29:06 UTC

Re: Help needed with FileSet

--- Diane Holt wrote:
> If you're already running Ant1.5Beta{1,2}, see the new Selectors stuff

Hi, thanks for the tip :-)
But I can't get it to work with the Ant Selectors. The following "code"
doesn't seem to work:

<fileset dir="${src.dir.java}" includes="**/*.java">
    <not>
        <present targetdir="${src.dir.java}">
            <mapper type="glob" from="*.java" to="*.form" />
        </present>
    </not>
</fileset>

It still selects all the files :-( What am I doing wrong here ?

All help will be greatly appreciated.

regards,
Maarten



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Help needed with FileSet

Posted by Diane Holt <ho...@yahoo.com>.
--- Maarten Coene <Ma...@cs.kuleuven.ac.be> wrote:
> Hi, thanks for the tip :-)
> But I can't get it to work with the Ant Selectors. The following "code"
> doesn't seem to work:
> [snip]
> It still selects all the files :-( What am I doing wrong here ?

I can't see that you're doing anything wrong, since I ran what you posted,
and it worked fine for me -- the .java files that I created a
corresponding .form file for don't show up in the fileset. (The only thing
I changed was the <present> tag to <presentselect>, since I haven't yet
upgraded to beta2). Are you sure what you posted is exactly what you have
in your build file?

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>