Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 31545 invoked from network); 22 Oct 2008 00:44:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2008 00:44:46 -0000 Received: (qmail 6484 invoked by uid 500); 22 Oct 2008 00:44:46 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 6453 invoked by uid 500); 22 Oct 2008 00:44:46 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 6442 invoked by uid 99); 22 Oct 2008 00:44:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 17:44:45 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pons32@hotmail.com designates 65.54.246.171 as permitted sender) Received: from [65.54.246.171] (HELO bay0-omc2-s35.bay0.hotmail.com) (65.54.246.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2008 00:43:34 +0000 Received: from BAY113-W21 ([65.54.168.121]) by bay0-omc2-s35.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 21 Oct 2008 17:43:52 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_7159e7e6-d0d2-4885-b3ec-a3dd0142ade6_" X-Originating-IP: [204.16.155.197] From: Rez To: Ant Users List Subject: Help with war file Date: Tue, 21 Oct 2008 17:43:52 -0700 Importance: Normal In-Reply-To: <48F9081F.4070601@schillbaer.de> References: <48F9081F.4070601@schillbaer.de> MIME-Version: 1.0 X-OriginalArrivalTime: 22 Oct 2008 00:43:52.0404 (UTC) FILETIME=[415BF940:01C933DF] X-Virus-Checked: Checked by ClamAV on apache.org --_7159e7e6-d0d2-4885-b3ec-a3dd0142ade6_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I'm not sure if it's possible any other way to pack a folder and all of its= subfolders and files into a war file=2C preserving their path and folder s= tructure=2C other than using the "prefix" attribute of the zipfileset task. I would like my war file (testproject.war) to have folderx & all its files = at its root=2C so currently I'm using =20 =20 But it's creating a problem when the files are deployed under jboss and my = url looks like something like this: =20 http://localhost:8080/testproject/folderx/folderx/images/test.gif =20 As you can see it's repeating the folder name twice. =20 Thanks _________________________________________________________________ When your life is on the go=97take your life with you. http://clk.atdmt.com/MRT/go/115298558/direct/01/= --_7159e7e6-d0d2-4885-b3ec-a3dd0142ade6_--