From dev-return-68063-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Thu Mar 8 06:32:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 796B9180676 for ; Thu, 8 Mar 2018 06:32:05 +0100 (CET) Received: (qmail 31647 invoked by uid 500); 8 Mar 2018 05:32:04 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 31636 invoked by uid 99); 8 Mar 2018 05:32:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2018 05:32:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AD45318027C for ; Thu, 8 Mar 2018 05:32:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3YtHTk6d_y2M for ; Thu, 8 Mar 2018 05:32:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 529995F195 for ; Thu, 8 Mar 2018 05:32:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5A3EDE008D for ; Thu, 8 Mar 2018 05:32:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0EFE6253FD for ; Thu, 8 Mar 2018 05:32:00 +0000 (UTC) Date: Thu, 8 Mar 2018 05:32:00 +0000 (UTC) From: "Abraham Fine (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ZOOKEEPER-2995) ant docs fails when Java 1.9 is present on my system MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Abraham Fine created ZOOKEEPER-2995: --------------------------------------- Summary: ant docs fails when Java 1.9 is present on my system Key: ZOOKEEPER-2995 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2995 Project: ZooKeeper Issue Type: Bug Affects Versions: 3.4.11, 3.5.3, 3.6.0 Reporter: Abraham Fine Assignee: Abraham Fine When attempting to compile the documentation (with JAVA_HOME set to 1.7) I see output like this: {code} $ ant docs -Dforrest.home=$(brew info apache-forrest | grep /Cellar | awk '{print $1;}') -d Apache Ant(TM) version 1.9.7 compiled on April 9 2016 Trying the default build file: build.xml Buildfile: REDACTED/zookeeper/build.xml Adding reference: ant.PropertyHelper Detected Java version: 1.7 in: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre OTHER STUFF docs: Class org.apache.tools.ant.taskdefs.condition.Os loaded from parent loader (parentFirst) Condition false; setting forrest.exec to forrest Setting project property: forrest.exec -> forrest [exec] Current OS is Mac OS X [exec] Executing '/usr/local/Cellar/apache-forrest/0.9/bin/forrest' [exec] The ' characters around the executable and arguments are [exec] not part of the command. Execute:Java13CommandLauncher: Executing '/usr/local/Cellar/apache-forrest/0.9/bin/forrest' The ' characters around the executable and arguments are not part of the command. [exec] Apache Forrest. Run 'forrest -projecthelp' to list options [exec] [exec] Buildfile: /usr/local/Cellar/apache-forrest/0.9/libexec/main/forrest.build.xml [exec] [exec] check-java-version: [exec] This is apache-forrest-0.9 [exec] Using Java 1.6 from /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home MORE STUFF [exec] [exec] BUILD FAILED [exec] /usr/local/Cellar/apache-forrest/0.9/libexec/main/targets/site.xml:180: Warning: Could not find file REDACTED/zookeeper/src/docs/build/tmp/brokenlinks.xml to copy. [exec] [exec] Total time: 3 seconds [exec] -Djava.endorsed.dirs=/usr/local/Cellar/apache-forrest/0.9/libexec/lib/endorsed:${java.endorsed.dirs} is not supported. Endorsed standards and standalone APIs [exec] Error: Could not create the Java Virtual Machine. [exec] in modular form will be supported via the concept of upgradeable modules. [exec] Error: A fatal exception has occurred. Program will exit. [exec] [exec] Copying broken links file to site root. [exec] BUILD FAILED REDACTED/zookeeper/build.xml:501: exec returned: 1 at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:644) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) at org.apache.tools.ant.Project.executeTarget(Project.java:1376) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1260) at org.apache.tools.ant.Main.runBuild(Main.java:854) at org.apache.tools.ant.Main.startAnt(Main.java:236) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112) {code} The build succeeds when I uninstall java 9. -- This message was sent by Atlassian JIRA (v7.6.3#76005)