geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r355656 - /geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java
Date Fri, 09 Dec 2005 23:55:10 GMT
Author: djencks
Date: Fri Dec  9 15:55:07 2005
New Revision: 355656

URL: http://svn.apache.org/viewcvs?rev=355656&view=rev
Log:
GERONIMO-1320 make assembly plugin recursive on parents, fix previous commit

Modified:
    geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java

Modified: geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java?rev=355656&r1=355655&r2=355656&view=diff
==============================================================================
--- geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java
(original)
+++ geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java
Fri Dec  9 15:55:07 2005
@@ -131,9 +131,11 @@
             }
         }
         URI[] parentId = (URI[]) config.getAttribute("parentId");
-        for (int i = 0; i < parentId.length; i++) {
-            URI parent = parentId[i];
-            execute(parent, installAdapter, sourceRepo, targetRepo);
+        if (parentId != null) {
+            for (int i = 0; i < parentId.length; i++) {
+                URI parent = parentId[i];
+                execute(parent, installAdapter, sourceRepo, targetRepo);
+            }
         }
     }
 



Mime
View raw message