shuber      2005/06/08 16:15:36 CEST

  Modified files:
    core/src/java/org/jahia/admin/sites ManageSites.java 
  Log:
  Deactivating deployment of webapps when new site is created as it doesn't 
work well with JSR-168 portlets.
  This is a temporary solution. The long-term solution is to share applications 
by default in order to avoid multiple deployments of the same webapp.
  
  Revision  Changes    Path
  1.8       +6 -2      
jahia/core/src/java/org/jahia/admin/sites/ManageSites.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/admin/sites/ManageSites.java.diff?r1=1.7&r2=1.8&f=h
  
  
  
  Index: ManageSites.java
  ===================================================================
  RCS file: 
/home/cvs/repository/jahia/core/src/java/org/jahia/admin/sites/ManageSites.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ManageSites.java  11 May 2005 09:54:16 -0000      1.7
  +++ ManageSites.java  8 Jun 2005 14:15:36 -0000       1.8
  @@ -1,4 +1,4 @@
  -// $Id: ManageSites.java,v 1.7 2005/05/11 09:54:16 tdraier Exp $
  +// $Id: ManageSites.java,v 1.8 2005/06/08 14:15:36 shuber Exp $
   //
   //                                   ____.
   //                       __/\ ______|    |__/\.     _______
  @@ -717,7 +717,11 @@
                   JahiaSiteTools.startWebAppsObserver(site, 
jParams.settings());
   
                   // copy the default shared components
  -                copySharedComponents(site.getSiteKey());
  +                /** @todo FIXME temporarily deactivated because we will now
  +                 * share the applications by default instead of deploying 
them
  +                 * for each web site.
  +                // copySharedComponents(site.getSiteKey());
  +                */
   
                   // create the search index
                   searchServ.createSearchHandler(site.getID());
  

Reply via email to