Hey Chris, This is not supported, although I may re-consider this (if I find some time).
Gert PS. You're not actually using a fileset, but that's just a detail. -----Original Message----- From: Chris Snider [mailto:[EMAIL PROTECTED] Sent: vrijdag 7 november 2008 18:15 To: nant Subject: [NAnt-users] Fileset refID and adding files I was wondering if this is a bug, or a design decision I have a file set build as this <namespaceimports id="system.imports"> <import namespace="System" /> <import namespace="System.Collections" /> <import namespace="System.Data" /> <import namespace="System.Diagnostics" /> </namespaceimports> Later, in the compile target (vbc or csc), I'd like to be able to set the references element to <references refid="system.imports"> <import namespace="System.Web" /><!-- add the reference for *this* project --> </references> However, when I run the build, NAnt does not pickup the refID set and add the additional import to it, but only uses the original refID data and my build fails with a missing reference. Is by design or is this a bug and I should expect the final references to include all 5 imports? Thanks, Chris Snider ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users Internal Virus Database is out of date. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 11/3/2008 4:59 PM ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users