ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
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 GMT
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?"</a> by Norris Boyd in the newsgroup
 <i>netscape.public.mozilla.jseng</i>.</p>
 
-
+<p>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.</p>
 
 <h3>Parameters</h3>
 <table border="1" cellpadding="2" cellspacing="0">

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.
+ *
+ * <p>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.</p>
  */
 public class Target implements TaskContainer {
 



Mime
View raw message