Hi Eric,

I saw this problem in the past when building with an inconsistent set
of JDK. I.e. my build JDK was JDK 11 and the value of the property
nbjdk.home pointing to JDK 8 (or the other way round).

This was solved by removing the nbjdk.home property (beware, you can
have it configured in different places) and thus building with a single
JDK.

There can be no general problem build NetBeans, see the battery of
build ran on every PR and also the fact, that we successfully released
NB18, which requires voters to build the project from source.

HTH

Matthias

Am Freitag, dem 16.06.2023 um 16:47 -0500 schrieb Eric Bresie:
> Cloned from master
> ant -q clean
> ant -Dcluster.config=full build
> During which I get the below error.
> 
> I am not on an Apple device so even if this is some form of "applemenu" for
> apple platforms, I'm not sure why when I'm on a Windows platform?
> 
> Is there something necessary to include the "java.awt.desktop" (module) in
> the build somewhere (i.e., enable a module of some type)?  Where might that
> get set?
> 
> -do-compile:
>  [nb-javac] Compiling 7 source files to
> C:\git\netbeans\platform\applemenu\build\classes
>    [repeat] warning: [path] bad path element
> "C:\git\netbeans\platform\applemenu\build\desktop-classes-classes": no such
> file or directory
>    [repeat] warning: A file for type
> 'org.netbeans.modules.applemenu.Bundle' already exists on the sourcepath or
> classpath
>    [FAILURES in applemenu]
> 
> BUILD FAILED
> C:\git\netbeans\nbbuild\build.xml:635: The following error occurred while
> executing this line:
> C:\git\netbeans\nbbuild\build.xml:630: The following error occurred while
> executing this line:
> C:\git\netbeans\nbbuild\build.xml:665: The following error occurred while
> executing this line:
> C:\git\netbeans\nbbuild\build.xml:648: The following error occurred while
> executing this line:
> C:\git\netbeans\nbbuild\build.xml:630: The following error occurred while
> executing this line:
> C:\git\netbeans\nbbuild\build.xml:665: The following error occurred while
> executing this line:
> C:\git\netbeans\nbbuild\build.xml:648: The following error occurred while
> executing this line:
> C:\git\netbeans\nbbuild\build.xml:630: The following error occurred while
> executing this line:
> C:\git\netbeans\nbbuild\build.xml:677: The following error occurred while
> executing this line:
> C:\git\netbeans\nbbuild\templates\common.xml:207: Compile failed; see the
> compiler error output for details.
> 
> Total time: 15 seconds
> 
> 
> Eric Bresie
> ebre...@gmail.com


---------------------------------------------------------------------
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



Reply via email to