Re: Setting up Lenya in eclipse issue
Andreas Hartmann <[email protected]> Wed, 14 Mar 2012 19:30:45 +0100
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Ankur,
Am 13.03.12 14:46, schrieb AnkurPSI:
> I am new to Lenya CMS, I have installed the Lenya 2.0.4 with Tomcat. I am
> able to see the first home page of Lenya application. Now I want to set up
> my development environment in Eclipse. For setting up this I have followed
> the WIKI link http://wiki.apache.org/lenya/HowToLenyaInEclipse
> http://wiki.apache.org/lenya/HowToLenyaInEclipse this link suggest 2 step
> process
> 1. Build cocoon and put it into eclipse
> * created the suggested directory structure
> * place the code cocoon code at
> <LenyaDownloadedCode>\src\apache\cocoon\branches\BRANCH_2_1_X
I'd rather recommend something like this (see wiki)
/apache
/lenya
/lenya_2.0.4
/cocoon
/branches
/BRANCH_2_1_X
Lenya contains a cocoon version in the "external" directory. You can't
use that one in Eclipse though, since it is a subdirectory of the Lenya
directory. That's why you need a separate Cocoon directory.
> * imported the code in eclipse but its giving few compilation error as in
> image http://old.nabble.com/file/p33494376/Capture.png
> * In Wiki link suggested to download jcr.zip but Its not available. I have
> downloaded the jcr-2.0.jar and putted into the classpath it doesn't help
> please let me know how to remove these compilation errors.
I'd just remove the affected source folders from the Java build path,
they are not necessary to run Lenya. I would not recommend the JCR
repository for production use.
> 2. Build Lenya and put it into eclipse
> I got confuse what code I need to put in the suggested directory structure
> in WIKI to make lenya home. Please anybody help on this.
I hope the structure mentioned above helps.
-- Andreas