You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by az...@apache.org on 2007/07/14 23:20:08 UTC

svn commit: r556339 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java

Author: azeez
Date: Sat Jul 14 14:20:07 2007
New Revision: 556339

URL: http://svn.apache.org/viewvc?view=rev&rev=556339
Log:
Computing the correct service group name


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

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java?view=diff&rev=556339&r1=556338&r2=556339
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java Sat Jul 14 14:20:07 2007
@@ -1021,7 +1021,11 @@
             currentDeploymentFile.setClassLoader(classLoader);
             AxisServiceGroup serviceGroup = new AxisServiceGroup();
             serviceGroup.setServiceGroupClassLoader(classLoader);
-            serviceGroup.setServiceGroupName(serviceFile.getName());
+
+            // Drop the extension and take the name
+            String fileName = serviceFile.getName();
+            String serviceGroupName = fileName.substring(0, fileName.lastIndexOf("."));
+            serviceGroup.setServiceGroupName(serviceGroupName);
             AxisConfiguration axisConfig = configCtx.getAxisConfiguration();
 
             ArchiveReader archiveReader = new ArchiveReader();



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org