geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r437427 - /geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
Date Sun, 27 Aug 2006 17:46:55 GMT
Author: djencks
Date: Sun Aug 27 10:46:54 2006
New Revision: 437427

URL: http://svn.apache.org/viewvc?rev=437427&view=rev
Log:
GERONIMO-2326 hack around a problem in the db portlet until the 1.1 branch can be forward-ported

Modified:
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java?rev=437427&r1=437426&r2=437427&view=diff
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
Sun Aug 27 10:46:54 2006
@@ -890,7 +890,8 @@
                 configId.setType("rar");
 
                 String[] jars = data.getJars();
-                org.apache.geronimo.deployment.service.jsr88.Artifact[] dependencies = new
org.apache.geronimo.deployment.service.jsr88.Artifact[jars.length];
+                int length = jars[jars.length - 1].length() ==0? jars.length -1: jars.length;
+                org.apache.geronimo.deployment.service.jsr88.Artifact[] dependencies = new
org.apache.geronimo.deployment.service.jsr88.Artifact[length];
                 for (int i=0; i<dependencies.length; i++) {
                 	dependencies[i] = new org.apache.geronimo.deployment.service.jsr88.Artifact();
                 }



Mime
View raw message