Bugs item #2981389, was opened at 2010-04-03 03:25
Message generated for change (Comment added) made by dogu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2981389&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: Tasks
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: fmhome (fmhome)
Assigned to: Nobody/Anonymous (nobody)
Summary: zip task should create a folder
Initial Comment:
The current zip task in Nant v0.90
In the following example;
zipfile should create a folder structure ( ${root.dir}/${which.platform} ) with
the zip file in that folder.
Currently, one has to use the mkdir task first to create the folder structure
${root.dir}/${which.platform}
<zip zipfile="${root.dir}/${archive}/test.zip">
<fileset basedir="${stage.dir}">
<include name="**/**"/>
</fileset>
</zip>
----------------------------------------------------------------------
Comment By: Dominik Guder (dogu)
Date: 2010-04-03 14:28
Message:
I know that this would be helpfull, but IMHO when you are zipping a folder
(in windows) with winzip when you won't get this main directory added to
zip.
But you might take a look into docu:
http://nant.sourceforge.net/release/latest/help/types/zipfileset.html
use
<fileset basedir="${stage.dir}" prefix="${which.platform}"> to create your
toplevel directory
hth Dominik
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2981389&group_id=31650
------------------------------------------------------------------------------
Download Intel® 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
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers