Bryan: When you download a software source bundle it normally should work for you without issue, however with the use of Maven many times things don't run perfectly. I expect that there is no issue with CAS but Maven isn't gathering your dependencies correctly. And, you should have a firm grasp of Maven before you get this resolved.
If you have the time, you can install just the CAS server tar.gz file on another OS with Maven and a suitable JDK and try the build there. If you're successful you may find that the problems are environmental and specific to your situation. I'm quite sure that's the case here. I use Maven a lot and sometimes I completely remove my repository from $HOME/.m2 and that many times cures the dependency issues. Maven gathers your project dependencies and stores them at $HOME/.m2/repository in package format or in alignment with the various public repositories. Maven stores them for you locally. If any dependency changes you don't have to be concerned with that. Maven will manage that for you. You need to understand how Maven works and then you can fix these specific issues. Maven is not perfect but it accomplishes a lot in a short period of time. Once you get things working, you can make modifications or customizations of your CAS server easily and just rebuild a new server WAR after every change. Take the time to learn Maven and you'll solve your problems. If you copy commands from wiki's and such, you should understand that these instructions in relation to open source come with no expressed warranty. It's very important that you understand the steps you follow. David On Tue, Jun 23, 2009 at 11:43 AM, Bryan Wooten<[email protected]> wrote: > Think I see the problem: cas-server-3.3.2-release.tar.gz is NOT the complete > source to CAS. I actually need to download everything from the SVN > repository? > > > Ok here goes: (all on Solaris 10) > > Step 1. - Install maven2 / set M2_HOME > Step 2. - Download and un-tar cas-server-3.3.2-release.tar.gz > Step 3. - Set CAS_HOME to /u/dpbw/cas/cas-server-3.3.2 > Step 4. - cd to /u/dpbw/cas/cas-server-3.3.2 > Step 5. - mvn package install > > Results: > > ..... > > [INFO] Unable to find resource 'org.hibernate:ejb3-persistence:pom:1.0.1.GA' > in repository jasig-repository (http://developer.ja-sig.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.pom > 549b downloaded (ejb3-persistence-1.0.1.GA.pom) > Downloading: > http://developer.ja-sig.org/maven2/javassist/javassist/3.4.GA/javassist-3.4.GA.pom > [INFO] Unable to find resource 'javassist:javassist:pom:3.4.GA' in repository > jasig-repository (http://developer.ja-sig.org/maven2) > > ..... > > > Downloading: > http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar > 5K downloaded (plexus-compiler-manager-1.5.3.jar) > Downloading: > http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar > 13K downloaded (plexus-compiler-javac-1.5.3.jar) > [INFO] [compiler:compile] > [INFO] Compiling 62 source files to > /u/dpbw/cas/cas-server-3.3.2/cas-server-core/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > /u/dpbw/cas/cas-server-3.3.2/cas-server-core/src/main/java/org/jasig/cas/web/ProxyController.java:[14,46] > cannot find symbol > symbol : class SimpleWebApplicationServiceImpl > location: package org.jasig.cas.authentication.principal > > .... > > /u/dpbw/cas/cas-server-3.3.2/cas-server-core/src/main/java/org/jasig/cas/CentralAuthenticationService.java:[71,37] > cannot find symbol > symbol : class Credentials > location: interface org.jasig.cas.CentralAuthenticationService > > .... > > > > -----Original Message----- > From: David Whitehurst [mailto:[email protected]] > Sent: Tuesday, June 23, 2009 9:14 AM > To: [email protected] > Subject: Re: [cas-user] Should I just give up? > > Explain your situation here again and in "detail". First, explain the > problem, then explain the steps that get you to failure and then > provide any traces or log sections. > > > Thanks, > > David > > On Tue, Jun 23, 2009 at 11:04 AM, Bryan Wooten<[email protected]> wrote: >> This is a follow-up to my post Ь New to CAS , need some hel АЭ. >> >> >> >> I usually do АЩt like to rant on mailing lists but I am extremely frustrated >> that I am unable to get CAS to compile on Solaris per the instructions on >> the wiki page. >> >> >> >> At this point I am ready to tell my boss we do АЩt want anything to do with >> this Ьproduc А ┬а If we c т Щt compile it, we ca АЩt deploy it а So >> it really >> is a self fulfilling prophecy. >> >> >> >> Regards, >> >> >> >> Bryan >> >> -- >> 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 > > > > -- > David L. Whitehurst > http://www.capehenrytech.com Аж Providing software instruction through > a sea of Technology. > > -- > 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 > > > -- > 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 -- David L. Whitehurst http://www.capehenrytech.com … Providing software instruction through a sea of Technology. -- 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
