You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2008/11/10 17:50:54 UTC

svn commit: r712694 - in /ant/sandbox/javafront: src/main/org/apache/ant/javafront/TaskExec.java taskexec.sh

Author: bodewig
Date: Mon Nov 10 08:50:54 2008
New Revision: 712694

URL: http://svn.apache.org/viewvc?rev=712694&view=rev
Log:
Make concat example work

Modified:
    ant/sandbox/javafront/src/main/org/apache/ant/javafront/TaskExec.java
    ant/sandbox/javafront/taskexec.sh

Modified: ant/sandbox/javafront/src/main/org/apache/ant/javafront/TaskExec.java
URL: http://svn.apache.org/viewvc/ant/sandbox/javafront/src/main/org/apache/ant/javafront/TaskExec.java?rev=712694&r1=712693&r2=712694&view=diff
==============================================================================
--- ant/sandbox/javafront/src/main/org/apache/ant/javafront/TaskExec.java (original)
+++ ant/sandbox/javafront/src/main/org/apache/ant/javafront/TaskExec.java Mon Nov 10 08:50:54 2008
@@ -169,13 +169,6 @@
             debug("STORE: " + text.toString());
         }
 
-        // Close all open nested elements
-        debug("Closing all open nested elements.");
-        for(int i=tags.size(); i>1; i--) {
-            debug("CLOSE: " + tags.peek().toString());
-            tags.pop().build();
-        }
-        
         // Run the task
         debug("RUN  : " + tags.firstElement());
         debug("Current Configuration:");

Modified: ant/sandbox/javafront/taskexec.sh
URL: http://svn.apache.org/viewvc/ant/sandbox/javafront/taskexec.sh?rev=712694&r1=712693&r2=712694&view=diff
==============================================================================
--- ant/sandbox/javafront/taskexec.sh (original)
+++ ant/sandbox/javafront/taskexec.sh Mon Nov 10 08:50:54 2008
@@ -96,7 +96,7 @@
 echo      '</concat>'
 echo CMD: concat + fileset dir . includes \\\*.properties - + header \\\# \'Ant Version \${ant.version}\' - + footer \\\# \'End of text\'
 echo '---------------------------------------------------------------------------------------------'
-StartAnt concat + fileset dir src includes \*.properties - + header \# 'Ant Version \${ant.version}' - + footer \# 'End of text'
+StartAnt concat + fileset dir . includes \*.properties - + header \# 'Ant Version \${ant.version}' - + footer \# 'End of text'
 
 
 echo '============================================================================================='