Hey folks,

So, we're building a new CAS environment, following the wiki docs on Maven overlay deployment best practices. So far, so good. I'm looking for a bit of advice on how to best handle deploying different configurations to different systems. So far my googling has found some abstract discussion, but few concrete suggestions.

We currently have a single branch in our svn repo, with some shell scripts to automate building and deploying. The scripts accept some arguments and then do a little sed/awk magic to make sure the config files have the right values, and scp the results to one of the three virtual machines in our setup (dev/test/prod tomcat servers).

This approach works for now, but I wonder how well it will scale if things get any more complex. Our internal discussions and online reading have identified two overall approaches:

A) Maintain a single code tree, and script the heck out of everything.

B) Use parallel code branches for each deployment target, with simpler scripts.

If we continue down path A, we should probably learn more about the various deployment tools out there, and maybe find something that would let us use some kind of standard replacement tokens in the config files, or build them dynamically, etc.

Path B would probably make for far simpler deployment scripts (build, scp war file, restart), but as we add more custom skins and whatnot, that might mean doing a lot of merges.

We also have a looming discussion about how to handle a uPortal upgrade, and it would be nice if we could employ basically the same strategy there as well.

Lastly, I should mention that we're a very small shop, and don't really do a lot of Java development. I was hoping any consensus that comes from this discussion could be cleaned up and added to the wiki for the benefit of others like us. I honestly get pretty lost when I read about all the maven-ant-fu employed by the java ninjas lurking on these mailing lists :-)

-Aaron

---------------------------------
Aaron Fuleki
Senior Web Architect
Denison University
740.587.5752
---------------------------------




--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to