directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r689066 - in /directory/studio/trunk: aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/ apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/ apacheds/src/main/java/org/apache/director...
Date Tue, 26 Aug 2008 13:14:50 GMT
Author: pamarcelot
Date: Tue Aug 26 06:14:49 2008
New Revision: 689066

URL: http://svn.apache.org/viewvc?rev=689066&view=rev
Log:
Part of a fix for DIRSTUDIO-375 (Move each plugin IDs in a plugin.properties file).
Accessing the static field correctly.

Modified:
    directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/Activator.java
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/ApacheDSConfigurationPlugin.java
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/ApacheDsPlugin.java

Modified: directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/Activator.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/Activator.java?rev=689066&r1=689065&r2=689066&view=diff
==============================================================================
--- directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/Activator.java
(original)
+++ directory/studio/trunk/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/Activator.java
Tue Aug 26 06:14:49 2008
@@ -289,9 +289,10 @@
             {
                 // We can't use the PLUGIN_ID constant since loading the plugin.properties
file has failed,
                 // So we're using a default plugin id.
-                getLog().log(
-                    new Status( Status.ERROR, PLUGIN_ID, Status.OK,
-                        "Unable to get the plugin properties.", e ) );
+                getLog()
+                    .log(
+                        new Status( Status.ERROR, Activator.PLUGIN_ID, Status.OK,
+                            "Unable to get the plugin properties.", e ) );
             }
         }
 

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/ApacheDSConfigurationPlugin.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/ApacheDSConfigurationPlugin.java?rev=689066&r1=689065&r2=689066&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/ApacheDSConfigurationPlugin.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/ApacheDSConfigurationPlugin.java
Tue Aug 26 06:14:49 2008
@@ -209,7 +209,8 @@
             catch ( IOException e )
             {
                 getLog().log(
-                    new Status( Status.ERROR, PLUGIN_ID, Status.OK, "Unable to get the plugin
properties.", e ) );
+                    new Status( Status.ERROR, ApacheDSConfigurationPlugin.PLUGIN_ID, Status.OK,
+                        "Unable to get the plugin properties.", e ) );
             }
         }
 

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/ApacheDsPlugin.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/ApacheDsPlugin.java?rev=689066&r1=689065&r2=689066&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/ApacheDsPlugin.java
(original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/ApacheDsPlugin.java
Tue Aug 26 06:14:49 2008
@@ -170,7 +170,8 @@
             catch ( IOException e )
             {
                 getLog().log(
-                    new Status( Status.ERROR, PLUGIN_ID, Status.OK, "Unable to get the plugin
properties.", e ) );
+                    new Status( Status.ERROR, ApacheDsPlugin.PLUGIN_ID, Status.OK,
+                        "Unable to get the plugin properties.", e ) );
             }
         }
 



Mime
View raw message