I believe it depends on how you select the files into the zip. I could run a
test, but I think this will make sense.

[please excuse my xml shorthand]

<zip ...>
<fileset dir="foo/temp">
    <includes="**/*"/>
</></>
vs.
<zip ...>
<fileset dir="foo">
    <includes="temp/**/*"/>
</></>

This is actually true a lot of places where filesets are used in tasks.

----- Original Message ----- 
From: "Andrew Sharpe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 06, 2004 12:14 PM
Subject: [Nant-users] zip task ignore full path?


> Forgive my ignorance, but is there any way with the
> zip task to get it to ignore the path information?  If
> I zip up files in c:\temp directory, it will append
> the temp directory to all the zipped files, and
> therefore when I unzip them it will create the temp
> directory.  In Winzip the setting is called "Save
> extra folder info."
>
> Hope I've been clear.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to