Author: thomas.heute(a)jboss.com
Date: 2010-02-15 18:38:38 -0500 (Mon, 15 Feb 2010)
New Revision: 1721
Modified:
maven/packager/trunk/src/main/javascript/eXo/server/Tomcat.js
Log:
Tomcat configuration moved to $TOMCAT_HOME/gatein/conf
Modified: maven/packager/trunk/src/main/javascript/eXo/server/Tomcat.js
===================================================================
--- maven/packager/trunk/src/main/javascript/eXo/server/Tomcat.js 2010-02-15 23:29:36 UTC
(rev 1720)
+++ maven/packager/trunk/src/main/javascript/eXo/server/Tomcat.js 2010-02-15 23:38:38 UTC
(rev 1721)
@@ -8,8 +8,8 @@
this.cleanServer = eXo.env.cleanServer;
this.deployLibDir = this.serverHome + "/lib";
this.deployWebappDir = this.serverHome + "/webapps";
- this.configDir = this.serverHome + "/conf";
- this.gateInConfigDir = this.configDir + "/gatein";
+ this.gateinDir = this.serverHome + "/gatein";
+ this.gateInConfigDir = this.gateinDir + "/conf";
this.patchDir = this.serverHome;
this.pluginVersion = "trunk";
}
@@ -122,7 +122,7 @@
Tomcat.prototype.postDeploy = function(product) {
// Copy configuration
- new java.io.File(this.gateInConfigDir).mkdir();
+ new java.io.File(this.gateInConfigDir).mkdirs();
eXo.core.IOUtil.cp(eXo.env.currentDir +
"/../../component/common/src/main/java/conf/configuration-tomcat.properties",
this.gateInConfigDir + "/configuration.properties")
var configFileInWar = "WEB-INF/conf/configuration.xml";
Show replies by date