For now, I've corrected the documentation, meaning there's no longer any mention of a comma-separated list of patterns ...
I've merged the fileset documentation available in http://nant.sourceforge.net/nightly/help/fundamentals/fog0000000026.html with the fileset type doc (http://nant.sourceforge.net/nightly/help/types/fileset.html). The updated documentation should be available online (and in a new nightly build) later today ... Gert ----- Original Message ----- From: "Martin Aliger" <[EMAIL PROTECTED]> To: "! nant" <[EMAIL PROTECTED]> Sent: Tuesday, December 02, 2003 3:16 PM Subject: [nant-dev] filesets Hi again, Some time ago I point to this attribute description in docs: http://nant.sourceforge.net/nightly/help/fundamentals/fog0000000026.html [btw: compare to http://nant.sourceforge.net/nightly/help/types/fileset.html] includes comma-separated list of patterns of files that must be included; all files are included when omitted. No excludes comma-separated list of patterns of files that must be excluded; no files (except default excludes) are excluded when omitted. No I like this functionality, but it is currently _not_ supported. Implement that comma-separared list in quite easy, but it is desired? If we say not to implement this feature, how to do something like this? : (i currently use it) <property name="docassemblies" value=""/> <property name="nant.onfailure" value="docs-failed"/> <delete dir="${docbuild.dir}" failonerror="false"/> <foreach item="File" property="filename"> <in> <items basedir="${output.dir}"> <includes name="*.xml"/> </items> </in> <do> <regex pattern="^(?'filename'.*)\.(?'extension'\w+)$" input="${filename}"/> <property name="docassemblies" value="${docassemblies},${filename}.dll"/> </do> </foreach> <regex pattern="^,(?'docassemblies'.*)$" input="${docassemblies}"/> <ndoc failonerror="true"> <assemblies basedir="${output.dir}"> <includes name="${docassemblies}"/> </assemblies> ... first part assemble comma-separated list of assemblies, which have corresponding .xml and I use that list in includes of ndoc. Thanks for help in advance, Martin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
