geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r833027 - /geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java
Date Thu, 05 Nov 2009 10:32:12 GMT
Author: vamsic007
Date: Thu Nov  5 10:31:14 2009
New Revision: 833027

URL: http://svn.apache.org/viewvc?rev=833027&view=rev
Log:
Process only SCA enhanced web modules.
 o SCA-enhanced = web.composite is present

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=833027&r1=833026&r2=833027&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
Thu Nov  5 10:31:14 2009
@@ -201,6 +201,11 @@
     
     private void handleWebModule(EARContext earContext, Module module, ClassLoader cl, Collection
repository) throws DeploymentException {
         System.out.println("Inside TuscanyModuleBuilderExtension.handleWebModule");
+        // Process only SCA enhanced modules
+        // TODO: Handle non-SCA enhanced modules as well
+        if(module.getModuleFile().getEntry("WEB-INF/web.composite") == null) {
+            return;
+        }
         Naming naming = earContext.getNaming();
         
         // Add EmbeddedRuntimeGBean to the application config.



Mime
View raw message