> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Ahmed, Shabana > Sent: dinsdag 23 mei 2006 20:50 > To: [email protected] > Subject: [NAnt-users] Copying sub directories within a folder > > 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/"/>
Lose the trailing slash. It should be this: <include name="**/*.ascx" /> <include name="**/*.aspx" /> Gert ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ NAnt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users
