Hi Lenya devs,

just FYI - I implemented a crude set of adapter classes to access
the repo API draft (repository module) as lenya:// sources.
The classes are located in the package

  o.a.l.cms.repo.adapter

To enable them, you have to

1. import the content into the repository:

   ./build.sh migrate-14

2. set the node factory in lenya.roles:

  <role name="org.apache.lenya.cms.repository.NodeFactory"
        shorthand="node-factory"
        default-class="org.apache.lenya.cms.repo.adapter.RepoNodeFactory"/>

3. start Lenya

You'll soon hit a "not implemented" exception when you click around,
the adapter provides just some basic operations. The purpose is to
allow playing with the API and testing the JCR-based implementation.

Summary:

- repository module
  - repository API draft
  - test class
  - adapter classes

- jcr module
  - JCR-based implementation of repository API draft

To run the test, just type

  ./build.sh modules.test


-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to