Permalink
Browse files

remove stale dependencies

  • Loading branch information...
1 parent 1150a86 commit e7964dae1a2bff9a0a5ded3cab5d53eb6d6650bc @atoulme atoulme committed Apr 4, 2011
Showing with 14 additions and 26 deletions.
  1. +1 −3 Buildfile
  2. +13 −23 dependencies.rb
View
@@ -4,8 +4,6 @@ require "buildr4osgi"
require File.join(File.dirname(__FILE__), "repositories.rb")
require File.join(File.dirname(__FILE__), "dependencies.rb")
-require "json"
-
# Keep this structure to allow the build system to update version numbers.
VERSION_NUMBER = "1.0.0.091-SNAPSHOT"
@@ -17,7 +15,7 @@ define "wapama" do
desc "Wapama Editor"
define "designer" do
- compile.with WAR_LIBS, "junit:junit:jar:4.7"
+ compile.with WAR_LIBS, JUNIT
compile.options.source = "1.5"
compile.options.target = "1.5"
View
@@ -5,28 +5,18 @@
"org.eclipse:org.eclipse.emf.common:jar:2.6.0.v20100427-1455",
"org.eclipse:org.eclipse.emf.ecore.xmi:jar:2.5.0.v20100317-1336",
"org.eclipse:org.eclipse.emf.ecore:jar:2.6.0.v20100427-1455"]
-
-WAR_LIBS = ["org.json:json:jar:20090211", "jbpt:jbpt:jar:0.1.0", "commons-collections:commons-collections:jar:3.2.1",
- "commons-configuration:commons-configuration:jar:1.6", "org.jdom:jdom:jar:1.1", "org.apache.velocity:velocity:jar:1.6.4",
- "org.supercsv:SuperCSV:jar:1.52", "org.apache.xmlgraphics:fop:jar:0.95", "com.sun.xml.bind:jaxb-impl:jar:2.2",
- "com.sun.xml.bind:jaxb1-impl:jar:2.2", "de.hpi:atlas:jar:1.0.0", "com.thoughtworks.xstream:xstream:jar:1.3.1",
- "org.xmappr:xmappr:jar:0.9.3", "org.slf4j:slf4j-api:jar:1.5.8",
- "javax.servlet:servlet-api:jar:2.5", "commons-httpclient:commons-httpclient:jar:3.1",
- "commons-fileupload:commons-fileupload:jar:1.2.1", "commons-lang:commons-lang:jar:2.5",
- "org.slf4j:log4j-over-slf4j:jar:1.6.0", "rhino:js:jar:1.7R2", "javax.mail:mail:jar:1.4.1",
- "batik:batik-transcoder:jar:1.6", "xalan:xalan:jar:2.7.1", "xerces:xercesImpl:jar:2.9.1",
- "org.codehaus.jackson:jackson-core-asl:jar:1.5.6", "org.codehaus.jackson:jackson-mapper-asl:jar:1.5.6",
- "org.eclipse:osgi:jar:3.5.0.v20090520", YUICOMPRESSOR] | BPMN2_LIBS
+
+JUNIT = "junit:junit:jar:4.7"
+
+OSGI = "org.eclipse:osgi:jar:3.5.0.v20090520"
+JACKSON = ["org.codehaus.jackson:jackson-core-asl:jar:1.5.6", "org.codehaus.jackson:jackson-mapper-asl:jar:1.5.6"]
+JSON_LIB = "org.json:json:jar:20090211"
+XML_LIBS = "org.jdom:jdom:jar:1.1"
+SLF4J = "org.slf4j:slf4j-api:jar:1.5.8"
+SERVLET_API = ["javax.servlet:servlet-api:jar:2.5"]
+JS = "rhino:js:jar:1.7R2"
+
+WAR_LIBS = [JS, SERVLET_API, SLF4J, XML_LIBS, JSON_LIB, OSGI, YUICOMPRESSOR] | BPMN2_LIBS | JACKSON
-WAR_LIBS_JBOSS = ["org.json:json:jar:20090211", "jbpt:jbpt:jar:0.1.0", "commons-collections:commons-collections:jar:3.2.1",
- "commons-configuration:commons-configuration:jar:1.6", "org.jdom:jdom:jar:1.1", "org.apache.velocity:velocity:jar:1.6.4",
- "org.supercsv:SuperCSV:jar:1.52", "org.apache.xmlgraphics:fop:jar:0.95", "com.sun.xml.bind:jaxb-impl:jar:2.2",
- "com.sun.xml.bind:jaxb1-impl:jar:2.2", "de.hpi:atlas:jar:1.0.0", "com.thoughtworks.xstream:xstream:jar:1.3.1",
- "org.xmappr:xmappr:jar:0.9.3", "org.slf4j:slf4j-api:jar:1.5.8", "org.slf4j:slf4j-jdk14:jar:1.5.6",
- "commons-httpclient:commons-httpclient:jar:3.1",
- "commons-fileupload:commons-fileupload:jar:1.2.1", "commons-lang:commons-lang:jar:2.5",
- "rhino:js:jar:1.7R2", "javax.mail:mail:jar:1.4.1",
- "batik:batik-transcoder:jar:1.6",
- "org.codehaus.jackson:jackson-core-asl:jar:1.5.6", "org.codehaus.jackson:jackson-mapper-asl:jar:1.5.6",
- "org.eclipse:osgi:jar:3.5.0.v20090520", YUICOMPRESSOR] | BPMN2_LIBS
+WAR_LIBS_JBOSS = WAR_LIBS | ["org.slf4j:slf4j-jdk14:jar:1.5.6"]

0 comments on commit e7964da

Please sign in to comment.