There is a file named ./build/README... read it :)
You probably have JSDK 2.0 in your classpath and not 2.2
****************************** Building Jetspeed
*******************************
In order to build Jetspeed from CVS you will need the following:
- JSDK 2.2 (Servlet API 2.2 from Tomcat)
- All .jar files from ./lib in your classpath.
- Possibly jikes from
http://www10.software.ibm.com/developerworks/opensource/jikes/
You can tell Ant (the build tool used for Jetspeed to use javac by
changing:
<property name="build.compiler" value="jikes"/> <!-- Use Jikes
because it is 10X faster than javac -->
<property name="build.compiler" value="classic"/> <!-- Use the javac
SUN compiler with your JDK -->
Jian He wrote:
>
> i am getting the latest jetspeed-CVS on a machine at my home(LINUX)
> running build.sh gives me the following messages:
>
> Buildfile: build.xml
> Detected Java Version: 1.2
> Project base dir set to: /home/jian/software/jetspeed/build
> Executing Target: core
> Compiling 3 source files to /home/jian/software/jetspeed/bin/classes
> /home/jian/software/jetspeed/bin/src/org/apache/jetspeed/util/servlet/JetspeedSe
> rvletRequest.java:252: The method org.apache.jetspeed.util.servlet.RequestDispat
> cher getRequestDispatcher(java.lang.String) declared in class org.apache.jetspee
> d.util.servlet.JetspeedServletRequest cannot override the method of the same sig
> nature declared in class org.apache.cocoon.util.CocoonServletRequest. They must
> have the same return type.
> public RequestDispatcher getRequestDispatcher(String path) {
> ^
> /home/jian/software/jetspeed/bin/src/org/apache/jetspeed/turbine/actions/calenda
> r/EditEventAction.java:153: Method getAttribute(java.lang.String) not found in i
> nterface javax.servlet.http.HttpSession.
> VEvent event = (VEvent) data.getSession().getAttribute(
> ^
> /home/jian/software/jetspeed/bin/src/org/apache/jetspeed/util/servlet/JetspeedSe
> rvletResponse.java:133: Method encodeURL(java.lang.String) not found in interfac
> e javax.servlet.http.HttpServletResponse.
> return response.encodeURL(url);
> ^
> /home/jian/software/jetspeed/bin/src/org/apache/jetspeed/util/servlet/JetspeedSe
> rvletResponse.java:136: Method encodeRedirectURL(java.lang.String) not found in
>interface javax.servlet.http.HttpServletResponse.
> return response.encodeRedirectURL( url );
> ^
> /home/jian/software/jetspeed/bin/src/org/apache/jetspeed/util/servlet/JetspeedSe
> rvletResponse.java:139: Method setBufferSize(int) not found in interface javax.s
> ervlet.http.HttpServletResponse.
> response.setBufferSize(size);
> ^
> /home/jian/software/jetspeed/bin/src/org/apache/jetspeed/util/servlet/JetspeedSe
> rvletResponse.java:142: Method getBufferSize() not found in interface javax.serv
> let.http.HttpServletResponse.
> return response.getBufferSize();
> ^
> /home/jian/software/jetspeed/bin/src/org/apache/jetspeed/util/servlet/JetspeedSe
> rvletResponse.java:146: Method flushBuffer() not found in interface javax.servle
> t.http.HttpServletResponse.
> response.flushBuffer();
> ^
> /home/jian/software/jetspeed/bin/src/org/apache/jetspeed/util/servlet/JetspeedSe
> rvletResponse.java:147: Exception java.io.IOException is never thrown in the bod
> y of the corresponding try statement.
> } catch (IOException e) {
> ^
> /home/jian/software/jetspeed/bin/src/org/apache/jetspeed/util/servlet/JetspeedSe
> rvletResponse.java:153: Method isCommitted() not found in interface javax.servle
--
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN: "Please Open Source Java!"
I just patented "one click e-mail", when you hit the "reply" button you
own me 50 cents.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]