Author: jbalunas(a)redhat.com
Date: 2008-10-08 13:51:27 -0400 (Wed, 08 Oct 2008)
New Revision: 9230
Modified:
trunk/seam-gen/build-scripts/build-dev.properties
trunk/src/main/org/jboss/seam/deployment/HotDeploymentStrategy.java
trunk/src/main/org/jboss/seam/init/Initialization.java
Log:
JBSEAM-2455 - fixed hot deployment on weblogic servers
Modified: trunk/seam-gen/build-scripts/build-dev.properties
===================================================================
--- trunk/seam-gen/build-scripts/build-dev.properties 2008-10-08 10:41:32 UTC (rev 9229)
+++ trunk/seam-gen/build-scripts/build-dev.properties 2008-10-08 17:51:27 UTC (rev 9230)
@@ -1,2 +1,2 @@
debug=true
-action.dir=WEB-INF/dev
+action.dir=/WEB-INF/dev
Modified: trunk/src/main/org/jboss/seam/deployment/HotDeploymentStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/HotDeploymentStrategy.java 2008-10-08
10:41:32 UTC (rev 9229)
+++ trunk/src/main/org/jboss/seam/deployment/HotDeploymentStrategy.java 2008-10-08
17:51:27 UTC (rev 9230)
@@ -22,7 +22,7 @@
/**
* The default path at which hot deployable Seam components are placed
*/
- public static final String DEFAULT_HOT_DEPLOYMENT_DIRECTORY_PATH =
"WEB-INF/dev";
+ public static final String DEFAULT_HOT_DEPLOYMENT_DIRECTORY_PATH =
"/WEB-INF/dev";
/**
* The contextual variable name this deployment strategy is made available at
Modified: trunk/src/main/org/jboss/seam/init/Initialization.java
===================================================================
--- trunk/src/main/org/jboss/seam/init/Initialization.java 2008-10-08 10:41:32 UTC (rev
9229)
+++ trunk/src/main/org/jboss/seam/init/Initialization.java 2008-10-08 17:51:27 UTC (rev
9230)
@@ -810,7 +810,11 @@
realPath = resourcePath.getPath();
}
}
- catch (MalformedURLException e) {}
+ catch (MalformedURLException e)
+ {
+ log.warn("Unable to determine real path from servlet context for :
" + path);
+ log.debug("Caused by MalformedURLException", e);
+ }
}
Show replies by date