wyona / yanel

http://www.yanel.org
Apache License 2.0
10 stars 5 forks source link

During the build process we should only copy the Yanel webapp to build/webapps/yanel and then set a reference inside local/apache-tomcat-7.0.25/conf/Catalina/localhost #40

Open michaelwechner opened 12 years ago

michaelwechner commented 12 years ago

We can make the build process faster by not copying the Yanel webapp to

local/apache-tomcat-7.0.25/webapps/yanel

but just to

build/webapps/yanel

and settting a reference inside

local/apache-tomcat-7.0.25/conf/Catalina/localhost

But please be aware that we might have to differentiate between a single server setup and a cluster setup!

(See src/build/build.properties and the parameters: tomcat1.home.dir, tomcat2.home.dir

csstaub commented 12 years ago

I'm not sure this is a good idea. Doesn't that mean if we run a build clean or rebuild something, that the webapp will disappear and Tomcat won't have access to it anymore?

michaelwechner commented 12 years ago

If one runs "build clean" then it will prompt a question whether to remove

local/apache-tomcat-7.0.25/webapps/yanel

We just would have to change that it asks whether to remove

build/webapps/yanel