How to compile CAS source
Andrew Petro
apetro at unicon.net
Tue Jul 4 16:53:19 EDT 2006
Prabhu,
Instead of modifying a CAS core class, I'd strongly suggest instead writing
a new class, with your own package name and classname, and configuring CAS
to use that instead. Then you can take advantage of the deployer Ant-driven
build process.
The idea is that the CAS project using Maven produces APIs and binary
deliverables that constitutes the core of CAS, and you as a deployer produce
configuration, extensions, and plugins that constitute your local usage of
CAS. The Ant-driven deployer build process will build your classes against
CAS core and build the resulting .war.
Of course, this is an opensource product, and you can modify it and rebuild,
but if you can avoid doing that, things are easier. If there's an extension
point that you need that the core framework doesn't provide, please let the
CAS developers know what it is -- maybe the extension point should be added.
Andrew
________________________________________
From: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] On
Behalf Of Prabhu
Sent: Tuesday, July 04, 2006 1:23 AM
To: cas at tp.its.yale.edu
Subject: How to compile CAS source
Hi all,
I downloaded CAS-server source sometime back. I have made a small change to
one of the Credentials Sources and now want to make my own custom build. I
downloaded maven and tried giving, "mvn install". But the build didn't
succeed giving some strange error.
Can someone help me with the correct procedure.
--
Prabhu
Mobile: (91) 98414 05819
More information about the cas
mailing list