I've fixed this in a different manner, please test. Florent
On Wed, Dec 16, 2009 at 4:00 PM, Flo <[email protected]> wrote: > I added a binding for object by path > > AtomPubCMIS.URITMPL_OBJECT_BY_PATH > > �...@get > �...@produces(AtomPub.MEDIA_TYPE_ATOM_ENTRY) > �...@path("path/{path:.*}") > public Response doGetObjectByPath( > �...@pathparam("path") List<PathSegment> pathList) { > int skipSegments = pathList.size() == 0 ? 2 : pathList.size() + 1; > return getAbderaEntry(skipSegments); > } > > But the TCK test ObjectByPath fails because URI template in > CMISProvider is "/path/{path}" if I change to "/path/{path:.*}" it > works for jax-rs but not for CMISServlet > > so chemistry-tests test fails. > > > Does anybody know how to fix this? > > Chears > -- Florent Guillaume, Director of R&D, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
