You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2016/05/09 07:19:12 UTC

[jira] [Resolved] (SLING-5714) ScriptEngineManagerFactory should log all available script engine factories

     [ https://issues.apache.org/jira/browse/SLING-5714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Lietz resolved SLING-5714.
---------------------------------
    Resolution: Done

[r1742889|https://svn.apache.org/r1742889]

> ScriptEngineManagerFactory should log all available script engine factories
> ---------------------------------------------------------------------------
>
>                 Key: SLING-5714
>                 URL: https://issues.apache.org/jira/browse/SLING-5714
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting Core 2.0.36
>            Reporter: Oliver Lietz
>            Assignee: Oliver Lietz
>             Fix For: Scripting Core 2.0.38
>
>
> Log should contain mime types and names also.
> {noformat}
> Running org.apache.sling.scripting.core.impl.ScriptEngineManagerFactoryTest
> 31 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - Adding ScriptEngine Dummy Scripting Engine, 1.0 for language dummy, 2.0
> 32 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - Script extension 'dum' is now handled by ScriptEngine 'Dummy Scripting Engine', version='1.0', class='org.apache.sling.scripting.core.impl.DummyScriptEngineFactory$DummyScriptEngine'
> 32 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - Script extension 'dummy' is now handled by ScriptEngine 'Dummy Scripting Engine', version='1.0', class='org.apache.sling.scripting.core.impl.DummyScriptEngineFactory$DummyScriptEngine'
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec - in org.apache.sling.scripting.core.impl.ScriptEngineManagerFactoryTest
> {noformat}
> {noformat}
> Running org.apache.sling.scripting.core.impl.ScriptEngineManagerFactoryTest
> 332 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - ScriptEngine Oracle Nashorn/1.8.0_74 is now handling [js], [application/javascript, application/ecmascript, text/javascript, text/ecmascript], [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript].
> 333 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - ScriptEngine AppleScriptEngine/1.1 is now handling [scpt, applescript, app], [application/x-applescript, text/plain, text/applescript], [AppleScriptEngine, AppleScript, OSA].
> 342 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - Adding ScriptEngine Dummy Scripting Engine/1.0 for language dummy/2.0.
> 342 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - ScriptEngine Dummy Scripting Engine/1.0 is now handling [dum, dummy], [application/x-dummy], [Dummy, dummy].
> 342 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - ScriptEngine AppleScriptEngine/1.1 is now handling [scpt, applescript, app], [application/x-applescript, text/plain, text/applescript], [AppleScriptEngine, AppleScript, OSA].
> 342 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - ScriptEngine Oracle Nashorn/1.8.0_74 is now handling [js], [application/javascript, application/ecmascript, text/javascript, text/ecmascript], [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript].
> 345 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - ScriptEngine Oracle Nashorn/1.8.0_74 is now handling [js], [application/javascript, application/ecmascript, text/javascript, text/ecmascript], [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript].
> 346 [main] INFO org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - ScriptEngine AppleScriptEngine/1.1 is now handling [scpt, applescript, app], [application/x-applescript, text/plain, text/applescript], [AppleScriptEngine, AppleScript, OSA].
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec - in org.apache.sling.scripting.core.impl.ScriptEngineManagerFactoryTest
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)