On 4/16/2008 11:37 AM, Scott Battaglia wrote: > On Wed, Apr 16, 2008 at 11:30 AM, Pat Hennessy <[EMAIL PROTECTED] > > Would running "mvn package install" build in the modifications I've made > within cas-server-webapp? Is that the recommended way of doing things? > > > It would build everything in the parent and its sub modules. So if your > changes were in there then they would build. We actually recommend use > the WAR overlay method detailed in the wiki (and maybe one day I can use > our internal one as a basic shell example). >
I finally got around to using the link below to setup the WAR overlay. This is a hundred times easier than modifying the original cas-server-webapp tree. Should have done this awhile ago. http://www.ja-sig.org/wiki/display/CASUM/Maintaining+local+customizations+using+Maven+2 I used the pom.xml example there and just changed the version numbers. I noticed some files were moved around when going from 3.1.2 to 3.2.1. Like a lot of things were split out of applicationContext.xml and put into different files under spring-configuration. I'm going through some extra weirdness with the JBoss replication stuff. I noticed some changes with the unique id generators. It looks like it includes the host.name variable in the string now, so one less thing to change. I have host.name declared in a local file on the system instead of the cas.properties file (so i can deploy one cas.war to all Tomcat instances). I guess I'm supposed to modify both propertyPlaceholderConfigurer bean and casPropertyPlaceholderConfigurer2 bean to include my local file as well? Well, I was writing this as I was going over the changes.. I just tested and it seems to work. I am a little confused on the two propertyplaceholderconfigurer's though. But the hostname is read from the local file and inserted into the ticket string. I hope some of these notes will be useful for other people upgrading. I hope the file locations stay in the same place for minor updates. :) Going to do a little more testing... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Pat Hennessy, RHCE ([EMAIL PROTECTED]) Senior Systems Specialist Division of Information and Educational Technology Delaware Technical and Community College =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
