[
https://issues.apache.org/jira/browse/SLING-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836916#action_12836916
]
Michael Dürig commented on SLING-1399:
--------------------------------------
That's odd. I did the same: fresh checkout, cleared local Maven repo. My build
still succeeds. (Apart from test failures in other areas...)
Just to be sure, what does ScalaScriptEngineFactory.scala:55 look like in your
checkout? It should be
def getProgram(statements: Array[String]): String = {
and the compiler shouldn't complain here.
> 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.