Hello,

i am sorry. I am stupid. :)

I have another include: <include name="**/com/**/*.* />

So .. what happens ... in the WEB-INF dir there is anywhere a /com dir .. and this are copied. So thats why the task copied a part of the /WEB-INF dir to C:/temp.

I see it when i start with -debug. Thanks for the help.

----- Original Message ----- From: "Conor MacNeill" <[EMAIL PROTECTED]>
To: "Ant Users List" <user@ant.apache.org>
Sent: Monday, July 11, 2005 2:37 PM
Subject: Re: Fileset in Copy Task


KrustyDerClown wrote:
Hello,

i have a little problem with my copy task in ANT.

I have the following target:

<copy todir="C:/temp">
    <fileset dir="C:/workspace">
        <include name="*.*" />
        <include name="gifs/*.*"/>
        <exclude name="**/*.jsp"/>
    </fileset>
</copy>

So ... thats works ... BUT ... the task copied the WEB-INF dir from C:/workspace also to C:/temp.

I am really confused why .. :) All other dir's in C:/workspace like "lib" or "test" are NOT copied .. why copied my task the WEB-INF dir ?

Thank you in advance for your reply.


Have you run Ant in debug mode - it may give you a clue? Also in the
copied WEB-INF, are there any files in the dir and if so, whart are they?

Conor

---------------------------------------------------------------------
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