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/webapp/WEB-INF/assembly jetspeed.groovy
Date Fri, 09 Jul 2004 18:30:58 GMT
weaver      2004/07/09 11:30:58

  Modified:    portal/src/webapp/WEB-INF/assembly jetspeed.groovy
  Log:
  Removal of VFS
  
  Revision  Changes    Path
  1.45      +5 -22     jakarta-jetspeed-2/portal/src/webapp/WEB-INF/assembly/jetspeed.groovy
  
  Index: jetspeed.groovy
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/assembly/jetspeed.groovy,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- jetspeed.groovy	2 Jul 2004 14:40:28 -0000	1.44
  +++ jetspeed.groovy	9 Jul 2004 18:30:58 -0000	1.45
  @@ -114,13 +114,8 @@
   import org.apache.jetspeed.om.common.portlet.MutablePortletEntity
   import org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
   
  -//Commons VFS
  -import org.apache.commons.vfs.impl.StandardFileSystemManager
  -import org.apache.commons.vfs.FileSystemManager
  -import org.apache.commons.vfs.VFS
  -
   // Autodeploy
  -import org.apache.jetspeed.deployment.impl.AutoDeploymentManager
  +import org.apache.jetspeed.deployment.impl.StandardDeploymentManager
   import org.apache.jetspeed.tools.pamanager.ApplicationServerPAM
   import org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener
   
  @@ -469,17 +464,8 @@
                         doParams([cmpParam(PortletRenderer)])
   )
   
  -/* **********************************************************
  - *  Commons VFS                                             *
  - * ******************************************************** */
  -vfsConfigUri = portalConfig.getString("vfs.configuration.uri", "${applicationRoot}/WEB-INF/conf/vfs-providers.xml")
            
  +           
                               
  -                            
  -standardManager = new StandardFileSystemManager()
  -standardManager.setConfiguration(vfsConfigUri)
  -standardManager.init()
  -container.registerComponentInstance(FileSystemManager, standardManager);
  -
   
   /* **********************************************************
    *  Autodeployment                                          *
  @@ -513,7 +499,6 @@
                                doParams([
                                          cstParam(webAppDeployDirectory),
                                          cmpParam(PortletRegistryComponent),
  -                                       cmpParam(FileSystemManager),
                                          cmpParam(PortletEntityAccessComponent), 
                                          cmpParam(PortletWindowAccessor),
                                          cmpParam(ApplicationServerManager) 
  @@ -524,16 +509,14 @@
   
   portletApplicationListener = new DeployPortletAppEventListener(webAppDeployDirectory, 
                                      container.getComponentInstance("PAM"), 
  -                                   container.getComponentInstance(PortletRegistryComponent),

  -                                   container.getComponentInstance(FileSystemManager));
 
  +                                   container.getComponentInstance(PortletRegistryComponent));
 
   
   container.registerComponent(singletonAdapter(
                                "autodeployment", 
  -                             AutoDeploymentManager,
  +                             StandardDeploymentManager,
                                doParams([cstParam(deployStagingDir), 
                                          cstParam(deployScanningDelay),
  -                                       cstParam([portletApplicationListener]),
  -                                       cmpParam(FileSystemManager)
  +                                       cstParam([portletApplicationListener])
                                          ]
                                )
                             )
  
  
  

---------------------------------------------------------------------
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