pnever      02/04/26 05:45:41

  Modified:    src/share/org/apache/slide/common NamespaceConfig.java
  Log:
  Added workingresourcepath parameter
  
  Revision  Changes    Path
  1.23      +28 -4     
jakarta-slide/src/share/org/apache/slide/common/NamespaceConfig.java
  
  Index: NamespaceConfig.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/NamespaceConfig.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- NamespaceConfig.java      25 Apr 2002 21:30:12 -0000      1.22
  +++ NamespaceConfig.java      26 Apr 2002 12:45:41 -0000      1.23
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/NamespaceConfig.java,v 1.22 
2002/04/25 21:30:12 jericho Exp $
  - * $Revision: 1.22 $
  - * $Date: 2002/04/25 21:30:12 $
  + * $Header: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/NamespaceConfig.java,v 1.23 
2002/04/26 12:45:41 pnever Exp $
  + * $Revision: 1.23 $
  + * $Date: 2002/04/26 12:45:41 $
    *
    * ====================================================================
    *
  @@ -81,7 +81,7 @@
    * Configuration of the Namespace.
    * 
    * @author <a href="mailto:[EMAIL PROTECTED]";>Remy Maucherat</a>
  - * @version $Revision: 1.22 $
  + * @version $Revision: 1.23 $
    */
   public final class NamespaceConfig {
       
  @@ -247,6 +247,12 @@
       
       
       /**
  +     * Identifies the collection that may contain working resources.
  +     */
  +    protected String workingresourcePath;
  +    
  +    
  +    /**
        * Controls the DeltaV auto-version behaviour.
        */
       protected String autoVersion;
  @@ -558,6 +564,16 @@
       
       
       /**
  +     * WorkingResource path accessor.
  +     *
  +     * @return String workingresource path
  +     */
  +    public String getWorkingresourcePath() {
  +        return workingresourcePath;
  +    }
  +    
  +    
  +    /**
        * Auto-Version accessor.
        *
        * @return String auto-version setting
  @@ -867,6 +883,12 @@
           }
           
           try {
  +            workingresourcePath = 
config.getConfiguration("workingresourcepath").getValue();
  +        } catch (ConfigurationException e) {
  +            workingresourcePath = "/workingresource";
  +        }
  +        
  +        try {
               autoVersion = config.getConfiguration("auto-version").getValue();
           } catch (ConfigurationException e) {
               autoVersion = "";
  @@ -1124,6 +1146,7 @@
               filesPath = "";
               historyPath = "/history";
               workspacePath = "/workspace";
  +            workingresourcePath = "/workingresource";
               autoVersion = "checkout-checkin";
               checkoutFork = "forbidden";
               checkinFork = "forbidden";
  @@ -1170,6 +1193,7 @@
               filesPath = "";
               historyPath = "/history";
               workspacePath = "/workspace";
  +            workingresourcePath = "/workingresource";
               autoVersion = "checkout-checkin";
               checkoutFork = "forbidden";
               checkinFork = "forbidden";
  
  
  

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

Reply via email to