Author: nkinder
Update of /cvs/dirsec/console/src/com/netscape/management/client/topology
In directory
cvs-int.fedora.redhat.com:/tmp/cvs-serv22252/src/com/netscape/management/client/topology
Modified Files:
ServerNode.java
Log Message:
173947 - Added ability to build a Console RPM. The layout of Console can now be
distributed inside system locations instead of being self-contained.
Index: ServerNode.java
===================================================================
RCS file:
/cvs/dirsec/console/src/com/netscape/management/client/topology/ServerNode.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- ServerNode.java 18 Jul 2005 00:34:19 -0000 1.1.1.1
+++ ServerNode.java 29 Nov 2005 18:37:12 -0000 1.2
@@ -154,7 +154,7 @@
else
{
// Try to present server object in the topology without creating the
- // object instance. Look for the cached server icon in
jars/<jarName>.icon file.
+ // object instance. Look for the cached server icon in
<jarName>.icon file.
String jarName = getJARClassName(ldc, serverDN);
/* Serializing the icon to cache it no longer seems to be
* working correctly. We will instantiate the server now
@@ -165,7 +165,7 @@
{
jarBaseName = jarName.substring(0,
jarName.indexOf('.'));
}
- cacheIconPath = "jars/" + jarBaseName + ".icon";
+ cacheIconPath = LocalJarClassLoader.jarsDir + jarBaseName +
".icon";
ImageIcon icon = (ImageIcon)getIconFromCache(cacheIconPath);
if (icon != null)
{
Show replies by thread