User: schulze
Date: 00/11/02 19:39:04
Modified: src/main/org/jboss/deployment J2eeDeployer.java
Log:
I ve allowed the file deletion on undeploy so that it runs fine with windows but
leaves a lot of files in tmp...
I will have a closer look on it tomorrow.
write once run anywhere (tm) ...
Revision Changes Path
1.7 +5 -4 jboss/src/main/org/jboss/deployment/J2eeDeployer.java
Index: J2eeDeployer.java
===================================================================
RCS file:
/products/cvs/ejboss/jboss/src/main/org/jboss/deployment/J2eeDeployer.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- J2eeDeployer.java 2000/11/03 02:19:05 1.6
+++ J2eeDeployer.java 2000/11/03 03:39:03 1.7
@@ -54,7 +54,7 @@
* (ContainerFactory for jBoss and EmbededTomcatService for Tomcat).
*
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel Schulze</a>
-* @version $Revision: 1.6 $
+* @version $Revision: 1.7 $
*/
public class J2eeDeployer
extends ServiceMBeanSupport
@@ -469,7 +469,7 @@
{
Deployment.Module m = _d.newModule ();
m.name = getAppName (_source);
- log.log ("intalling ejb package: " + m.name);
+ log.log ("installing ejb package: " + m.name);
// the base dir for this EJB package
URL destDir = URLWizzard.createTempDir (_d.localUrl, "ejb");
@@ -505,7 +505,7 @@
{
Deployment.Module m = _d.newModule ();
m.name = getAppName (_source);
- log.log ("intalling web package: " + m.name);
+ log.log ("installing web package: " + m.name);
// the base dir for this WAR package
URL destDir = URLWizzard.createTempDir (_d.localUrl, "war");
@@ -590,7 +590,8 @@
log.log ("file tree "+url.toString ()+" deleted.");
} catch (MalformedURLException _mfe) { // should never happen
} catch (IOException _ioe) {
- throw _ioe;
+ log.log ("could not remove file: "+url.toString ());
+ // throw _ioe;
}
}