Must be the `ant` being used. It might have org.apache.tools.ant.types.Path. systemClasspath as final...
--emi On Fri, Sep 15, 2017 at 11:39 PM, Geertjan Wielenga <geertjan.wiele...@googlemail.com> wrote: > Maybe also 'ant -version', which for me is '1.10.1'. > > Gj > > On Fri, Sep 15, 2017 at 10:38 PM, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> Can you do an 'ant clean' and then try again with 'ant', just to make sure? >> >> Gj >> >> On Fri, Sep 15, 2017 at 10:37 PM, William Winder <wwinder....@gmail.com> >> wrote: >> >>> java version "1.8.0_121" >>> Java(TM) SE Runtime Environment (build 1.8.0_121-b13) >>> Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode) >>> >>> On Fri, Sep 15, 2017 at 4:36 PM, Geertjan Wielenga < >>> geertjan.wiele...@googlemail.com> wrote: >>> >>> > I'm on the same OSX with the same JDK, so that's weird. Just to check, >>> can >>> > you run 'java -version' in the terminal? >>> > >>> > Gj >>> > >>> > On Fri, Sep 15, 2017 at 10:30 PM, William Winder <wwinder....@gmail.com >>> > >>> > wrote: >>> > >>> > > I had different failures on OSX when trying to build the >>> > > incubator-netbeans github mirror. I'm going to try attaching the build >>> > log. >>> > > >>> > > I'm running macOS version 10.12.6, my JDK is 1.8.0_121 >>> > > >>> > > Here is the build failure: >>> > > >>> > > compile-bridge: >>> > > [mkdir] Created dir: /opt/incubator-netbeans/o. >>> > > apache.tools.ant.module/build/bridge-classes >>> > > [javac] Compiling 7 source files to /opt/incubator-netbeans/o. >>> > > apache.tools.ant.module/build/bridge-classes >>> > > [repeat] warning: [options] bootstrap class path not set in >>> > conjunction >>> > > with -source 1.6 >>> > > [repeat] warning: unknown enum constant When.ALWAYS >>> > > [repeat] reason: class file for javax.annotation.meta.When not >>> found >>> > > [repeat] /opt/incubator-netbeans/o.apache.tools.ant.module/src- >>> > > bridge/org/apache/tools/ant/module/bridge/impl/BridgeImpl.java:174: >>> > error: >>> > > cannot assign a value to final variable systemClasspath >>> > > [repeat] Path.systemClasspath = new Path(null, >>> > > AntBridge.getMainClassPath()); >>> > > [repeat] ^ >>> > > [repeat] /opt/incubator-netbeans/o.apache.tools.ant.module/src- >>> > > bridge/org/apache/tools/ant/module/bridge/impl/NbInputHandle >>> r.java:132: >>> > > war >>> > > ning: [unchecked] unchecked call to JComboBox(Vector<E>) as a member >>> of >>> > > the raw type JComboBox >>> > > [repeat] combo = new JComboBox((( >>> > > MultipleChoiceInputRequest)request).getChoices()); >>> > > [repeat] ^ >>> > > [repeat] where E is a type-variable: >>> > > [repeat] E extends Object declared in class JComboBox >>> > > [repeat] 1 error >>> > > [repeat] 3 warnings >>> > > [nbmerge] Failed to build target: all-o.apache.tools.ant.module >>> > > >>> > > BUILD FAILED >>> > > /opt/incubator-netbeans/nbbuild/build.xml:450: The following error >>> > > occurred while executing this line: >>> > > /opt/incubator-netbeans/nbbuild/build.xml:445: The following error >>> > > occurred while executing this line: >>> > > /opt/incubator-netbeans/nbbuild/build.xml:492: The following error >>> > > occurred while executing this line: >>> > > /opt/incubator-netbeans/o.apache.tools.ant.module/build.xml:62: >>> Compile >>> > > failed; see the compiler error output for details. >>> > > >>> > > >>> > > >>> > > On Fri, Sep 15, 2017 at 4:09 PM, Geertjan Wielenga < >>> > > geertjan.wiele...@googlemail.com> wrote: >>> > > >>> > >> On Wed, Sep 13, 2017 at 8:48 PM, Major Péter <majorpe...@gmail.com> >>> > >> wrote: >>> > >> >>> > >> > Hi, >>> > >> > >>> > >> > I cloned the repo today and tried to run NetBeans (ant && ant >>> tryme) >>> > on >>> > >> > OSX and I had various compilation related exceptions and NPEs with >>> a >>> > >> > Maven project. Almost every code completion request resulted in an >>> > >> > exception popup.. >>> > >> > Anyone had a similar experience with the donated code? Is this >>> > NetBeans >>> > >> > version meant to be stable at this point? >>> > >> > >>> > >> >>> > >> >>> > >> Not able to reproduce this -- can you provide more details? >>> > >> >>> > >> Gj >>> > >> >>> > > >>> > > >>> > >>> >> >>