cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Spiekermann <Markus.Spiekerm...@web.de>
Subject Re: in desperade need fir precompiled Cocoon175dev for FP taglib or explaination what I did wrong
Date Thu, 20 Jul 2000 12:24:38 GMT
Hi Jeff,

thank you for you help. When I start with ./build.sh clean

I got

in xml-cocoon]# ./build.sh clean
Cocoon Build System -------------------
Building with classpath ./lib/ant.jar:/usr/local/jdk1.2.2/lib/tools.jar:.
/lib/xerces_1_0_3.jar:./lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet_2_2.jar:.
/lib/turbine-pool.jar:

Starting Ant...
Buildfile: build.xml
Project base dir set to: /usr/local/xml-cocoon Executing Target: init
------------------- Cocoon 1.7.5-dev [1999-2000] ----------------
Executing Target: clean Deleting: /usr/local/xml-cocoon/build
Completed in 5 seconds

But I got the same 30 errors and 1 warning when I type ./build.sh

Markus

Jeff Turner wrote:

> Strange. I've got the latest code from CVS compiling with exactly the
> same CLASSPATH. Did you clean out the old stuff with "./build.sh
> clean" before typing "./build.sh"? It looks like you've got an old
> version of the library classes somewhere causing trouble.
>
> --Jeff
>
> Markus Spiekermann wrote:
> >
> > Hi,
> >
> > I try to setup  the FP taglib of Jeremy Quinn. I can´t get it working
> > with cocoon 1.74. Jeremy told me to use 1.75dev, but as I´m new to
> > java,xml,linux... I got some problems building the file:
> >
> > My system (named Berlin):
> >
> > sun jdk1.2.2 in /usr/local/jdk1.2.2
> > Jsev 1.1
> > Redhat Linux 6.1 compatible Linux
> > cocoon dev snapshot "xml-cocoon_20000713161459.tar.gz"
> >
> > PLEASE HELP!
> >
> > Here are the error messages...:
> >
> > [root@berlin xml-cocoon]# ./build.sh
> >
> > Cocoon Build System
> > -------------------
> >
> > Building with classpath
> > ./lib/ant.jar:/usr/local/jdk1.2.2/lib/tools.jar:./lib/xerces_1_0_3.jar:.
> >
> > /lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet_2_2.jar:./lib/turbine-pool.jar:
> >
> > Starting Ant...
> > Buildfile: build.xml
> > Project base dir set to: /usr/local/xml-cocoon
> > Executing Target: init
> > ------------------- Cocoon 1.7.5-dev [1999-2000] ----------------
> > Executing Target: prepare
> > Created dir: /usr/local/xml-cocoon/build
> > Executing Target: prepare-projectx
> > Executing Target: prepare-xt
> > Executing Target: prepare-ecma
> > Executing Target: prepare-ldap
> > Executing Target: prepare-doclet
> > Copying 1 files to /usr/local/xml-cocoon/build/src
> > Executing Target: prepare-src
> > Created dir: /usr/local/xml-cocoon/build/classes
> > Copying 111 files to /usr/local/xml-cocoon/build/src
> > Executing Target: compile
> > Compiling 100 source files to /usr/local/xml-cocoon/build/classes
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:9
> >
> > 0: Method getAttributeNames() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >     Enumeration e = request.getAttributeNames();
> >                                              ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
> >
> > 36: Method getLocale() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >     Locale locale = request.getLocale();
> >                                      ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
> >
> > 56: Method getLocales() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >     Enumeration e = request.getLocales();
> >                                       ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:1
> >
> > 69: Method getLocales() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >     Enumeration e = request.getLocales();
> >                                       ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
> >
> > 83: Method isSecure() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >
> > element.appendChild(document.createTextNode(String.valueOf(request.isSecure())));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:2
> >
> > 96: Method getContextPath() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >
> > element.appendChild(document.createTextNode(request.getContextPath()));
> >                                                                       ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:3
> >
> > 72: Method getHeaders(java.lang.String) not found in interface
> > javax.servlet.http.HttpServletReq
> > uest.
> >     Enumeration e = request.getHeaders(name);
> >                                       ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
> >
> > 53: Method getUserPrincipal() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >     Principal principal = request.getUserPrincipal();
> >                                                   ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
> >
> > 73: Method isRequestedSessionIdFromURL() not found in interface
> > javax.servlet.http.HttpServletRe
> > quest.
> >
> > element.appendChild(document.createTextNode(String.valueOf(request.isRequestedSessionIdFromU
> >
> > RL())));
> >
> >   ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequestLibrary.java:4
> >
> > 85: Method isUserInRole(java.lang.String) not found in interface
> > javax.servlet.http.HttpServletR
> > equest.
> >
> > element.appendChild(document.createTextNode(String.valueOf(request.isUserInRole(role))));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:9
> >
> > 0: Method getAttributeNames() not found in interface
> > javax.servlet.ServletContext.
> >     Enumeration e = context.getAttributeNames();
> >                                              ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 17: Method getInitParameter(java.lang.String) not found in interface
> > javax.servlet.ServletContex
> > t.
> >     String value = context.getInitParameter(name);
> >                                            ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 30: Method getInitParameterNames() not found in interface
> > javax.servlet.ServletContext.
> >     Enumeration e = context.getInitParameterNames();
> >                                                  ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 33: Method getInitParameter(java.lang.String) not found in interface
> > javax.servlet.ServletContex
> > t.
> >       v.addElement(context.getInitParameter((String) e.nextElement()));
> >                                            ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 58: Method getMajorVersion() not found in interface
> > javax.servlet.ServletContext.
> >
> > element.appendChild(document.createTextNode(String.valueOf(context.getMajorVersion())));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPContextLibrary.java:1
> >
> > 64: Method getMinorVersion() not found in interface
> > javax.servlet.ServletContext.
> >
> > element.appendChild(document.createTextNode(String.valueOf(context.getMinorVersion())));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
> >
> > 07: Method getAttribute(java.lang.String) not found in interface
> > javax.servlet.http.HttpSession.
> >     Object value = session.getAttribute(name);
> >                                        ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
> >
> > 30: Method getAttributeNames() not found in interface
> > javax.servlet.http.HttpSession.
> >     Enumeration e = session.getAttributeNames();
> >                                              ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessionLibrary.java:1
> >
> > 33: Method getAttribute(java.lang.String) not found in interface
> > javax.servlet.http.HttpSession.
> >
> > element.appendChild(document.createTextNode(response.encodeRedirectURL(url)));
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPResponseLibrary.java:130:
> > Method encodeURL(java.lang.String) not found in interface
> > javax.servlet.http.HttpServletResponse.
> >
> > element.appendChild(document.createTextNode(response.encodeURL(url)));
> >                                                                   ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:122:
> > Method getResource(java.lang.String) not found in interface
> > javax.servlet.ServletContext.
> >                    URL resource =
> > config.getServletContext().getResource(confsName);
> >
> > ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:211:
> > Method getMajorVersion() not
> > found in interface javax.servlet.ServletContext.
> >             v =
> > getServletConfig().getServletContext().getMajorVersion();
> >                                                                       ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Cocoon.java:224:
> > Method getMinorVersion() not
> > found in interface javax.servlet.ServletContext.
> >             v =
> > getServletConfig().getServletContext().getMinorVersion();
> >                                                                       ^
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/Utils.java:240: Method
> > getContextPath() not found in interface
> > javax.servlet.http.HttpServletRequest.
> >             request.getContextPath();
> >                                   ^
> > Note:
> > /usr/local/xml-cocoon/build/src/org/apache/cocoon/framework/XObject.java
> > uses or overrides a deprecated API.  Recompile with "-deprecation" for
> > details.
> > 30 errors, 1 warning
> > BUILD FATAL ERROR: Compile failed, messages should have been provided.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message