From user-return-71953-apmail-ant-user-archive=ant.apache.org@ant.apache.org Mon Oct 10 09:45:46 2011 Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F17DE7F09 for ; Mon, 10 Oct 2011 09:45:45 +0000 (UTC) Received: (qmail 11101 invoked by uid 500); 10 Oct 2011 09:45:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 11056 invoked by uid 500); 10 Oct 2011 09:45:44 -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 11048 invoked by uid 99); 10 Oct 2011 09:45:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 09:45:44 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [88.84.128.168] (HELO samaflost.de) (88.84.128.168) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 09:45:37 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id B91B728985D1 for ; Mon, 10 Oct 2011 11:45:16 +0200 (CEST) Received: from samaflost.de ([127.0.0.1]) by localhost (v35516.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54YbH+B5gwBk for ; Mon, 10 Oct 2011 11:45:16 +0200 (CEST) Received: by samaflost.de (Postfix, from userid 1000) id 5CB4E28985D2; Mon, 10 Oct 2011 11:45:16 +0200 (CEST) From: Stefan Bodewig To: user@ant.apache.org Subject: Re: bug Hello World tutorial. Integration with JUnit References: Date: Mon, 10 Oct 2011 11:45:16 +0200 In-Reply-To: (Leandro Coutinho's message of "Sun, 9 Oct 2011 18:28:32 -0300") Message-ID: <87pqi5rxhv.fsf@v35516.1blu.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On 2011-10-09, Leandro Coutinho wrote: > http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html It would have helped if you told us what the problem was 8-) The build file created during the tutorial relies on some old behavior of Ant that elements with ids where available to be used with the classpathref-attribute (and similar constructs) even if they lived in targets that were not executed. This behavior has been removed and we've failed to adapt the tutorial. This is fixed by extracting the definition with id "application" from inside the java task to a top-level-element (a sibbling of the path with id "classpath"). The tutorial has been fixed in svn but the "wrong" version is still available on the website as we show the manual of the latest release there. The fixed version is here: Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org