[seam-commits] Seam SVN: r9031 - trunk/src/main/org/jboss/seam/init.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Sep 19 08:41:29 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-09-19 08:41:28 -0400 (Fri, 19 Sep 2008)
New Revision: 9031

Modified:
   trunk/src/main/org/jboss/seam/init/Initialization.java
Log:
JBSEAM-3413

Modified: trunk/src/main/org/jboss/seam/init/Initialization.java
===================================================================
--- trunk/src/main/org/jboss/seam/init/Initialization.java	2008-09-19 12:10:35 UTC (rev 9030)
+++ trunk/src/main/org/jboss/seam/init/Initialization.java	2008-09-19 12:41:28 UTC (rev 9031)
@@ -645,7 +645,7 @@
          // TODO Hack
          hotDeploymentStrategy.getFiles().add(warRootDirectory);
          init.setHotDeployPaths( hotDeploymentStrategy.getHotDeploymentPaths() );
-      }      
+      }
       
       installComponents(init);
            
@@ -682,7 +682,10 @@
       hotDeploymentStrategy = createHotDeployment(Thread.currentThread().getContextClassLoader());
       addWarRoot(hotDeploymentStrategy);
       hotDeploymentStrategy.scan();
-      installHotDeployableComponents();
+      if (hotDeploymentStrategy.isHotDeployClasslLoaderEnabled())
+      {
+         installHotDeployableComponents();
+      }
       Contexts.getEventContext().set(HotDeploymentStrategy.NAME, hotDeploymentStrategy);
       Pages.instance().setHotDotPageDotXmlFileNames(DotPageDotXmlDeploymentHandler.hotInstance().getFiles());
       init.setTimestamp( System.currentTimeMillis() );




More information about the seam-commits mailing list