Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 40927 invoked from network); 21 Aug 2009 12:38:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 12:38:17 -0000 Received: (qmail 50694 invoked by uid 500); 21 Aug 2009 12:38:39 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 50618 invoked by uid 500); 21 Aug 2009 12:38:39 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 50609 invoked by uid 99); 21 Aug 2009 12:38:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 12:38:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 12:38:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0AF8023888EC; Fri, 21 Aug 2009 12:38:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r806528 - in /ant/core/trunk: docs/manual/OptionalTasks/script.html src/main/org/apache/tools/ant/Target.java Date: Fri, 21 Aug 2009 12:38:17 -0000 To: notifications@ant.apache.org From: bodewig@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090821123818.0AF8023888EC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Fri Aug 21 12:38:17 2009 New Revision: 806528 URL: http://svn.apache.org/viewvc?rev=806528&view=rev Log: document that targets should have unique locations. PR 47640 Modified: ant/core/trunk/docs/manual/OptionalTasks/script.html ant/core/trunk/src/main/org/apache/tools/ant/Target.java Modified: ant/core/trunk/docs/manual/OptionalTasks/script.html URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/script.html?rev=806528&r1=806527&r2=806528&view=diff ============================================================================== --- ant/core/trunk/docs/manual/OptionalTasks/script.html (original) +++ ant/core/trunk/docs/manual/OptionalTasks/script.html Fri Aug 21 12:38:17 2009 @@ -62,7 +62,9 @@ Groups@Google: "Rhino, enum.js, JavaAdapter?" by Norris Boyd in the newsgroup netscape.public.mozilla.jseng.

- +

If you are creating Targets programmatically, make sure you set the +Location to a useful value. In particular all targets should have +different location values.

Parameters

Modified: ant/core/trunk/src/main/org/apache/tools/ant/Target.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/Target.java?rev=806528&r1=806527&r2=806528&view=diff ============================================================================== --- ant/core/trunk/src/main/org/apache/tools/ant/Target.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/Target.java Fri Aug 21 12:38:17 2009 @@ -29,6 +29,10 @@ /** * Class to implement a target object with required parameters. + * + *

If you are creating Targets programmatically, make sure you set + * the Location to a useful value. In particular all targets should + * have different location values.

*/ public class Target implements TaskContainer {