Hi
Can you send the target that you're executing? In the fileset element
did you specify **/*.*? Otherwise you might try to change it to *.*,
normally that means that no subdirectories are taken in..
<copy todir="destination dir">
<fileset dir="source dir">
<includes="*.*"/>
</fileset>
</copy>
Hope this helps..
Greetz
>>> [EMAIL PROTECTED] 1/02/2005 11:10:29 >>>
Hi there,
I am having trouble implementing a copy task. Given the following
folder
layout:
/sourcefolder
file1
file2.dat
/subfolder1
file3
/subfolder2
file4
I want to be able to copy all files in the top level directory, but
not
recurse through the subfolders. ie I would like to see the target
directory
ending up like this:
/targetdir
file1
file2
But I can't seem to get it right, I keep ending up with the subfolders
as
well. Can anyone give me an idea of the copy command and file filter I
should be using?
Thanks,
Matt Benic
Axapta Developer
UTi Sun Couriers Division
"The universal aptitude for ineptitude
makes any human accomplishment an incredible miracle."
- Col. John P. Stapp
www.smallfrymobile.com
Privileged Confidential Information may be contained in this message.
If you are not the addressee indicated in this message (or responsible for
delivery of
the message to such person), you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly notify the sender by
reply
email. Please advise immediately if you or your employer does not consent to
Internet
email for messages of this kind. Opinions, conclusions and other information in
this
message that do not relate to the official business of my firm shall be
understood
as neither given nor endorsed by it.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]