You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/08/22 08:55:00 UTC

[jira] [Commented] (SLING-7072) Build failure with Java 9 - unable to create javax script engine for javascript

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

Robert Munteanu commented on SLING-7072:
----------------------------------------

Another possibility is to skip the antrun execution altogether and write a small custom mojo to set the properties. I think we use the antrun plugin in other areas too, and a fix should be coming for MANTRUN-200

> Build failure with Java 9 - unable to create javax script engine for javascript
> -------------------------------------------------------------------------------
>
>                 Key: SLING-7072
>                 URL: https://issues.apache.org/jira/browse/SLING-7072
>             Project: Sling
>          Issue Type: Bug
>          Components: General
>            Reporter: Robert Munteanu
>             Fix For: Parent 32
>
>
> {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) on project org.apache.sling.engine: An Ant BuildException has occured: Unable to create javax script engine for javascript
> [ERROR] around Ant part ...<script language="javascript">var System = java.lang.System;... @ 4:33 in /home/robert/Documents/sources/apache/sling/bundles/engine/target/antrun/build-main.xml
> [ERROR] -> [Help 1]{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)