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 Re: problems installing lenya snapshot
Date Fri, 23 May 2003 20:13:57 GMT
I've solved it myself. As long as the cocoon.jar and all the libraries in the cocoon/webapp/lib
directroy are copied to the lenya/lib directory it works ok

Robbie
  ----- Original Message ----- 
  From: robbie g 
  To: lenya-user@cocoon.apache.org 
  Sent: Friday, May 23, 2003 8:59 PM
  Subject: problems installing lenya snapshot


  Hello,

  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
  gger)
      [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
  s.Parameters)
      [javac] location: class org.apache.avalon.framework.parameters.Parameters
      [javac]             Map parametersMap = Parameters.toProperties(getParameter
  s());
      [javac]                                           ^
      [javac] 5 errors

  BUILD FAILED
  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?

  Thanks

  Robbie Gibbon

Mime
View raw message