Giuseppe,

What version of NAnt are you using ?  I very recently fixed some issues in
the zip task, can you try a nightly build (anoncvs is very much out of sync)
?

Gert

----- Original Message -----
From: "Giuseppe Greco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 09, 2003 4:05 PM
Subject: [nant-dev] Problems with <zip> and <fileset> tasks


Hi all,

I've problems when trying to create a zip archive
from a fileset.

Here's my <fileset> task:

<fileset
  id="archive.set"
  basedir="${build.dir}">
    <includes name="../AUTHORS"/>
    <includes name="../COPYRIGHT"/>
    <includes name="../LICENSE"/>
    <includes name="${package.name}/**"/>
    <excludes name="${package.name}/**/*.resources"/>
</fileset>

... and here's my <zip> task:


<zip zipfile="${archive.name}">
  <fileset refid="archive.set"/>
</zip>

The generate zip archive should contain something
like this:

project-name/AUTHORS
project-name/COPYRIGHT
project-name/LICENSE
project-name/bin/myApp.exe

... but it contains something like this instead:

project-name/S
project-name/GHT
project-name/bin/myApp.exe

As you can see, one file is missing, and two files
are named wrongly.

Any idea?

Gius_.

----------------------------------------
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: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to