You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/03/24 14:35:48 UTC

svn commit: r388520 - /webservices/axis/trunk/c/tools/org/apache/axis/tools/common/DirectoryTree.java

Author: dicka
Date: Fri Mar 24 05:35:46 2006
New Revision: 388520

URL: http://svn.apache.org/viewcvs?rev=388520&view=rev
Log:
AXISCPP-954

Fix C-Binding configuration tool so that it no longer parses the Apache header files, if they've been incorporated into the Axis C++ source tree include structure.

Modified:
    webservices/axis/trunk/c/tools/org/apache/axis/tools/common/DirectoryTree.java

Modified: webservices/axis/trunk/c/tools/org/apache/axis/tools/common/DirectoryTree.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tools/org/apache/axis/tools/common/DirectoryTree.java?rev=388520&r1=388519&r2=388520&view=diff
==============================================================================
--- webservices/axis/trunk/c/tools/org/apache/axis/tools/common/DirectoryTree.java (original)
+++ webservices/axis/trunk/c/tools/org/apache/axis/tools/common/DirectoryTree.java Fri Mar 24 05:35:46 2006
@@ -53,7 +53,7 @@
         {
             // we only want to look at this directory if it's not a .svn directory.
             // If it is then let's call this the end of the branch and return.
-            if(source.toString().indexOf(".svn")==-1)
+            if(source.toString().indexOf(".svn")==-1 && source.toString().indexOf("apache1_3")==-1 && source.toString().indexOf("apache2_0")==-1)
             {
             File[] filesInDirectory=source.listFiles( );
             for(int i=0; i<filesInDirectory.length; i++)
@@ -65,7 +65,7 @@
                 if (-1!=dot)
                     ext=name.substring(dot+1);
 
-                if (file.isDirectory( ))
+                if (file.isDirectory( ) && !name.equals(".svn") && !name.equals("apache1_3") && !name.equals("apache2_0"))
                 {
                     File newTarget=null;
                     if (!noTarget)