You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by jr...@apache.org on 2003/01/22 11:32:43 UTC
cvs commit: jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/ui CactusPreferences.java
jruaux 2003/01/22 02:32:43
Modified: Eclipse-Plugin/src/java/org/apache/cactus/eclipse/ui
CactusPreferences.java
Log:
Added log feature
Revision Changes Path
1.5 +28 -9 jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/ui/CactusPreferences.java
Index: CactusPreferences.java
===================================================================
RCS file: /home/cvs/jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/ui/CactusPreferences.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CactusPreferences.java 3 Jan 2003 15:50:31 -0000 1.4
+++ CactusPreferences.java 22 Jan 2003 10:32:43 -0000 1.5
@@ -134,7 +134,9 @@
.append(store.getInt(CONTEXT_URL_PORT))
.append("/")
.append(store.getString(CONTEXT_URL_PATH));
- return buf.toString();
+ String result = buf.toString();
+ CactusPlugin.log("Cactus preference : ContextURL = " + result);
+ return result;
}
/**
@@ -146,7 +148,9 @@
public static int getContextURLPort()
{
IPreferenceStore store = CactusPlugin.getDefault().getPreferenceStore();
- return store.getInt(CONTEXT_URL_PORT);
+ int result = store.getInt(CONTEXT_URL_PORT);
+ CactusPlugin.log("Cactus preference : ContextURLPort = " + result);
+ return result;
}
/**
@@ -158,7 +162,9 @@
public static String getContextURLPath()
{
IPreferenceStore store = CactusPlugin.getDefault().getPreferenceStore();
- return store.getString(CONTEXT_URL_PATH);
+ String result = store.getString(CONTEXT_URL_PATH);
+ CactusPlugin.log("Cactus preference : ContextURLPath = " + result);
+ return result;
}
/**
@@ -170,7 +176,9 @@
public static String getJarsDir()
{
IPreferenceStore store = CactusPlugin.getDefault().getPreferenceStore();
- return store.getString(JARS_DIR);
+ String result = store.getString(JARS_DIR);
+ CactusPlugin.log("Cactus preference : JarsDir = " + result);
+ return result;
}
/**
@@ -182,7 +190,9 @@
public static String getTempDir()
{
IPreferenceStore store = CactusPlugin.getDefault().getPreferenceStore();
- return store.getString(TEMP_DIR);
+ String result = store.getString(TEMP_DIR);
+ CactusPlugin.log("Cactus preference : TempDir = " + result);
+ return result;
}
/**
* Returns the TOMCAT40_DIR.
@@ -191,7 +201,9 @@
public static String getTomcat40Dir()
{
IPreferenceStore store = CactusPlugin.getDefault().getPreferenceStore();
- return store.getString(TOMCAT40_DIR);
+ String result = store.getString(TOMCAT40_DIR);
+ CactusPlugin.log("Cactus preference : Tomcat40Dir = " + result);
+ return result;
}
/**
@@ -201,7 +213,9 @@
public static String getResin20Dir()
{
IPreferenceStore store = CactusPlugin.getDefault().getPreferenceStore();
- return store.getString(RESIN20_DIR);
+ String result = store.getString(RESIN20_DIR);
+ CactusPlugin.log("Cactus preference : Resin20Dir = " + result);
+ return result;
}
/**
@@ -211,7 +225,9 @@
public static String getWeblogic70Dir()
{
IPreferenceStore store = CactusPlugin.getDefault().getPreferenceStore();
- return store.getString(WEBLOGIC70_DIR);
+ String result = store.getString(WEBLOGIC70_DIR);
+ CactusPlugin.log("Cactus preference : Weblogic70Dir = " + result);
+ return result;
}
/**
@@ -236,6 +252,9 @@
containerHomes.addElement(
new ContainerHome(WEBLOGIC70_DIR, getWeblogic70Dir()));
}
- return (ContainerHome[]) containerHomes.toArray(new ContainerHome[0]);
+ ContainerHome[] result =
+ (ContainerHome[]) containerHomes.toArray(new ContainerHome[0]);
+ CactusPlugin.log("Cactus preference : ContainerHomes = " + result);
+ return result;
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>