[seam-commits] Seam SVN: r7451 - trunk/src/main/org/jboss/seam/deployment.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Feb 19 16:15:02 EST 2008
Author: pete.muir at jboss.org
Date: 2008-02-19 16:15:02 -0500 (Tue, 19 Feb 2008)
New Revision: 7451
Modified:
trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
Log:
Fix Grrovy Hot Deployment
Modified: trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-02-19 15:59:36 UTC (rev 7450)
+++ trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-02-19 21:15:02 UTC (rev 7451)
@@ -34,10 +34,6 @@
public GroovyHotDeploymentStrategy(ClassLoader classLoader, File hotDeployDirectory)
{
super(classLoader, hotDeployDirectory);
- if (super.getClassLoader() != null)
- {
- this.classLoader = new GroovyClassLoader(super.getClassLoader());
- }
groovyDeploymentHandler = new GroovyDeploymentHandler(DEFAULT_SCRIPT_EXTENSION);
getDeploymentHandlers().put(GroovyDeploymentHandler.NAME, groovyDeploymentHandler);
}
@@ -45,6 +41,10 @@
@Override
public ClassLoader getClassLoader()
{
+ if (classLoader == null && super.getClassLoader() != null)
+ {
+ this.classLoader = new GroovyClassLoader(super.getClassLoader());
+ }
return classLoader;
}
More information about the seam-commits
mailing list