Reputation: 1807
I want to copy the files from the zip folder to another folder. I am doing this , but it doesn't works
<copy todir="Lib">
<fileset basedir="Output/RCxSL.Client.zip/ServiceClientDlls">
<include name="*.dll" />
</fileset>
</copy>
How to achieve this ? the folder is zipped.
Upvotes: 0
Views: 1816
Reputation: 57149
A ZIP folder is not a folder, it is a ZIP file, even though the operating system (through your files explorer) may make it look like a folder. Instead of using <fileset>
and <copy>
, use the unzip task of NAnt.
<unzip zipfile="Output/RCxSL.Client.zip" todir="Lib" />
Upvotes: 2