You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/08/22 23:20:44 UTC

[jira] Commented: (SLING-619) Add a java servlet scripting engine

    [ https://issues.apache.org/jira/browse/SLING-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624982#action_12624982 ] 

Tobias Bocanegra commented on SLING-619:
----------------------------------------

there is a minor problem when working with a IDE that it marks those servlets as invalid since the class name does differs from the filename. the workaround is to exclude them from compilation but this is suboptimal.

would it be possible to apply another resolution logic for .java servlets and use the underscore as selector/extension delimiter?

eg:

/apps/my/type/main_html.java 
Package: apps.my.type 
Class main_html 


> Add a java servlet scripting engine
> -----------------------------------
>
>                 Key: SLING-619
>                 URL: https://issues.apache.org/jira/browse/SLING-619
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting Java
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>
> For easier scripting it would be nice to have a scripting engine that compiles a java servlet out of a java file which is stored in the repository,
> like /apps/my/app/html.java

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