Author: shane.bryzak(a)jboss.com
Date: 2008-09-18 05:13:58 -0400 (Thu, 18 Sep 2008)
New Revision: 9013
Modified:
trunk/src/main/org/jboss/seam/init/Initialization.java
Log:
JBSEAM-3404
Modified: trunk/src/main/org/jboss/seam/init/Initialization.java
===================================================================
--- trunk/src/main/org/jboss/seam/init/Initialization.java 2008-09-18 08:42:10 UTC (rev
9012)
+++ trunk/src/main/org/jboss/seam/init/Initialization.java 2008-09-18 09:13:58 UTC (rev
9013)
@@ -635,8 +635,6 @@
Contexts.getEventContext().set(StandardDeploymentStrategy.NAME,
standardDeploymentStrategy);
Contexts.getEventContext().set(HotDeploymentStrategy.NAME, hotDeploymentStrategy);
- installComponents(init);
-
if (hotDeploymentStrategy.isEnabled())
{
hotDeploymentStrategy.scan();
@@ -647,8 +645,10 @@
// TODO Hack
hotDeploymentStrategy.getFiles().add(warRootDirectory);
init.setHotDeployPaths( hotDeploymentStrategy.getHotDeploymentPaths() );
- }
+ }
+ installComponents(init);
+
for (String globalImport: globalImports)
{
init.importNamespace(globalImport);
Show replies by date