You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2007/06/29 20:48:53 UTC

svn commit: r551996 - in /ant/sandbox/antlibs/props/trunk: docs/index.html src/main/org/apache/ant/props/ComponentTypeEvaluator.java

Author: mbenson
Date: Fri Jun 29 11:48:52 2007
New Revision: 551996

URL: http://svn.apache.org/viewvc?view=rev&rev=551996
Log:
document change of type eval syntax to type(arg) rather than type:arg to accommodate ns'd types

Modified:
    ant/sandbox/antlibs/props/trunk/docs/index.html
    ant/sandbox/antlibs/props/trunk/src/main/org/apache/ant/props/ComponentTypeEvaluator.java

Modified: ant/sandbox/antlibs/props/trunk/docs/index.html
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/props/trunk/docs/index.html?view=diff&rev=551996&r1=551995&r2=551996
==============================================================================
--- ant/sandbox/antlibs/props/trunk/docs/index.html (original)
+++ ant/sandbox/antlibs/props/trunk/docs/index.html Fri Jun 29 11:48:52 2007
@@ -122,7 +122,7 @@
       <tr>
         <td align="center">types</td>
         <td align="center">PropertyEvaluator</td>
-        <td>Given <code><em>type</em>:<em>arg</em></code>, attempts to invoke
+        <td>Given <code><em>type</em>(<em>arg</em>)</code>, attempts to invoke
             <code><em>type</em></code> constructor <code>(<em>project, arg</em>)</code>,
             then <code>(<em>arg</em>)</code>.</td>
       </tr>

Modified: ant/sandbox/antlibs/props/trunk/src/main/org/apache/ant/props/ComponentTypeEvaluator.java
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/props/trunk/src/main/org/apache/ant/props/ComponentTypeEvaluator.java?view=diff&rev=551996&r1=551995&r2=551996
==============================================================================
--- ant/sandbox/antlibs/props/trunk/src/main/org/apache/ant/props/ComponentTypeEvaluator.java (original)
+++ ant/sandbox/antlibs/props/trunk/src/main/org/apache/ant/props/ComponentTypeEvaluator.java Fri Jun 29 11:48:52 2007
@@ -24,8 +24,8 @@
 import org.apache.tools.ant.PropertyHelper;
 
 /**
- * Property evaluator that will map any colon-delimited currently defined Ant type using its String
- * constructor, if it has any.
+ * Property evaluator that will map a currently defined Ant type using its String constructor, if it
+ * has any.  Default syntax is <code><em>type</em>(<em>arg</em>)</code>.
  */
 public class ComponentTypeEvaluator extends RegexBasedEvaluator {
     private static final Class[] PROJECT_STRING = new Class[] { Project.class, String.class };



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org