You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2013/02/13 14:56:12 UTC

[jira] [Commented] (STANBOL-910) Refactor Viewable and LDpath Freemaker Template rendering

    [ https://issues.apache.org/jira/browse/STANBOL-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577573#comment-13577573 ] 

Reto Bachmann-Gmür commented on STANBOL-910:
--------------------------------------------

We discussed this on the mailing list: http://mail-archives.apache.org/mod_mbox/stanbol-dev/201302.mbox/%3CCALvhUEWWLuvCRdN0MnN128fY3ruaYPCsMWF_Hnb5_Zf33OmZtQ@mail.gmail.com%3E

Please restore the service

ldpathtemplate/src/main/java/org/apache/stanbol/commons/LdRenderer

and revert WebConsolePlugin
                
> Refactor Viewable and LDpath Freemaker Template rendering
> ---------------------------------------------------------
>
>                 Key: STANBOL-910
>                 URL: https://issues.apache.org/jira/browse/STANBOL-910
>             Project: Stanbol
>          Issue Type: Bug
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>
> Currently the o.a.s.commons.web.viewable module depends on LDpath. A dependency that is IMO unwanted.
> The reason for that is that all Stanbol JAX-RS and Web UI modules do depend on Viewable to render the Web UI. Because of that all such modules depend also on LDpath without actually using it.
> In addition the LdRenderer (in o.a.s.commons.ldpathtempate) does not only care about rendering LDpath based templates but also includes the functionality of loading Freemarker templates provided by OSGI bundles.
> The refactoring will:
> * provide a BundleTemplateLoader: An OSGI service that implements the Freemaker TemplateLoader interface. This service will be part of the o.a.s.commons.web.viewable module and replace the current LdRenderer.
> * move Viewable and RdfViewable to the correct package (o.a.s.commons.web.viewable). Deprecated sub-classes are kept in the current package (o.a.s.commons.viewable) for backward compatibility.
> * create a new o.a.s.commons.web.viewable.ldpath module that provide JAX-RS writer for LDPath baesd Freemaker templates. This will also allow the Viewable module to no longer depend on LDPath
> * small adaptions to the o.a.s.usermanagement as this directly used LDRenderer. This adaptions will replace LDRenderer with the TemplateLoader service and the LdViewableWirter provided by the o.a.s.commons.web.viewable.ldpath module module
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira