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 2006/10/12 17:45:54 UTC

svn commit: r463287 - /ant/core/trunk/src/main/org/apache/tools/ant/types/Path.java

Author: mbenson
Date: Thu Oct 12 08:45:53 2006
New Revision: 463287

URL: http://svn.apache.org/viewvc?view=rev&rev=463287
Log:
fix failures

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/types/Path.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/Path.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/Path.java?view=diff&rev=463287&r1=463286&r2=463287
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/Path.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/Path.java Thu Oct 12 08:45:53 2006
@@ -247,6 +247,7 @@
             union.setProject(getProject());
         }
         union.add(c);
+        setChecked(false);
     }
 
     /**
@@ -319,7 +320,8 @@
         if (isReference()) {
             return ((Path) getCheckedRef()).list();
         }
-        return union == null ? new String[0] : union.list();
+        return assertFilesystemOnly(union) == null
+            ? new String[0] : union.list();
     }
 
     /**
@@ -440,7 +442,9 @@
             super.dieOnCircularReference(stk, p);
         } else {
             if (union != null) {
+                stk.push(union);
                 invokeCircularReferenceCheck(union, stk, p);
+                stk.pop();
             }
             setChecked(true);
         }



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


Re: svn commit: r463287 - /ant/core/trunk/src/main/org/apache/tools/ant/types/Path.java

Posted by Matt Benson <gu...@yahoo.com>.
--- mbenson@apache.org wrote:

> Author: mbenson
> Date: Thu Oct 12 08:45:53 2006
> New Revision: 463287
> 
> URL:
> http://svn.apache.org/viewvc?view=rev&rev=463287
> Log:
> fix failures

Sorry for the failures all; I thought I ran the tests
but I must have forgotten to copy over the new classes
first.  :|

-Matt

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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