axis-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From isur...@apache.org
Subject svn commit: r1030868 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
Date Thu, 04 Nov 2010 09:34:29 GMT
Author: isurues
Date: Thu Nov  4 09:34:28 2010
New Revision: 1030868

URL: http://svn.apache.org/viewvc?rev=1030868&view=rev
Log:
When searching for services in deployment folders, we have to skip hidden folders which starts
with '.'. we have done this for aar services in method findServicesInDirectory. But we haven't
done it for other deployment folders. fixed it..

Modified:
    axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java

Modified: axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java?rev=1030868&r1=1030867&r2=1030868&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
(original)
+++ axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
Thu Nov  4 09:34:28 2010
@@ -301,7 +301,7 @@ public class RepositoryListener implemen
                             Deployer deployer = deploymentEngine.getDeployer(dir, extension);
                             deployer.setDirectory(dir);
                             addFileToDeploy(file, deployer, WSInfo.TYPE_CUSTOM);
-                        } else if (file.isDirectory()) {
+                        } else if (file.isDirectory() && !file.getName().startsWith("."))
{
                             //look in the child directory also
                             findFileForGivenDirectory(file, extension, dir);
                         }



Mime
View raw message