ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject svn commit: r908847 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
Date Thu, 11 Feb 2010 05:40:50 GMT
Author: ruwan
Date: Thu Feb 11 05:40:50 2010
New Revision: 908847

URL: http://svn.apache.org/viewvc?rev=908847&view=rev
Log:
Fixing an issue in the repository listener not picking the internal direcotries of the repository

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

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java?rev=908847&r1=908846&r2=908847&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
Thu Feb 11 05:40:50 2010
@@ -271,9 +271,7 @@
             String directory = entry.getKey();
             Map<String, Deployer> extensionMap = entry.getValue();
             for (String extension : extensionMap.keySet()) {
-                String[] strings = directory.split("/");
-                File dirToSearch = new File(deploymentEngine.getRepositoryDir(),
-                        strings[strings.length - 1]);
+                File dirToSearch = new File(deploymentEngine.getRepositoryDir(), directory);
                 findFileForGivenDirectory(dirToSearch, extension, directory);
             }
         }



Mime
View raw message