Hi Enrico Thanks a lot for looking into this.
The aim of the ng branch is to be more portable. Most notably this is independence of jersey and of the ServletContext hacks. I'm sorry I removed the jersey specific test only locally. I committed the removal and hope that it now compiles for you too. Cheers, Reto On Fri, Jul 12, 2013 at 2:13 PM, Enrico Daga <enricod...@gmail.com> wrote: > Hi Reto, > sorry for this late reply, for some reasons I skipped this thread > entirely... > For what concerns the Commons Jobs API it is only used by reasoners. It is > a bit explained in a README file even if probably a documentation targeted > to developers would help. I could add it to the web site documentation. > About the branch commons-ng, if I understood the aim is to clear the JAX-RS > implementation in order to be jersey independent, right? > I downloded the branch to have a look to your examples but had the > following: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.1:testCompile > (default-testCompile) on project org.apache.stanbol.entityhub.jersey: > Compilation failure: Compilation failure: > [ERROR] > /Users/enricox/Development/Stanbol-commons-ng/entityhub/jersey/src/test/java/org/apache/stanbol/entityhub/jersey/parsers/RepresetnationReaderTest.java:[27,40] > package com.sun.jersey.api.representation does not exist > > My idea was to have a look, learn howto and migrate the reasoners. I'll add > the documentation of Jobs, if you think it is useful (I like that small > thing btw, I would like to see it reused) > > Cheers, > Enrico > > > > On 10 July 2013 15:11, Rupert Westenthaler > <rupert.westentha...@gmail.com>wrote: > >> Hi Reto >> >> Generally I find this API very interesting and I was considering this >> as useful for the implementation of the Stanbol Enhancer "/task" >> endpoint as suggested by David in [1]. For the current services >> provided by the Enhancer and Entityhub this is not applicable as there >> are no async services where users would like to interact with running >> jobs. >> >> best >> Rupert >> >> [1] http://stanbol.markmail.org/thread/npwf7olw2jemvu37 >> >> On Wed, Jul 10, 2013 at 3:56 PM, Reto Bachmann-Gmür <r...@apache.org> >> wrote: >> > After not getting any answer I used grep myself ;) >> > >> > It seems commons.job is currently only used in the reasoner.web. >> > >> > Are there plans to use this elsewhere? Or to add some documentation >> > for it to be more likely to be adopted? >> > >> > Cheers, >> > Reto >> > >> > On Wed, Jun 26, 2013 at 10:14 PM, Reto Bachmann-Gmür <r...@apache.org> >> wrote: >> >> Did anybody have a chance to try this out? Where is Commons Job >> documented? >> >> >> >> Cheers, >> >> Reto >> >> >> >> >> >> On Fri, Jun 7, 2013 at 11:56 PM, Reto Bachmann-Gmür <r...@apache.org> >> wrote: >> >>> >> >>> At least I think it runs again.I'm not sure how to test it. Would be >> great >> >>> if somebody else could check it out. >> >>> >> >>> Cheers, >> >>> Reto >> >> >> >> >> >> >> >> -- >> | Rupert Westenthaler rupert.westentha...@gmail.com >> | Bodenlehenstraße 11 ++43-699-11108907 >> | A-5500 Bischofshofen >> > > > > -- > Enrico Daga > > -- > http://www.enridaga.net > skype: enri-pan