Latest nightly.

What's more strange is that, I can copy the build output (.dll's and .pdb's) 
but cannot copy the source files or .asp's by name.

This works:
<copy todir="${buildfolder}\WebService\bin">
        <fileset basedir="${buildfolder}\Binaries">
                <include name="WebService.dll" />
                <include name="Microsoft.ApplicationBlocks.Data.dll" />
              <include name="Microsoft.ApplicationBlocks.Data.pdb" />
        </fileset>
</copy>

This don't:
<copy todir="${buildfolder}\UI">
        <fileset basedir="${projectroot}\UI">
                <include name="bottom.asp" />
        </fileset>
</copy>

I'm temporarily using <exec program="xcopy" ...> to workaround, I'll try to 
debug NAnt (DirectoryScanner.Scan() and below, right?) to see what's going on 
there.

Thanks for your help and time.

Gokhan

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 19, 2004 8:55 AM
To: Gökhan Altınören; [EMAIL PROTECTED]
Subject: RE: [Nant-users] <fileset> and wildcard usage

 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Gökhan Altinören
> Sent: donderdag 18 november 2004 9:57
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] <fileset> and wildcard usage
> 
> 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>

There's nothing wrong with this. What version of NAnt are you using ?

Gert



-------------------------------------------------------
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