From 9cce2597898a2549783f6c729afab4d504bc6332 Mon Sep 17 00:00:00 2001 From: psporysz Date: Thu, 7 Nov 2013 14:32:55 +0100 Subject: [PATCH 1/2] first build triggers ECJ copy and breaks EXT deploy --- recipes/default.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/default.rb b/recipes/default.rb index 97a365a..7e2f1cc 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -157,6 +157,7 @@ user node['liferay']['user'] group node['liferay']['group'] code <<-EOH + #{node['liferay']['copy_ecj']} ant deploy-properties -buildfile #{node['liferay']['ext_buildfile']} ant war -buildfile #{node['liferay']['ext_buildfile']} mkdir -p dist From f6f4ed7cf72246fccea2dd931efaaf2008534bf0 Mon Sep 17 00:00:00 2001 From: psporysz Date: Thu, 7 Nov 2013 14:49:05 +0100 Subject: [PATCH 2/2] building wihout creating dedicated build.$USER.properties --- recipes/default.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes/default.rb b/recipes/default.rb index 7e2f1cc..5986b40 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -67,6 +67,12 @@ to "#{node['liferay']['install_directory']}/#{node['liferay']['download_version']}" end +link "/bundles" do + owner node['liferay']['user'] + group node['liferay']['group'] + to "#{node['liferay']['install_directory']}/#{node['liferay']['download_version']}" +end + link "#{node['liferay']['install_directory']}/liferay/tomcat" do owner node['liferay']['user'] group node['liferay']['group']