Gert,

Thanks, using <zipfileset> is OK...

j3d.

On Sat, 2004-10-09 at 13:24, Gert Driesen wrote:
> Giuseppe,
> 
> The <zip> task was recently changed to use a <zipfileset> instead of a 
> regular <fileset> element.
> 
> The <zipfileset> allows you to set a prefix (directory) for the files in the 
> fileset.
> 
> So, you should actually use <zipfileset> for the global data type.
> 
> The error message that was output was wrong. It should have been "Attempting 
> to use a <fileset> reference where a <zipfileset> is required.". This is now 
> fixed in cvs.
> 
> Hope this helps,
> 
> Gert
> 
> ----- Original Message ----- 
> From: "Giuseppe Greco" <[EMAIL PROTECTED]>
> To: "NAnt Developers" <[EMAIL PROTECTED]>
> Sent: Friday, October 08, 2004 8:55 PM
> Subject: [nant-dev] <zip> task...
> 
> 
> > Hi all,
> >
> > does anybody know if there are issues related to the <zip> task?
> >
> > This doesn't work anymore:
> >
> > <fileset
> >  id="archive.set"
> >  basedir="${build.dir}">
> >  <include name="../AUTHORS" />
> >  <include name="../COPYRIGHT" />
> >  <include name="../LICENSE" />
> >  <include name="${package.name}/**" />
> >  <exclude name="${package.name}/**/*.resources" />
> > </fileset>
> >
> > ...
> >
> > <zip zipfile="${archive.name}">
> >  <fileset refid="archive.set" />
> > </zip>
> >
> > I always get the following error message:
> >  "Attempting to use a <zipfileset> reference where a <fileset> is
> >   required."
> >
> > I'm using NAnt 0.85 (Build 0.85.1742.0; mono-1.0.unix; dev; 10/8/2004).
> >
> > Any idea?
> > j3d.
> >
> > -- 
> > ----------------------------------------
> > Giuseppe Greco
> >
> > ::agamura::
> >
> > phone:  +41 (0)91 604 67 65
> > mobile: +41 (0)76 390 60 32
> > email:  [EMAIL PROTECTED]
> > web:    www.agamura.com
> > ----------------------------------------
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> > Use IT products in your business? Tell us what you think of them. Give us
> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out 
> > more
> > http://productguide.itmanagersjournal.com/guidepromo.tmpl
> > _______________________________________________
> > nant-developers mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/nant-developers
> >
> > 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
-- 
----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:    www.agamura.com
----------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to