[ nant-Bugs-1878517 ] basedir not handled correctly in zip task under unix

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.devel
Message-ID <[email protected]>
Bugs item #1878517, was opened at 2008-01-23 21:34
Message generated for change (Settings changed) made by cchan_qa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1878517&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Core
>Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: basedir not handled correctly in zip task under unix

Initial Comment:

try :

<zip zipfile="builds/zip.zip">                                                                             
<fileset>
<include name="${build.dir}/**/*" />                                                                                                             
</fileset>  

and :

<zip zipfile="builds/zip.zip">                                                                             
<fileset basedir="${build.dir}">
<include name="**/*" />                                                                                                             
</fileset>  

the second one will flatten all the files while the first one will preserve the  directory structure. this happens on unix (tested on freebsd an osx) but not under windows. i build it from my home dir (might be related because of the ~ as location for the home directory).

----------------------------------------------------------------------

>Comment By: Charles Chan (cchan_qa)
Date: 2010-04-16 04:18

Message:
There is no patch in this ticket. Moving from patch tracker to bug tracker.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1878517&group_id=31650

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.