Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 35818 invoked from network); 25 Jun 2008 14:42:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2008 14:42:27 -0000 Received: (qmail 36773 invoked by uid 500); 25 Jun 2008 14:42:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 36746 invoked by uid 500); 25 Jun 2008 14:42:20 -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 36711 invoked by uid 99); 25 Jun 2008 14:42:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 07:42:20 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 14:41:27 +0000 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id B8E76B7B32 for ; Wed, 25 Jun 2008 15:41:00 +0100 (BST) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CEn4vjDQZdpA for ; Wed, 25 Jun 2008 15:40:54 +0100 (BST) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [16.25.144.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tobor.hpl.hp.com (Postfix) with ESMTPS id E0CF1B7B2C for ; Wed, 25 Jun 2008 15:40:43 +0100 (BST) MailScanner-NULL-Check: 1215009619.53369@h5nA4ZKQR1pwS5yzkqrMBw Received: from [16.25.171.118] (morzine.hpl.hp.com [16.25.171.118]) by ha-node-br2.hpl.hp.com (8.14.1/8.13.4) with ESMTP id m5PEeHd6029923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 Jun 2008 15:40:18 +0100 (BST) Message-ID: <486258DC.6020401@apache.org> Date: Wed, 25 Jun 2008 15:40:28 +0100 From: Steve Loughran User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Ant Users List Subject: Re: Seeking help regarding webinf nested element of war ant target. References: <18111936.post@talk.nabble.com> <18111962.post@talk.nabble.com> In-Reply-To: <18111962.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m5PEeHd6029923 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org kaprasi wrote: > > > The war should include : >
> WEB-INF/classes/*.class
> WEB-INF/lib/*.jar
> WEB-INF/jsp/*.jsp
> 
> I am very well able to achieve first two. That's because war task has > classes and lib as nested elements. And that puts classes and lib > directories automatically into WEB-INF I am not able to place the directory > jsp in WEB-INF. I tried to do so using the webinf nested element of war > task. According to manual, it specifies FileSet. This is how my target looks > like : > > > > > > > > > > When I use it I get this error : build.xml:32: only single argument resource > collections are supported as archives. What should I be doing? > Thanks. > the thing to know is that webinf is a fileset of its own; it was getting confused. add another fileset with the full prefix: -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org