Author: thomas.heute(a)jboss.com
Date: 2009-12-18 08:02:11 -0500 (Fri, 18 Dec 2009)
New Revision: 1066
Modified:
tools/packager/trunk/src/main/javascript/eXo/server/JbossEar.js
Log:
GTNPORTAL-274: Remove slf4j-*.jar from gatein.ear in jboss packaging
Also removed unused JOTM declaration
Modified: tools/packager/trunk/src/main/javascript/eXo/server/JbossEar.js
===================================================================
--- tools/packager/trunk/src/main/javascript/eXo/server/JbossEar.js 2009-12-18 12:27:23
UTC (rev 1065)
+++ tools/packager/trunk/src/main/javascript/eXo/server/JbossEar.js 2009-12-18 13:02:11
UTC (rev 1066)
@@ -76,19 +76,19 @@
// product.removeDependency(new Project("quartz", "quartz",
"jar",
// "1.5.0-RC2"));
- var version = product.version;
- if (version.indexOf("2.0") != 0 && version.indexOf("2.1")
!= 0 && version.indexOf("2.2") != 0
- && version.indexOf("2.5") != 0) {
- product.addDependencies(new Project("org.slf4j", "slf4j-api",
"jar", "1.5.6"));
- product.addDependencies(new Project("org.slf4j", "slf4j-log4j12",
"jar", "1.5.6"));
- }
+ //var version = product.version;
+ //if (version.indexOf("2.0") != 0 && version.indexOf("2.1")
!= 0 && version.indexOf("2.2") != 0
+ // && version.indexOf("2.5") != 0) {
+ // product.addDependencies(new Project("org.slf4j", "slf4j-api",
"jar", "1.5.6"));
+ // product.addDependencies(new Project("org.slf4j",
"slf4j-log4j12", "jar", "1.5.6"));
+ //}
// Above 2.5 we don't bundle JOTM anymore
- var version = product.version;
- if (version.indexOf("2.0") != 0 && version.indexOf("2.1")
!= 0 && version.indexOf("2.2") != 0) {
- product.removeDependency(new Project("jotm", "jotm_jrmp_stubs",
"jar", "2.0.10"));
- product.removeDependency(new Project("jotm", "jotm",
"jar", "2.0.10"));
- }
+ //var version = product.version;
+ //if (version.indexOf("2.0") != 0 && version.indexOf("2.1")
!= 0 && version.indexOf("2.2") != 0) {
+ // product.removeDependency(new Project("jotm", "jotm_jrmp_stubs",
"jar", "2.0.10"));
+ // product.removeDependency(new Project("jotm", "jotm",
"jar", "2.0.10"));
+ //}
// Remove hibernate libs for JBoss AS5
if (this.exoJBoss5) {