[cas-dev] how to build cas.war

Edward Chen edwardc at wolfram.com
Fri Apr 4 17:07:58 EDT 2008


I am very new to CAS setup. I have two questions.

1. How to build cas.war from cas-server-3.2-release.zip. I downloaded 
from CAS site and
try to follow
http://www.ja-sig.org/wiki/display/CASUM/Building+and+Deploying

I downloaded apache-maven-2.0.8-bin.zip from 
http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.0.8-bin.zip

and I don't know how to use it associated with CAS built

2. I downloaded tomcat and it runs fine. But, I want to modify the 
helloworld. The I go to C:\Program Files\Apache Software 
Foundation\Tomcat 5.5\webapps\servlets-examples

and opened file helloworld.html, and modified to below and saved it

  out.println(&quot;<font color="#009900">&lt;title&gt;Hello 
Mike!&lt;/title&gt;</font>&quot;);
        out.println(&quot;<font color="#009900">&lt;/head&gt;</font>&quot;);
        out.println(&quot;<font color="#009900">&lt;body&gt;</font>&quot;);
        out.println(&quot;<font color="#009900">&lt;h1&gt;Hello 
Mike!&lt;/h1&gt;</font>&quot;);
        out.println(&quot;<font color="#009900">&lt;/body&gt;</font>&quot;);
        out.println(&quot;<font color="#009900">&lt;/html&gt;</font>&quot;);

But, after I re-start the tomcat and open helloworld, it still picks up 
the old one " Hello World!"

What is wrong?





More information about the cas-dev mailing list