something I forgot - you need defaultexcludes="no" (as CVS is excluded
from the list). I think that can be simplified to **/CVS/** as well.

You'll get more help from the Ant documentation on patterns and
filesets, I think.

- Brett

On 8/5/05, sergiu gordea <[EMAIL PROTECTED]> wrote:
> don't think that is the problem, the following code does also nothing
> 
>  <goal name="delete-cvs-info">
> 
>         <ant:delete failonerror="false">
>           <fileset dir="." includes="CVS,**/CVS*,**/CVS,**/CVS/*"/>
>         </ant:delete>
>  </goal>
> I use maven 1.02 on linux ....
> I tried also
> <ant:delete failonerror="false">
>           <fileset dir="." includes="CVS/Root"/>
>         </ant:delete>
> and is still not working ...
> 
>  Best,
> 
>  Sergiu
> 
> 
> Brett Porter wrote:
> 
> >More of an Ant-ism, but I think that the separate include tag doesn't
> >take comma separated lists. If you put the same list in the includes
> >of the commented out part, it should work.
> >
> >- Brett
> >
> >On 8/5/05, sergiu gordea <[EMAIL PROTECTED]> wrote:
> >
> >
> >> Hi all,
> >>
> >>I need to create a goal that deletes all  CVS folders from my project
> >>and nothing more.
> >>I wrote the following script but it's not doing anything:
> >> <goal name="delete-cvs-info">
> >>        <!--
> >>        <ant:delete failonerror="false">
> >>          <fileset dir="." includes="CVS*,**/CVS*"/>
> >>        </ant:delete>
> >>        -->
> >>        <move todir="tmp/CVS">
> >>            <fileset dir=".">
> >>                  <include name="CVS,**/CVS*, **/CVS, **/CVS/*"/>
> >>            </fileset>
> >>         </move>
> >>    </goal>
> >>
> >>Can someone help me?
> >>
> >>  Thanks a lot,
> >>
> >> Sergiu
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to