ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
Subject Re: Another simple one perhaps: zip tasl
Date Thu, 25 Aug 2005 19:47:49 GMT
<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
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message