I don't know why I can never get the file sets to work the way I want
them to...
One basic question though, if I want to include a directory that would
be excluded by a pattern would that be a problem?
For example, I want to delete a directory named ConfigWeb, but I want to
exclude all directories named *Web.. Since ConfigWeb matches the *Web
pattern is it going to be excluded even if I specify it to be included
like:
<delete>
<fileset basedir="\\${qa.servername}/${qa.outputPath}">
<exclude name="**/bin/**" />
<exclude name="**/help/**" />
<exclude name="*Web/**" />
<exclude name="toc.xml" />
<exclude name="snapins.xml" />
<include name="**/ConfigWeb/**"/>
<include name="**" />
</fileset>
</delete>
Also, I'm never sure, am I supposed to start the pattern with a / to
signify directory, or does that matter? So, if I have a bin folder that
I don't want to delete and I know the bin directory is directly in the
basedir should I use:
Bin
/bin
/bin/
??? ... Do I always have to include the trailing slash if I want the
directory and its contents excluded, or does a directory matching the
pattern also include its contents?
Does everyone else think the fileset is adequately documented? Maybe
it's just me that has problems with it?
BOb
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users