Author: skitching
Date: Sun Feb 20 18:21:48 2005
New Revision: 154609

URL: http://svn.apache.org/viewcvs?view=rev&rev=154609
Log:
Change due to fact that PluginRuleManager no longer auto-prepends the 
mount point to relative paths. Instead, we need to pass the full path
to the addRules method.

Modified:
    
jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/strategies/LoaderSetProperties.java

Modified: 
jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/strategies/LoaderSetProperties.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/strategies/LoaderSetProperties.java?view=diff&r1=154608&r2=154609
==============================================================================
--- 
jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/strategies/LoaderSetProperties.java
 (original)
+++ 
jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/strategies/LoaderSetProperties.java
 Sun Feb 20 18:21:48 2005
@@ -26,7 +26,7 @@
 import org.apache.commons.digester2.plugins.PluginException;
 
 /**
- * A RuleLoader which creates a single SetPropertiesRule and adds it to the
+ * A RuleLoader which creates a single SetPropertiesAction and adds it to the
  * digester when its addRules() method is invoked.
  * <p>
  * This loader ensures that any xml attributes on the plugin tag get
@@ -38,7 +38,7 @@
 public class LoaderSetProperties extends RuleLoader {
     
     /**
-     * Just add a SetPropertiesRule at the specified path.
+     * Just add a SetPropertiesAction at the specified path.
      */
     public void addRules(Context context) 
     throws PluginException {
@@ -53,7 +53,7 @@
         }
 
         try {
-            context.getRuleManager().addRule(null, new SetPropertiesAction());
+            context.getRuleManager().addRule(path, new SetPropertiesAction());
         } catch(InvalidRuleException ex) {
             throw new PluginException(ex);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to