[seam-commits] Seam SVN: r9030 - trunk/src/main/org/jboss/seam/deployment.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Sep 19 08:10:35 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-09-19 08:10:35 -0400 (Fri, 19 Sep 2008)
New Revision: 9030
Modified:
trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
Log:
Fix testsuite
Modified: trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-09-19 11:58:50 UTC (rev 9029)
+++ trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-09-19 12:10:35 UTC (rev 9030)
@@ -34,13 +34,17 @@
public GroovyHotDeploymentStrategy(ClassLoader classLoader, File hotDeployDirectory, boolean enabled)
{
super(classLoader, hotDeployDirectory, enabled);
- groovyDeploymentHandler = new GroovyDeploymentHandler(DEFAULT_SCRIPT_EXTENSION);
- getDeploymentHandlers().put(GroovyDeploymentHandler.NAME, groovyDeploymentHandler);
+ if (enabled)
+ {
+ groovyDeploymentHandler = new GroovyDeploymentHandler(DEFAULT_SCRIPT_EXTENSION);
+ getDeploymentHandlers().put(GroovyDeploymentHandler.NAME, groovyDeploymentHandler);
+ }
}
@Override
public ClassLoader getClassLoader()
{
+ System.out.println(classLoader + "/" + super.getClassLoader());
if (classLoader == null && super.getClassLoader() != null)
{
this.classLoader = new GroovyClassLoader(super.getClassLoader());
More information about the seam-commits
mailing list