SF.net SVN: ant-contrib: [102] branches/ant-1.7.0-upgrade
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 102
http://svn.sourceforge.net/ant-contrib/?rev=102&view=rev
Author: mattinger
Date: 2007-03-08 07:39:39 -0800 (Thu, 08 Mar 2007)
Log Message:
-----------
Modified Paths:
--------------
branches/ant-1.7.0-upgrade/ant1.6/src/java/net/sf/antcontrib/logic/ant16/ForTask.java
branches/ant-1.7.0-upgrade/ant1.7/src/java/net/sf/antcontrib/logic/ant17/ForTask.java
Modified: branches/ant-1.7.0-upgrade/ant1.6/src/java/net/sf/antcontrib/logic/ant16/ForTask.java
===================================================================
--- branches/ant-1.7.0-upgrade/ant1.6/src/java/net/sf/antcontrib/logic/ant16/ForTask.java 2007-03-08 15:36:53 UTC (rev 101)
+++ branches/ant-1.7.0-upgrade/ant1.6/src/java/net/sf/antcontrib/logic/ant16/ForTask.java 2007-03-08 15:39:39 UTC (rev 102)
@@ -27,10 +27,10 @@
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
+import org.apache.tools.ant.TaskContainer;
import org.apache.tools.ant.taskdefs.MacroDef;
import org.apache.tools.ant.taskdefs.MacroInstance;
import org.apache.tools.ant.taskdefs.Parallel;
-import org.apache.tools.ant.taskdefs.Sequential;
import org.apache.tools.ant.types.DirSet;
import org.apache.tools.ant.types.FileSet;
import org.apache.tools.ant.types.Path;
@@ -176,10 +176,9 @@
* Defines the macro which will be executed for each loop iteration.
* The macro parameter indicated by the <code>param</code> attribute
* will be set with the current loop value.
- * @ant.attribute group="required"
* @return a MacroDef#NestedSequential object to be configured
*/
- public MacroDef.NestedSequential createSequential() {
+ public TaskContainer createSequential() {
macroDef = new MacroDef();
macroDef.setProject(getProject());
return macroDef.createSequential();
Modified: branches/ant-1.7.0-upgrade/ant1.7/src/java/net/sf/antcontrib/logic/ant17/ForTask.java
===================================================================
--- branches/ant-1.7.0-upgrade/ant1.7/src/java/net/sf/antcontrib/logic/ant17/ForTask.java 2007-03-08 15:36:53 UTC (rev 101)
+++ branches/ant-1.7.0-upgrade/ant1.7/src/java/net/sf/antcontrib/logic/ant17/ForTask.java 2007-03-08 15:39:39 UTC (rev 102)
@@ -26,6 +26,7 @@
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
+import org.apache.tools.ant.TaskContainer;
import org.apache.tools.ant.taskdefs.MacroDef;
import org.apache.tools.ant.taskdefs.MacroInstance;
import org.apache.tools.ant.taskdefs.Parallel;
@@ -151,10 +152,9 @@
* Defines the macro which will be executed for each loop iteration.
* The macro parameter indicated by the <code>param</code> attribute
* will be set with the current loop value.
- * @ant.attribute group="required"
* @return a MacroDef#NestedSequential object to be configured
*/
- public MacroDef.NestedSequential createSequential() {
+ public TaskContainer createSequential() {
macroDef = new MacroDef();
macroDef.setProject(getProject());
return macroDef.createSequential();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV