lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robbie g" <robbie_gib...@yahoo.co.uk>
Subject problems installing lenya snapshot
Date Fri, 23 May 2003 19:59:51 GMT

I get the following compile errors when installing Lenya as per the instructions. Not sure
whats up:

    [javac] Compiling 182 source files to F:\src\lenyacms\build\lenya\classes
    [javac] This version of java does not support the classic compiler; upgradin
g to modern
    [javac] F:\src\lenyacms\build\lenya\src\org\apache\lenya\cms\cocoon\acting\P
MLAuthorizerAction.java:155: cannot resolve symbol
    [javac] symbol  : constructor Policy (org.w3c.dom.Document,org.apache.log.Lo
    [javac] location: class org.apache.lenya.cms.ac.Policy
    [javac]         Policy policy = new Policy(policyDoc, getLogger());
    [javac]                         ^
    [javac] F:\src\lenyacms\build\lenya\src\org\apache\lenya\cms\cocoon\acting\U
RIParametrizerAction.java:102: cannot resolve symbol
    [javac] symbol  : method resolveURI (java.lang.String)
    [javac] location: interface org.apache.cocoon.environment.SourceResolver
    [javac]         inputSource = resolver.resolveURI(parameterSrc);
    [javac]                                   ^
    [javac] F:\src\lenyacms\build\lenya\src\org\apache\lenya\cms\publication\Pag
eEnvelope.java:87: cannot resolve symbol
    [javac] symbol  : method resolveURI (java.lang.String)
    [javac] location: interface org.apache.cocoon.environment.SourceResolver
    [javac]         Source inputSource = resolver.resolveURI("");
    [javac]                                      ^
    [javac] F:\src\lenyacms\build\lenya\src\org\apache\lenya\cms\cocoon\transfor
mation\AbstractDOMTransformer.java:182: cannot resolve symbol
    [javac] symbol  : method setNormalizeNamespaces (boolean)
    [javac] location: class org.apache.cocoon.xml.dom.DOMStreamer
    [javac]         s.setNormalizeNamespaces(false);
    [javac]          ^
    [javac] F:\src\lenyacms\build\lenya\src\org\apache\lenya\cms\task\AntTask.ja
va:214: cannot resolve symbol
    [javac] symbol  : method toProperties (org.apache.avalon.framework.parameter
    [javac] location: class org.apache.avalon.framework.parameters.Parameters
    [javac]             Map parametersMap = Parameters.toProperties(getParameter
    [javac]                                           ^
    [javac] 5 errors

file:F:/src/lenyacms/src/targets/compile-build.xml:15: Compile failed; see the c
ompiler error output for details.

I'm using cocoon 2.1m2 source which compiled ok and created the webapp directory and a cocoon.jar
file [not cocoon.war] which I chucked into the lenya source tree root as instructed.

Prodding around in org.apache.avalon.framework.parameters.Parameters the toProperties method
does appear to be there.

Can anyone help me out?


Robbie Gibbon

View raw message