ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank W. Zammetti" <fzli...@omnytex.com>
Subject Re: Another simple one perhaps: zip tasl
Date Thu, 25 Aug 2005 19:58:40 GMT
I am *SO* hating myself right now. ;)

Thank you Jeff, perfect!

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Thu, August 25, 2005 3:47 pm, Jeffrey E Care said:
> <zip destfile="${ddir}/project_${project_version_filename}_bin.zip"
>      basedir="${ddir}">
>   <include name="project/**"/>
> </zip>
>
> --
> Jeffrey E. Care (carej@us.ibm.com)
> WebSphere v7 Release Engineer
> WebSphere Build Tooling Lead (Project Mantis)
>
>
> "Frank W. Zammetti" <fzlists@omnytex.com> wrote on 08/25/2005 03:38:07 PM:
>
>> I'll probably feel silly after this one to, but here goes...
>>
>> I'm trying to use the <zip> task, and I've done this:
>>
>> <zip destfile="${ddir}/project_${project_version_filename}_bin.zip"
>>      basedir="${ddir}/project" />
>>
>> This works fine, I get a file named project_v6_beta_bin.zip out (v6_beta
>> is the value of project_version_filename).
>>
>> Here's the problem... what I want to happen is when this archive is
>> extracted it creates a directory named project, with all the contents
>> underneath it.  What I get instead is all the contents directly in the
>> directory I extract to.  It's not making everything a child of the
>> ddir/project root folder.
>>
>> PLEASE don't tell me I just need a slash somewhere, I'll kill myself
> this
>> time :)
>>
>> Frank
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message