geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1327674 - /geronimo/server/branches/3.0-beta/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java
Date Wed, 18 Apr 2012 20:45:30 GMT
Author: gawor
Date: Wed Apr 18 20:45:29 2012
New Revision: 1327674

URL: http://svn.apache.org/viewvc?rev=1327674&view=rev
Log:
ignore bad package in uses directive

Modified:
    geronimo/server/branches/3.0-beta/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java

Modified: geronimo/server/branches/3.0-beta/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java?rev=1327674&r1=1327673&r2=1327674&view=diff
==============================================================================
--- geronimo/server/branches/3.0-beta/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java
(original)
+++ geronimo/server/branches/3.0-beta/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java
Wed Apr 18 20:45:29 2012
@@ -152,7 +152,8 @@ public class PackageUsesHelper {
                 if (useImportPackage == null) {
                     ExportPackageDescription useExportPackage = findExportPackage(usePackageName,
bundle.getExportPackages());
                     if (useExportPackage == null) {
-                        throw new RuntimeException("No import or export package for an 'uses'
package " + usePackageName + " in " + Utils.bundleToString(bundle));
+                        // Ignore bad package in "uses" directive
+                        // throw new RuntimeException("No import or export package for an
'uses' package " + usePackageName + " in " + Utils.bundleToString(bundle));
                     } else {
                         PackageEdge edge = new PackageEdge(processExportPackage(graph, useExportPackage,
startImportPackage));
                         node.addEdge(edge);



Mime
View raw message