You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by sa...@apache.org on 2017/04/17 13:15:53 UTC

[2/3] ode git commit: exclude old console that uses json.org, due to licensing issues

exclude old console that uses json.org, due to licensing issues


Project: http://git-wip-us.apache.org/repos/asf/ode/repo
Commit: http://git-wip-us.apache.org/repos/asf/ode/commit/4ce6501e
Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/4ce6501e
Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/4ce6501e

Branch: refs/heads/ode-1.3.x
Commit: 4ce6501e8b41c35e3edc53e11d631069ae9b93ee
Parents: 5aade74
Author: sathwik <sa...@apache.org>
Authored: Mon Apr 17 18:31:27 2017 +0530
Committer: sathwik <sa...@apache.org>
Committed: Mon Apr 17 18:31:27 2017 +0530

----------------------------------------------------------------------
 Rakefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ode/blob/4ce6501e/Rakefile
----------------------------------------------------------------------
diff --git a/Rakefile b/Rakefile
index 8917c0e..23988a4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -109,6 +109,7 @@ define "ode" do
       WOODSTOX, WSDL4J, WS_COMMONS, XALAN, XERCES, XMLBEANS, SPRING,
       AXIS2_MODULES.libs, H2::REQUIRES, SLF4J, ODE_WEB_CONSOLE, TUCKEY_URLREWRITE
 
+
     package(:war).with(:libs=>libs).path("WEB-INF").tap do |web_inf|
       web_inf.merge project("dao-jpa-ojpa-derby").package(:zip)
       web_inf.merge project("dao-hibernate-db").package(:zip)
@@ -116,9 +117,12 @@ define "ode" do
       web_inf.include project("bpel-schemas").path_to("src/main/xsd/pmapi.xsd")
     end
     package(:war).path("WEB-INF/modules").include(artifacts(AXIS2_MODULES.mods))
-    package(:war).tap do |root|
-        root.merge(artifact(AXIS2_WAR)).exclude("WEB-INF/*").exclude("META-INF/*")
-    end
+
+    #exlude old console that uses json.org, due to licensing issues
+    package(:war).exclude("css").exclude("images").exclude("js")
+    # package(:war).tap do |root|
+    #     root.merge(artifact(AXIS2_WAR)).exclude("WEB-INF/*").exclude("META-INF/*")
+    # end
 
     #specify version of web console in urlrewrite.xml
     build do
@@ -861,6 +865,8 @@ define "apache-ode" do
     else
       zip.include Dir.pwd, :as=>"."
     end
+    #exlude old console that uses json.org, due to licensing issues
+    zip.exclude('axis2-war/src/main/webapp/css').exclude('axis2-war/src/main/webapp/images').exclude('axis2-war/src/main/webapp/js')
   end
 
   package(:zip, :id=>"#{id}-docs").include(doc.from(project("ode").projects).