[jira] [Commented] (SLING-9545) Distribution Core bundle with Java 11
[ https://issues.apache.org/jira/browse/SLING-9545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17143852#comment-17143852 ] Robert Munteanu commented on SLING-9545: Glad to hear you got it working! > Distribution Core bundle with Java 11 > - > > Key: SLING-9545 > URL: https://issues.apache.org/jira/browse/SLING-9545 > Project: Sling > Issue Type: Bug > Components: Content Distribution >Affects Versions: Content Distribution Core 0.3.4, Content Distribution > Core 0.4.2 >Reporter: Cris Rockwell >Priority: Major > Attachments: Screen Shot 2020-06-24 at 8.09.38 AM.png, Screen Shot > 2020-06-24 at 8.38.26 AM.png > > > Apache Sling Distribution Core (org.apache.sling.distribution.core) bundle > does not activate on Sling12 using Java 11 > https://github.com/apache/sling-org-apache-sling-distribution-core > {{mvn clean install}} results in the error below > [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.distribution.core: An Ant BuildException has occured: Unable > to create javax script engine for javascript > [ERROR] around Ant part
[jira] [Commented] (SLING-9545) Distribution Core bundle with Java 11
[ https://issues.apache.org/jira/browse/SLING-9545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17143843#comment-17143843 ] Cris Rockwell commented on SLING-9545: -- Ah ok! I was missing the distribution.api bundle. Thank you very much. > Distribution Core bundle with Java 11 > - > > Key: SLING-9545 > URL: https://issues.apache.org/jira/browse/SLING-9545 > Project: Sling > Issue Type: Bug > Components: Content Distribution >Affects Versions: Content Distribution Core 0.3.4, Content Distribution > Core 0.4.2 >Reporter: Cris Rockwell >Priority: Major > Attachments: Screen Shot 2020-06-24 at 8.09.38 AM.png, Screen Shot > 2020-06-24 at 8.38.26 AM.png > > > Apache Sling Distribution Core (org.apache.sling.distribution.core) bundle > does not activate on Sling12 using Java 11 > https://github.com/apache/sling-org-apache-sling-distribution-core > {{mvn clean install}} results in the error below > [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.distribution.core: An Ant BuildException has occured: Unable > to create javax script engine for javascript > [ERROR] around Ant part
[jira] [Commented] (SLING-9545) Distribution Core bundle with Java 11
[ https://issues.apache.org/jira/browse/SLING-9545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17143812#comment-17143812 ] Cris Rockwell commented on SLING-9545: -- When you docs https://cwiki.apache.org/confluence/display/SLING/Java+version+support has the statement, but the bundle only works with Java 8. "Sling currently supports the following releases of Java 8, as it is a version that many are currently using as a basline 11, as it is the most recent version for which Oracle provides Long-Term Support" > Distribution Core bundle with Java 11 > - > > Key: SLING-9545 > URL: https://issues.apache.org/jira/browse/SLING-9545 > Project: Sling > Issue Type: Bug > Components: Content Distribution >Affects Versions: Content Distribution Core 0.3.4, Content Distribution > Core 0.4.2 >Reporter: Cris Rockwell >Priority: Major > Attachments: Screen Shot 2020-06-24 at 8.09.38 AM.png, Screen Shot > 2020-06-24 at 8.38.26 AM.png > > > Apache Sling Distribution Core (org.apache.sling.distribution.core) bundle > does not activate on Sling12 using Java 11 > https://github.com/apache/sling-org-apache-sling-distribution-core > {{mvn clean install}} results in the error below > [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.distribution.core: An Ant BuildException has occured: Unable > to create javax script engine for javascript > [ERROR] around Ant part
[jira] [Commented] (SLING-9545) Distribution Core bundle with Java 11
[ https://issues.apache.org/jira/browse/SLING-9545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17143810#comment-17143810 ] Robert Munteanu commented on SLING-9545: [~tmaret]/[~cschneider] - any ideas? > Distribution Core bundle with Java 11 > - > > Key: SLING-9545 > URL: https://issues.apache.org/jira/browse/SLING-9545 > Project: Sling > Issue Type: Bug > Components: Content Distribution >Affects Versions: Content Distribution Core 0.3.4, Content Distribution > Core 0.4.2 >Reporter: Cris Rockwell >Priority: Major > Attachments: Screen Shot 2020-06-24 at 8.09.38 AM.png, Screen Shot > 2020-06-24 at 8.38.26 AM.png > > > Apache Sling Distribution Core (org.apache.sling.distribution.core) bundle > does not activate on Sling12 using Java 11 > https://github.com/apache/sling-org-apache-sling-distribution-core > {{mvn clean install}} results in the error below > [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.distribution.core: An Ant BuildException has occured: Unable > to create javax script engine for javascript > [ERROR] around Ant part
[jira] [Commented] (SLING-9545) Distribution Core bundle with Java 11
[ https://issues.apache.org/jira/browse/SLING-9545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17143808#comment-17143808 ] Robert Munteanu commented on SLING-9545: [~cris_rockwell] - we tend to use users@sling for support questions, so I closed the issue. Feel free to leave this open, but this is not a bug in the bundle, just an unsatisfied requirement in your deployment, > Distribution Core bundle with Java 11 > - > > Key: SLING-9545 > URL: https://issues.apache.org/jira/browse/SLING-9545 > Project: Sling > Issue Type: Bug > Components: Content Distribution >Affects Versions: Content Distribution Core 0.3.4, Content Distribution > Core 0.4.2 >Reporter: Cris Rockwell >Priority: Major > Attachments: Screen Shot 2020-06-24 at 8.09.38 AM.png > > > Apache Sling Distribution Core (org.apache.sling.distribution.core) bundle > does not activate on Sling12 using Java 11 > https://github.com/apache/sling-org-apache-sling-distribution-core > {{mvn clean install}} results in the error below > [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.distribution.core: An Ant BuildException has occured: Unable > to create javax script engine for javascript > [ERROR] around Ant part
[jira] [Commented] (SLING-9545) Distribution Core bundle with Java 11
[ https://issues.apache.org/jira/browse/SLING-9545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17143803#comment-17143803 ] Cris Rockwell commented on SLING-9545: -- Do you think even it is not required (optional import)? Usually there is an osgi wiring error in the logs, which I could not find. > Distribution Core bundle with Java 11 > - > > Key: SLING-9545 > URL: https://issues.apache.org/jira/browse/SLING-9545 > Project: Sling > Issue Type: Bug > Components: Content Distribution >Affects Versions: Content Distribution Core 0.3.4, Content Distribution > Core 0.4.2 >Reporter: Cris Rockwell >Priority: Major > Attachments: Screen Shot 2020-06-24 at 8.09.38 AM.png > > > Apache Sling Distribution Core (org.apache.sling.distribution.core) bundle > does not activate on Sling12 using Java 11 > https://github.com/apache/sling-org-apache-sling-distribution-core > {{mvn clean install}} results in the error below > [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.distribution.core: An Ant BuildException has occured: Unable > to create javax script engine for javascript > [ERROR] around Ant part
[jira] [Commented] (SLING-9545) Distribution Core bundle with Java 11
[ https://issues.apache.org/jira/browse/SLING-9545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17143787#comment-17143787 ] Cris Rockwell commented on SLING-9545: -- No. I don't think so. I downloaded the bundle at 0.3.4 and 0.4.2 from maven central and tried uploading and installing to /system/console/bundles. The bundle state is Installed and not active. Maybe the Java 11 build issue is separate. I thought maybe it's related to the header Bundle-RequiredExecutionEnvironment: JavaSE-1.8 https://mvnrepository.com/artifact/org.apache.sling/org.apache.sling.distribution.core/0.3.4 https://mvnrepository.com/artifact/org.apache.sling/org.apache.sling.distribution.core/0.4.2 !Screen Shot 2020-06-24 at 8.09.38 AM.png! > Distribution Core bundle with Java 11 > - > > Key: SLING-9545 > URL: https://issues.apache.org/jira/browse/SLING-9545 > Project: Sling > Issue Type: Bug > Components: Content Distribution >Affects Versions: Content Distribution Core 0.3.4, Content Distribution > Core 0.4.2 >Reporter: Cris Rockwell >Priority: Major > Attachments: Screen Shot 2020-06-24 at 8.09.38 AM.png > > > Apache Sling Distribution Core (org.apache.sling.distribution.core) bundle > does not activate on Sling12 using Java 11 > https://github.com/apache/sling-org-apache-sling-distribution-core > {{mvn clean install}} results in the error below > [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.distribution.core: An Ant BuildException has occured: Unable > to create javax script engine for javascript > [ERROR] around Ant part
[jira] [Commented] (SLING-9545) Distribution Core bundle with Java 11
[ https://issues.apache.org/jira/browse/SLING-9545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17143584#comment-17143584 ] Robert Munteanu commented on SLING-9545: I think this is a problem when building, right? It's just a matter of using the latest parent pom. > Distribution Core bundle with Java 11 > - > > Key: SLING-9545 > URL: https://issues.apache.org/jira/browse/SLING-9545 > Project: Sling > Issue Type: Bug > Components: Content Distribution >Affects Versions: Content Distribution Core 0.3.4, Content Distribution > Core 0.4.2 >Reporter: Cris Rockwell >Priority: Major > > Apache Sling Distribution Core (org.apache.sling.distribution.core) bundle > does not activate on Sling12 using Java 11 > https://github.com/apache/sling-org-apache-sling-distribution-core > {{mvn clean install}} results in the error below > [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.distribution.core: An Ant BuildException has occured: Unable > to create javax script engine for javascript > [ERROR] around Ant part