portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor PortletApplicationWar.java
Date Tue, 06 Jul 2004 16:56:19 GMT
weaver      2004/07/06 09:56:19

  Modified:    portal/src/java/org/apache/jetspeed/util/descriptor
                        PortletApplicationWar.java
  Log:
  Specific removal of files from cache.
  
  Revision  Changes    Path
  1.10      +5 -4      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationWar.java
  
  Index: PortletApplicationWar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationWar.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- PortletApplicationWar.java	2 Jul 2004 14:37:13 -0000	1.9
  +++ PortletApplicationWar.java	6 Jul 2004 16:56:19 -0000	1.10
  @@ -403,12 +403,12 @@
           {
             warStruct.delete(new AllFileSelector());
             warStruct.delete();
  -          checkFile.delete();
  -          fsManager.getFilesCache().clear(warStruct.getFileSystem());
  +          checkFile.delete();         
  +          fsManager.getFilesCache().removeFile(warStruct.getFileSystem(), warStruct.getName());
           }
           else
           {
  -            fsManager.getFilesCache().clear(warStruct.getFileSystem());
  +            fsManager.getFilesCache().removeFile(warStruct.getFileSystem(), warStruct.getName());
               throw new FileNotFoundException("PortletApplicationWar ,"+warStruct.getURL().getFile()+",
does not exist.");
           }
       }
  @@ -648,6 +648,7 @@
       {
           warStruct.close();
           fsManager.getFilesCache().removeFile(warStruct.getFileSystem(), warStruct.getName());
  +       
           //fsManager.getFilesCache().clear(warStruct.getFileSystem());
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message