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/be6aa7f3 Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/be6aa7f3 Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/be6aa7f3 Branch: refs/heads/master Commit: be6aa7f32d2fa152b25e6412bf85bad4041cc297 Parents: 64b2e0b Author: sathwik <[email protected]> Authored: Wed Jun 28 21:24:25 2017 +0530 Committer: sathwik <[email protected]> Committed: Wed Jun 28 21:24:25 2017 +0530 ---------------------------------------------------------------------- Rakefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ode/blob/be6aa7f3/Rakefile ---------------------------------------------------------------------- diff --git a/Rakefile b/Rakefile index 68b1c41..73d3f31 100644 --- a/Rakefile +++ b/Rakefile @@ -116,9 +116,11 @@ 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)).include("WEB-INF/classes/org/*") - 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)).include("WEB-INF/classes/org/*") + #end #specify version of web console in urlrewrite.xml build do @@ -872,6 +874,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).
