I want to copy a folder with subfolders by filetype (*.asp, *.css etc.) but 
failed to construct the correct build file.

Here's the folder structure:
C:\ MyProject\UI\a.asp
C:\ MyProject\UI\SubFolder\b.asp

<property name="projectroot" value="C:\MyProject" />
<copy todir="${buildfolder}\UI">
       <fileset basedir="${projectroot}\UI">
                <include name="**/*.asp" />
        </fileset>
</copy>
The above directive copies b.asp but not a.asp

<copy todir="${buildfolder}\UI">
       <fileset basedir="${projectroot}\UI">
                <include name="*.asp" />
                <include name="**/*.asp" />
        </fileset>
</copy>
This didn't work either.

I believe something wrong with my basedir statement, but don't know what. What 
am I missing? Please help.

Thanks in advance.

Gokhan Altinoren




-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to