Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 11753 invoked from network); 19 Aug 2010 15:11:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Aug 2010 15:11:15 -0000 Received: (qmail 39040 invoked by uid 500); 19 Aug 2010 15:11:11 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 38511 invoked by uid 500); 19 Aug 2010 15:11:11 -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 38503 invoked by uid 99); 19 Aug 2010 15:11:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 15:11:10 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of peter.kitt.reilly@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 15:11:05 +0000 Received: by qyk31 with SMTP id 31so885633qyk.4 for ; Thu, 19 Aug 2010 08:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=jTF+El//SX4dvnR51TY9lb3uU1kZVhuksJUy7ofkB1M=; b=pWKbTO/bwUgNi7rHkfdEmQqo4BhftYN2byxoKUgE3xmCwQAzUlbxxCzAg6AYeHMe+f rdHcvX7V7lcL8x8hMmiygo2ZoTyd0CHTOuHw/SfXCFkbC21+35QF2QG4+EnqATHeIUTR KOC+h6YjKldjaFSBmZ0GZZ55gh2rJe2wcmTE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GLN5JnJjIsHMxuPJnDCuOClus48Ms3CoRIFqPSH8usZR5ZHBr5KuBKQj17IvI6kMR/ mfIewGIEMfQIvQcd27vFImxbKULeJSxz9DE+0UatEkrDJPWfxxT6nNLNuWv6aJ0H5bV7 SOsjKh+cMvPP9/uCHXNeTuTlaLjU9ASzf8FoA= MIME-Version: 1.0 Received: by 10.224.37.134 with SMTP id x6mr6655266qad.208.1282230644666; Thu, 19 Aug 2010 08:10:44 -0700 (PDT) Received: by 10.229.187.196 with HTTP; Thu, 19 Aug 2010 08:10:44 -0700 (PDT) In-Reply-To: References: Date: Thu, 19 Aug 2010 16:10:44 +0100 Message-ID: Subject: Re: Error in documentation (zipfileset, single argument resource collection) From: Peter Reilly To: Ant Users List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes, tis is a known problem with the manual. Stefan Bodewig came up then the correct expression: The manual will be updated.. Peter On Thu, Aug 19, 2010 at 3:29 PM, Jann R=C3=B6der wrote: > Hi, > I think I might have found an error in the documentation. On the page > about the jar task (http://ant.apache.org/manual/Tasks/jar.html) it says: > > [quote] > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0value=3D"com.acme.= checksites.Main"/> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 > > Creates an executable jar file with a main class > "com.acme.checksites.Main", and embeds all the classes from all the jars > in lib/main. > [/quote] > > However if I do that, I get this error: > "only single argument resource collections are supported as archives" > > My experiments have shown that this means that one may only use filesets > that contain exactly one file. Is this a mistake in the documentation or > stupidity on my part? > > Thanks, > Jann > > > --------------------------------------------------------------------- > 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