You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2010/09/20 11:09:32 UTC

[jira] Created: (CLEREZZA-304) Make it easier to serve static files

Make it easier to serve static files
------------------------------------

                 Key: CLEREZZA-304
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-304
             Project: Clerezza
          Issue Type: Improvement
            Reporter: Reto Bachmann-Gmür


It shall no longer be necessary to write a jax-rs resource just to serve static files from a bundle, instead they should just be added to CLEREZZA-INF/web-resources

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (CLEREZZA-304) Make it easier to serve static files

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reopened CLEREZZA-304:
-----------------------------------------


reopening issue for a partial revert as requested by Tsuy, see http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201009.mbox/%3CAANLkTikODvHWEzyUzsseJ7nZWjUDFhri6qKxjBmiS9WF@mail.gmail.com%3E

> Make it easier to serve static files
> ------------------------------------
>
>                 Key: CLEREZZA-304
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-304
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>
> It shall no longer be necessary to write a jax-rs resource just to serve static files from a bundle, instead they should just be added to CLEREZZA-INF/web-resources

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-304) Make it easier to serve static files

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917489#action_12917489 ] 

Reto Bachmann-Gmür commented on CLEREZZA-304:
---------------------------------------------

I agree this disco:mediaType should have xsd:String as range

> Make it easier to serve static files
> ------------------------------------
>
>                 Key: CLEREZZA-304
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-304
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>
> It shall no longer be necessary to write a jax-rs resource just to serve static files from a bundle, instead they should just be added to CLEREZZA-INF/web-resources

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-304) Make it easier to serve static files

Posted by "Tsuyoshi Ito (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916822#action_12916822 ] 

Tsuyoshi Ito commented on CLEREZZA-304:
---------------------------------------

java.lang.ClassCastException: org.apache.clerezza.rdf.core.impl.PlainLiteralImpl cannot be cast to org.apache.clerezza.rdf.core.TypedLiteral
	at org.apache.clerezza.platform.content.representations.core.ThumbnailService.getThumbnailUri(ThumbnailService.java:149)
	at org.apache.clerezza.platform.content.representations.core.ThumbnailService.getThumbnailUri(ThumbnailService.java:121)
	at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)




> Make it easier to serve static files
> ------------------------------------
>
>                 Key: CLEREZZA-304
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-304
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>
> It shall no longer be necessary to write a jax-rs resource just to serve static files from a bundle, instead they should just be added to CLEREZZA-INF/web-resources

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CLEREZZA-304) Make it easier to serve static files

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-304.
---------------------------------------

      Assignee: Reto Bachmann-Gmür
    Resolution: Fixed

> Make it easier to serve static files
> ------------------------------------
>
>                 Key: CLEREZZA-304
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-304
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>
> It shall no longer be necessary to write a jax-rs resource just to serve static files from a bundle, instead they should just be added to CLEREZZA-INF/web-resources

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-304) Make it easier to serve static files

Posted by "Tsuyoshi Ito (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916820#action_12916820 ] 

Tsuyoshi Ito commented on CLEREZZA-304:
---------------------------------------

IMO mediaType should be of type org.apache.clerezza.rdf.core.TypedLiteral String instead of org.apache.clerezza.rdf.core.impl.PlainLiteral

What do you think reto. Do we have guidelines when using TypedLiteral String and when PlainLiteral?



> Make it easier to serve static files
> ------------------------------------
>
>                 Key: CLEREZZA-304
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-304
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>
> It shall no longer be necessary to write a jax-rs resource just to serve static files from a bundle, instead they should just be added to CLEREZZA-INF/web-resources

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.