[
https://issues.apache.org/jira/browse/SLING-5212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980162#comment-14980162
]
Radu Cotescu edited comment on SLING-5212 at 10/29/15 10:01 AM:
----------------------------------------------------------------
If dev mode is on compiled classes are still stored through the
{{FSClassLoaderProvider}} that implements a {{ClassLoaderWriter}}, however
they're recompiled at every request and their source code ("\*.java") is also
generated. Turning dev mode off will let various caches decide if the classes
need to be recompiled and only the "\*.class" files will be stored through the
{{FSClassLoaderProvider}}.
was (Author: radu.cotescu):
If dev mode is on compiled classes are still stored through the
{{FSClassLoaderProvider}} that implements a {{ClassLoaderWriter}}, however
they're recompiled at every request and their source code ("*.java") is also
generated. Turning dev mode off will let various caches decide if the classes
need to be recompiled and only the "*.class" files will be stored through the
{{FSClassLoaderProvider}}.
> Webconsole of FSClassloader does not display Sightly components
> ---------------------------------------------------------------
>
> Key: SLING-5212
> URL: https://issues.apache.org/jira/browse/SLING-5212
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Affects Versions: File System ClassLoader 1.0.2
> Reporter: Jörg Hoh
> Attachments: Apache Sling Scripting Sightly Engine Configuration.png
>
>
> When I add sightly components to my application, they are not displayed in
> the Webconsole of the Filesystem Classloader.
> When I do a 'find' in the directory of the fsclassloader bundle, JSPs show up
> like this:
> {noformat}
> data/classes/org/apache/jsp/apps/geometrixx/components/page/init_jsp.class
> data/classes/org/apache/jsp/apps/geometrixx/components/page/init_jsp.deps
> data/classes/org/apache/jsp/apps/geometrixx/components/page/init_jsp.java
> {noformat}
> but Sightly components like this:
> {noformat}
> data/classes/apps/geometrixx/components/page/SightlyJava_initsightly.class
> {noformat}
> Especially there is no .java or .deps file.
> The Webconsole should be able to handle Sightly scripts the same way as JSPs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)