Author: dbaeli
Date: 2010-10-18 18:50:41 -0400 (Mon, 18 Oct 2010)
New Revision: 4718
Modified:
exo/maven/packager/branches/1.0.x/src/main/javascript/eXo/server/JbossEar.js
exo/maven/packager/branches/1.0.x/src/main/javascript/eXo/server/Tomcat.js
Log:
EXOGTN-110 Remove kernel-mc in GateIn packaging - wrong kernel version, no need for that
to be deployed
Modified: exo/maven/packager/branches/1.0.x/src/main/javascript/eXo/server/JbossEar.js
===================================================================
---
exo/maven/packager/branches/1.0.x/src/main/javascript/eXo/server/JbossEar.js 2010-10-18
18:24:54 UTC (rev 4717)
+++
exo/maven/packager/branches/1.0.x/src/main/javascript/eXo/server/JbossEar.js 2010-10-18
22:50:41 UTC (rev 4718)
@@ -78,17 +78,18 @@
// product.removeDependency(new Project("quartz", "quartz",
"jar",
// "1.5.0-RC2"));
- this.EXO_KERNEL_VER = "2.2.0-GA";
- product.addDependencies(new Project("org.jboss.mc-int",
"jboss-mc-int-common", "jar", "2.2.0.Alpha2"));
- product.addDependencies(new Project("org.jboss.mc-int",
"jboss-mc-int-servlet", "jar", "2.2.0.Alpha2"));
- product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-int", "jar", this.EXO_KERNEL_VER));
- product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-kernel-extras", "jar", this.EXO_KERNEL_VER));
+//EXOGTN-106 remove bad deps and un-needed
+// this.EXO_KERNEL_VER = "2.2.0-GA";
+// product.addDependencies(new Project("org.jboss.mc-int",
"jboss-mc-int-common", "jar", "2.2.0.Alpha2"));
+// product.addDependencies(new Project("org.jboss.mc-int",
"jboss-mc-int-servlet", "jar", "2.2.0.Alpha2"));
+// product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-int", "jar", this.EXO_KERNEL_VER));
+// product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-kernel-extras", "jar", this.EXO_KERNEL_VER));
- if (product.integrationTests) {
- this.MC_INT_DEMO_ARTIFACT = "exo.kernel.mc-int-demo";
- product.addDependencies(new Project("org.exoplatform.kernel",
this.MC_INT_DEMO_ARTIFACT, "jar", this.EXO_KERNEL_VER));
- product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-int-tests", "war", this.EXO_KERNEL_VER));
- }
+// if (product.integrationTests) {
+// this.MC_INT_DEMO_ARTIFACT = "exo.kernel.mc-int-demo";
+// product.addDependencies(new Project("org.exoplatform.kernel",
this.MC_INT_DEMO_ARTIFACT, "jar", this.EXO_KERNEL_VER));
+// product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-int-tests", "war", this.EXO_KERNEL_VER));
+// }
//var version = product.version;
//if (version.indexOf("2.0") != 0 && version.indexOf("2.1")
!= 0 && version.indexOf("2.2") != 0
Modified: exo/maven/packager/branches/1.0.x/src/main/javascript/eXo/server/Tomcat.js
===================================================================
--- exo/maven/packager/branches/1.0.x/src/main/javascript/eXo/server/Tomcat.js 2010-10-18
18:24:54 UTC (rev 4717)
+++ exo/maven/packager/branches/1.0.x/src/main/javascript/eXo/server/Tomcat.js 2010-10-18
22:50:41 UTC (rev 4718)
@@ -75,16 +75,17 @@
product.addDependencies(new Project("commons-pool", "commons-pool",
"jar", "1.2"));
product.addDependencies(new Project("commons-dbcp", "commons-dbcp",
"jar", "1.2.1"));
product.addDependencies(new Project("org.exoplatform.portal",
"exo.portal.server.tomcat.plugin", "jar",
product.serverPluginVersion));
- product.addDependencies(new Project("org.exoplatform.tool",
"exo.tool.webunit", "jar", "1.0.0"));
+// product.addDependencies(new Project("org.exoplatform.tool",
"exo.tool.webunit", "jar", "1.0.0"));
//GTNPORTAL-32 No WSRP on tomcat yet
product.removeDependency(new Project("org.exoplatform.portal",
"exo.portal.component.wsrp", "jar", product.serverPluginVersion ));
product.removeDependencyByGroupId("org.gatein.wsrp");
- if (product.integrationTests) {
- product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-int-demo", "jar", "2.2.0-Beta05"));
- product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-int-tests", "war", "2.2.0-Beta05"));
- }
+//EXOGTN-106 remove bad deps and un-needed
+// if (product.integrationTests) {
+// product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-int-demo", "jar", "2.2.0-Beta05"));
+// product.addDependencies(new Project("org.exoplatform.kernel",
"exo.kernel.mc-int-tests", "war", "2.2.0-Beta05"));
+// }
}
Tomcat.prototype.onDeploy = function(project) {