Giter Club home page Giter Club logo

nuxeo-jetty-osgi's Introduction

Attempt to make nuxeo ecm (http://www.nuxeo.com) work with jetty OSGi.
- jetty-osgi-7.0.1.012 for equinox supports an "endorsedlibs" folder where we can place jar files that equinox will search as if they were an endorsed library.
- our primary target consists of supporting the user management of nuxeo inside jetty-osgi running inside eclipse equinox.
- nuxeo sources are taken from the latest 5.3 version of the mercurial repository.

Status:
There are a number of split-packages issues.
For example in org.nuxeo.ecm.platform, org.nuxeo.ecm.platform.UserService accesses protected fields of org.nuxeo.ecm.platform.usermanager.UserManagerDescriptor. The UserManagerDescriptor is in a different plugin and it fails to execute with the exception:
java.lang.IllegalAccessError: tried to access field org.nuxeo.ecm.platform.usermanager.UserManagerDescriptor.groupMembersField from class org.nuxeo.ecm.platform.usermanager.UserService
	at org.nuxeo.ecm.platform.usermanager.UserService.recomputeUserManager(UserService.java:77)
	at org.nuxeo.ecm.platform.usermanager.UserService.getUserManager(UserService.java:48)
	at osgitest.Activator.start(Activator.java:42)

Making the fields of that object public solves the issue.
Using the protected setters solve the issue.
Making this bundle a fragment of the api bundle would solve the issue but prevent access to UserService from other bundles.

We will keep track of each change we did to nuxeo sources here and contact the nuxeo team when we have been far enough to make this an interesting contribution.

Everything here is licensed according to nuxeo's open-source terms.

nuxeo-jetty-osgi's People

Contributors

hmalphettes avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

fzxu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.