[
https://issues.apache.org/jira/browse/SLING-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837173#action_12837173
]
Pontus Amberg commented on SLING-1399:
--------------------------------------
I'm using 1.6 since I thought that 1.6 was the recommended version. I tried to
change the 2 methods in ScalaScriptEngineFactory that uses variable arguments
and the compilation of ScalaScriptEngineFactory works for me now with 1.6.
Unfortunately there were other errors in other files when i used 1.6. I'll take
a look at it when I'm back home.
> Not possible to build /contrib since ScalaScriptEngineFactory.scala in
> /scripting/scala/script contains an error
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SLING-1399
> URL: https://issues.apache.org/jira/browse/SLING-1399
> Project: Sling
> Issue Type: Bug
> Environment: Linux x64, Maven 2.2.1
> Reporter: Pontus Amberg
> Priority: Minor
>
> Can't build /contrib since ScalaScriptEngineFactory.scala in
> contrib/scripting/scala/script/ contains an error
> /sling/contrib/scripting/scala/script/src/main/scala/org/apache/sling/scripting/scala/ScalaScriptEngineFactory.scala:55:
> error: class ScalaScriptEngineFactory needs to be abstract, since method
> getProgram in trait ScriptEngineFactory of type
> (java.lang.String*)java.lang.String is not defined
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.