geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r781969 - /geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java
Date Fri, 05 Jun 2009 09:47:51 GMT
Author: vamsic007
Date: Fri Jun  5 09:47:50 2009
New Revision: 781969

URL: http://svn.apache.org/viewvc?rev=781969&view=rev
Log:
Verify that the WAR file and web-uri match.

Modified:
    geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java

Modified: geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java?rev=781969&r1=781968&r2=781969&view=diff
==============================================================================
--- geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java
(original)
+++ geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java
Fri Jun  5 09:47:50 2009
@@ -276,7 +276,7 @@
                     for(Component component : ((Composite)artifact.getModel()).getComponents())
{
                         if(component.getImplementation() instanceof WebImplementation) {
                             WebImplementation webImpl = (WebImplementation) component.getImplementation();
-                            if(webImpl.getWebURI().equals(module.getName())) {
+                            if(webImpl.getWebURI().equals(new File(module.getModuleFile().getName()).getName()))
{
                                 thisComponentName = component.getName();
                                 break;
                             }



Mime
View raw message