Michael,

More recent versions of CAS (probably since 3.1 and beyond) have utilized
Maven2 for project management. It provides us with a few benefits at the
developer level and a lot more at the deployer level as there is a standard
Maven2 project structure as well as distribution mechanism for "artifacts."
That said it can be kind of scary to the uninitiated.  The easiest though
not entirely accurate way of thinking of it is Standardized Ant
Tasks+Standardized Project Structure+Dependency Mechanism.

Our recommendation is to use the Maven2 WAR Overlay method for maintaining a
project locally. Essentially you create a new local Maven2 WAR project and
declare the CAS WAR file as a dependency and then you can "overlay" the
files (such as deployerConfigContext.xml) with your own versions.

If I remember tomorrow when I get to work, I'll sanatize our local Maven2
project of all passwords/sensitive stuff and post it as a ZIP in the wiki.
If I don't do that, someone please remind me!

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Tue, Sep 9, 2008 at 10:01 PM, Michael Johnston <[EMAIL PROTECTED]>wrote:

> Hi,
>
> I'm attempting to get a CAS server running (to replace a working
> Rubycas-server setup) with a QueryDatabaseAuthenticationHandler with a
> custom encoder.
>
> I know the java language circa 1.3 (old WebObjects programmer) but
> have zero experience with maven, spring etc.
>
> In the list there are a lot of references to putting my own classes in
> "localPlugins". I can find no such folder either in the 3.3 source
> distribution or in the unpacked war in $CATALINA_HOME/webapps.
>
> In any case I'd like to have a project setup that I can put in a
> single SCM repository, and hopefully build with a single command, so I
> have setup my cas src according to
> http://www.ja-sig.org/wiki/display/CASUM/Maintaining+local+customizations+using+Maven+2
>
> Using this setup is there a way to customize deployerConfigContext.xml
> by putting a deployerConfigContext.xml in my custom sub directory
> somewhere?
>
> Cheerio,
>
> Michael Johnston
> [EMAIL PROTECTED]
>
>
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to