Upgrading ant did the trick. 'ant && ant tryme' are working now. On Fri, Sep 15, 2017 at 4:43 PM, Emilian Bold <[email protected]> wrote:
> Release Notes of Apache Ant 1.9.9 > > Changes from Ant 1.9.8 TO Ant 1.9.9 > =================================== > > Fixed bugs: > ----------- > > * Ant 1.9.8 made Path#systemClasspath final which broke the Eclipse > integration. > Bugzilla Report 60582 > > --emi > > > On Fri, Sep 15, 2017 at 11:41 PM, William Winder <[email protected]> > wrote: > > Ant appears to be a pretty old version, I'll try upgrading that. The > error > > from earlier was right after 'ant clean'. > > > > Apache Ant(TM) version 1.9.8 compiled on December 25 2016 > > > > On Fri, Sep 15, 2017 at 4:39 PM, Geertjan Wielenga < > > [email protected]> wrote: > > > >> Maybe also 'ant -version', which for me is '1.10.1'. > >> > >> Gj > >> > >> On Fri, Sep 15, 2017 at 10:38 PM, Geertjan Wielenga < > >> [email protected]> 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 < > [email protected]> > >> > 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 < > >> >> [email protected]> 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 < > >> [email protected] > >> >> > > >> >> > 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 < > >> >> > > [email protected]> wrote: > >> >> > > > >> >> > >> On Wed, Sep 13, 2017 at 8:48 PM, Major Péter < > [email protected] > >> > > >> >> > >> 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 > >> >> > >> > >> >> > > > >> >> > > > >> >> > > >> >> > >> > > >> > > >> >
