weaver      2004/07/09 11:47:28

  Modified:    webapp/WEB-INF/conf/assembly jetspeed.groovy
  Log:
  removed VFS
  
  Revision  Changes    Path
  1.5       +5 -21     jakarta-jetspeed/webapp/WEB-INF/conf/assembly/jetspeed.groovy
  
  Index: jetspeed.groovy
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/assembly/jetspeed.groovy,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- jetspeed.groovy   7 Jul 2004 18:39:31 -0000       1.4
  +++ jetspeed.groovy   9 Jul 2004 18:47:27 -0000       1.5
  @@ -107,13 +107,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.fusion.tools.pamanager.FusionAppServerPAM
   import org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener
   
  @@ -423,16 +418,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);
   
   
   /* **********************************************************
  @@ -467,7 +454,6 @@
                                doParams([
                                          cstParam(webAppDeployDirectory),
                                          cmpParam(PortletRegistryComponent),
  -                                       cmpParam(FileSystemManager),
                                          cmpParam(PortletEntityAccessComponent), 
                                          cmpParam(PortletWindowAccessor),
                                          cmpParam(ApplicationServerManager) 
  @@ -478,16 +464,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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to