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

Reply via email to