I don't see how this will work for BOb's need. I think the basedir and
prefix for the zipfileset are key to his need.
I was only able to handle this by dynamically building a directory tree with
copy tasks and then indiscriminately zipping the directory tree.
Gert would you show and example of this with the patternset and zip task?
On 1/6/08, Gert Driesen <[EMAIL PROTECTED]> wrote:
>
> Bob,
>
> 1) The properties you use in the fileset declaration are resolved when it
> is declared. The scanning for files is done when the fileset is actually
> used (by a task).
>
> 2) Yes, for this purpose I introduced support for patternsets:
> http://nant.sourceforge.net/release/latest/help/types/patternset.html
>
> Hope this helps,
>
> Gert
> ------------------------------
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Bob Archer
> *Sent:* vrijdag 4 januari 2008 20:23
> *To:* [EMAIL PROTECTED] Sourceforge. Net
> *Subject:* [NAnt-users] Filesets
>
> A few questions about filesets…
>
>
>
> 1. When are they evaluated? If I have a fileset with an ID, and I
> later reference that… does it look for the files when it is declared or
> when
> it is referenced?
> 2. Is it possible to create a fileset without a basedir, and then
> later reference it and specify a different basedir. For example, I want to
> zip up a web site with several folder in it, but not in the same order the
> folders currently exist. So, I want to specify a basedir and prefix for
> each
> zipfileset, but I don't want to have to list the same 10 includes each
> time?
>
>
>
> Thanks,
>
> BOb
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>
--
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
---------------------------------------------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users