looking at source code, i don't see any param that would trigger that
behaviour.

the following code'd do you, tho:

    <foreach item="File" property="aFile" >
      <in>
        <items basedir="C:\MyOtherApp}" >
          <includes name="**\*.dll" />
        </items>
      </in>
      <do>
        <copy todir="C:\MyApp" file="${aFile}" />
      </do>
    </foreach>


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Eric Fetzer
> Sent: Tuesday, October 07, 2003 17:26
> To: Nant Users
> Subject: [Nant-users] <copy> task
> 
> 
> Is there a way to copy files to a specific directory
> using fileset rather than copying relatively under
> that directory.
> 
> In other words:
> 
>   <copy todir="C:\MyApp">
>       <fileset basedir="C:\MyOtherApp">
>           <includes name="**\*.dll"/>
>       </fileset>
>   </copy>
> 
> If he finds C:\MyOtherApp\project\lib\bin\myDll.dll,
> he'll put it directly in C:\MyApp rather than in 
> C:\MyApp\project\lib\bin\myDll.dll.
> 
> Thanks,
> Eric
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search 
http://shopping.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to