You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/08/31 07:00:17 UTC

cvs commit: jakarta-avalon-phoenix/lib excalibur-i18n-1.0.jar

donaldp     2002/08/30 22:00:17

  Modified:    src/java/org/apache/avalon/phoenix/components/deployer
                        DefaultDeployer.java
               lib      excalibur-i18n-1.0.jar
  Log:
  Update i18n library so that it has the method to dump the cache of resources on request.
  
  Update the Deployer to dump resource cache so that reloaded applications will reload the resources aswell.
  
  PR: 11588
  
  Revision  Changes    Path
  1.52      +7 -0      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/deployer/DefaultDeployer.java
  
  Index: DefaultDeployer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/deployer/DefaultDeployer.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- DefaultDeployer.java	26 Aug 2002 10:39:55 -0000	1.51
  +++ DefaultDeployer.java	31 Aug 2002 05:00:16 -0000	1.52
  @@ -274,6 +274,13 @@
               throw new DeploymentException( message );
           }
   
  +        /*
  +         * Clear all the reosurces out of ResourceManager cache
  +         * so that reloaded applications will have their i18n bundles
  +         * reloaded.
  +         */
  +        ResourceManager.clearResourceCache();
  +
           Installation installation = null;
           boolean success = false;
           try
  
  
  
  1.3       +105 -89   jakarta-avalon-phoenix/lib/excalibur-i18n-1.0.jar
  
  	<<Binary file>>
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>