I'm creating a PR to revert the mentioned one. It was not supposed to be
merged.
On 9/14/20 12:15 PM, John Mc wrote:
Hi,
Earlier I merged upstream into my local repository, but I'm unable to build
NetBeans on my mac at the moment, when running JDK 8 and JDK 11.
Anyone else on a mac been able to build NetBeans today? I'm fairly sure
it's related to the merging of https://github.com/apache/netbeans/pull/2337
but there's an mac OSX Jenkins action which seemed to build fine, so not
sure.
The command I was running was:
% ant clean && ant
and include the -Dpermit.jdk9.builds=true flag when I ran it on JDK 11
It seems to be catching on:
init:
-prepare-mandatory-files-for-module:
[mkdir] Created dir:
/Users/john/codebase/netbeans/platform/applemenu.jdk9/build/classes/META-INF
[createlicensesummary] All tests passed
up-to-date:
-pre-compile:
-do-compile:
[nb-javac] Compiling 1 source file to
/Users/john/codebase/netbeans/platform/applemenu.jdk9/build/classes
[repeat] error: option --boot-class-path not allowed with target 9
[nbmerge] Failed to build target: all-applemenu.jdk9
BUILD FAILED
/Users/john/codebase/netbeans/nbbuild/build.xml:639: The following error
occurred while executing this line:
/Users/john/codebase/netbeans/nbbuild/build.xml:634: The following error
occurred while executing this line:
/Users/john/codebase/netbeans/nbbuild/build.xml:669: The following error
occurred while executing this line:
/Users/john/codebase/netbeans/nbbuild/build.xml:652: The following error
occurred while executing this line:
/Users/john/codebase/netbeans/nbbuild/build.xml:634: The following error
occurred while executing this line:
/Users/john/codebase/netbeans/nbbuild/build.xml:681: The following error
occurred while executing this line:
/Users/john/codebase/netbeans/nbbuild/templates/common.xml:205: Compile
failed; see the compiler error output for details.
Total time: 3 minutes 28 seconds
john@Johns-MacBook-Pro netbeans % echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home
Anyone else have any issues today, or am I doing something wrong(I doubt
it, but I could be missing something obvious)?
Regards
John
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists