Permalink
Browse files

change the structure of the project to a multi project

  • Loading branch information...
1 parent 00d10e4 commit 93383488b1c9444fe866cdec8c6f74ffcfb0daeb @atoulme atoulme committed Apr 3, 2011
Showing 3,315 changed files with 56 additions and 58 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -1,38 +1,51 @@
require "buildr4osgi"
-require "repositories.rb"
-require "dependencies.rb"
+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.089-SNAPSHOT"
desc "Wapama Designer"
-define "designer" do
+define "wapama" do
project.version = VERSION_NUMBER
- project.group = "org.wapama"
+ project.group = "org.wapama"
- compile.with WAR_LIBS, "junit:junit:jar:4.7"
- compile.options.source = "1.5"
- compile.options.target = "1.5"
-
- webContent = "WebContent/"
-
- package(:bundle).include(_("src/main/webapp"), :as => webContent).exclude('WEB-INF/tomcat_web.xml')
- package(:war).include(_("src/main/webapp"), :as => '.').exclude('WEB-INF/tomcat_web.xml')
- package(:war, :classifier => "jboss").include(_("src/main/webapp"), :as => '.').exclude('WEB-INF/tomcat_web.xml')
+ desc "Wapama Editor"
+ define "designer" do
- package(:war).libs = WAR_LIBS
- package(:war, :classifier => "jboss").libs = WAR_LIBS_JBOSS
+ compile.with WAR_LIBS, "junit:junit:jar:4.7"
+ compile.options.source = "1.5"
+ compile.options.target = "1.5"
+
+ webContent = "WebContent/"
+
+ package(:bundle).include(_("src/main/webapp"), :as => webContent).exclude('WEB-INF/tomcat_web.xml')
+ package(:war).include(_("src/main/webapp"), :as => '.').exclude('WEB-INF/tomcat_web.xml')
+ package(:war, :classifier => "jboss").include(_("src/main/webapp"), :as => '.').exclude('WEB-INF/tomcat_web.xml')
+
+ package(:war).libs = WAR_LIBS
+ package(:war, :classifier => "jboss").libs = WAR_LIBS_JBOSS
- package(:war, :classifier => "jboss").include(_('src/main/webapp/WEB-INF/tomcat_web.xml'), :as=>'WEB-INF/web.xml')
+ package(:war, :classifier => "jboss").include(_('src/main/webapp/WEB-INF/tomcat_web.xml'), :as=>'WEB-INF/web.xml')
- read_m = ::Buildr::Packaging::Java::Manifest.parse(File.read(_("META-INF/MANIFEST.MF"))).main
- read_m["Jetty-WarFolderPath"] = webContent
- read_m["Bundle-Version"] = project.version
- package(:bundle).with :manifest => read_m
+ read_m = ::Buildr::Packaging::Java::Manifest.parse(File.read(_("META-INF/MANIFEST.MF"))).main
+ read_m["Jetty-WarFolderPath"] = webContent
+ read_m["Bundle-Version"] = project.version
+ package(:bundle).with :manifest => read_m
+
+ package(:sources)
+ end
+
+ desc "Wapama distribution"
+ define "distrib" do
+ package(:zip).include _("../LICENSE")
+ package(:zip).include project("designer").package(:jar), :path => "distrib"
+ package(:zip).include project("designer").package(:war), :path => "distrib"
+ package(:zip).include project("designer").package(:war, :classifier => "jboss"), :path => "distrib"
+ end
- package(:sources)
end
View
59 LICENSE
@@ -1,37 +1,22 @@
-/**
- * Copyright (c) 2006-2010
- *
- * Philipp Berger, Martin Czuchra, Gero Decker, Ole Eckermann, Lutz Gericke,
- * Alexander Hold, Alexander Koglin, Oliver Kopp, Stefan Krumnow,
- * Matthias Kunze, Philipp Maschke, Falko Menge, Christoph Neijenhuis,
- * Hagen Overdick, Zhen Peng, Nicolas Peters, Kerstin Pfitzner, Daniel Polak,
- * Steffen Ryll, Kai Schlichting, Jan-Felix Schwarz, Daniel Taschik,
- * Willi Tscheschner, Björn Wagner, Sven Wagner-Boysen, Matthias Weidlich
- *
- * Intalio, Inc
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
- *
- *
- *
- * Ext JS (http://extjs.com/) is used under the terms of the Open Source LGPL 3.0
- * license.
- * The license and the source files can be found in our SVN repository at:
- * http://oryx-editor.googlecode.com/.
- **/
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
+
+
+Ext JS (http://extjs.com/) is used under the terms of the Open Source LGPL 3.0
+license.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.

0 comments on commit 9338348

Please sign in to comment.