Ahmed, Shabana
2006-05-23 18:50:08 UTC
Hi,
I am trying to get my NAnt build script to copy all the files in the directory as well as all the subdirectories based on the files specified in the include list. None of the files in the subfolders seem to be getting copied or non of the subdirectories are getting created. Here is how my script looks:
<copy todir="C:\Model Development Tree\Build\Web">
<fileset basedir="${project.source.web}">
<!--<include name="*.aspx"/>
<include name="*.ascx"/>-->
<include name="**/*.aspx/"/>
<include name="**/*.ascx/"/>
<exclude name="**/*.pdb" />
<exclude name="**/*.scc" />
<exclude name="**/*.suo" />
<exclude name="**/*.webinfo" />
<exclude name="**/*.vspscc" />
<exclude name="**/*.vssscc" />
<exclude name="**/*.vbproj" />
<exclude name="**/*.sln" />
<exclude name="**/*.vb" />
</fileset>
</copy>
Any help will greatly be appreciated. Thanks in advance.
-Shabana
I am trying to get my NAnt build script to copy all the files in the directory as well as all the subdirectories based on the files specified in the include list. None of the files in the subfolders seem to be getting copied or non of the subdirectories are getting created. Here is how my script looks:
<copy todir="C:\Model Development Tree\Build\Web">
<fileset basedir="${project.source.web}">
<!--<include name="*.aspx"/>
<include name="*.ascx"/>-->
<include name="**/*.aspx/"/>
<include name="**/*.ascx/"/>
<exclude name="**/*.pdb" />
<exclude name="**/*.scc" />
<exclude name="**/*.suo" />
<exclude name="**/*.webinfo" />
<exclude name="**/*.vspscc" />
<exclude name="**/*.vssscc" />
<exclude name="**/*.vbproj" />
<exclude name="**/*.sln" />
<exclude name="**/*.vb" />
</fileset>
</copy>
Any help will greatly be appreciated. Thanks in advance.
-Shabana