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

tripod edited comment on SLING-619 at 8/22/08 2:20 PM:
-----------------------------------------------------------------

there is a minor problem when working with an IDE that it marks those servlets 
as invalid since the class name 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 


      was (Author: tripod):
    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.

Reply via email to