ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bates" <>
Subject Move two folders into a zip file
Date Tue, 06 Jun 2006 12:13:07 GMT
I'm trying to create a new zip file with two folders inside it:


    <jar destfile="${backup.dir}/">

      <fileset dir="frontend"/>

      <fileset dir="backend"/>



However, this ends up putting the CONTENTS of "frontend" and "backend"
folders into the zip.  


I want those folders to be included as well:




|------------------- frontend/

--------------------------------------/ Contents of frontend

|------------------- backend/

--------------------------------------/ Contents of backend


What switch is needed?

David Bates
Analyst Programmer
Trigger Software Ltd
Direct Dial: +44 (0)1242 258682

Phone: +44 (0)1242 256990
Fax: +44 (0)1242 256996
Visit: <>

 Any opinions expressed in this email are those of the individual and
necessarily the company. This email and any files transmitted with it
confidential and solely for the use of the intended recipient. If you
not the intended recipient or the person responsible for delivering it
the intended recipient, please be advised that you have received this 
email in error and that any use is strictly prohibited. Please either
a member of the Trigger Software support team by telephone on 01242
256990 or by replying to this email and advising accordingly.
Thank you for your co-operation.


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