Re: Netbeans Help

Randall Wood <rhwood@...>

I’d install git. Ant includes the first few characters of the current commit hash in the JMRI version number.


On Oct 13, 2019, at 08:20, steve young via Groups.Io <icklesteve@...> wrote:

Hi Folks,

I tried IDE's in the 90's and had bad experiences so have previously stuck with Notepad++ .
Since Randall's excellent suggestion that I try out an IDE, I've had my main dev laptop fail, so installed NB on a fresh Win7 install with 64bit JDK 8u221
I'm actually pretty impressed with the inline hint suggestions that NetBeans 11.1 offers however am struggling to compile.

Git not installed nor ant, using the JMRI folder in the Github desktop location ( For the moment I'll stick with Github Desktop for version control ).
I've been following the advice from
however should I have Git installed?


Output from NB console

ant -f C:\\Users\\steve\\Documents\\GitHub\\JMRI\\nbproject\\nbjdk.xml clean debugWarning: or nbjdk.home=${platforms.JDK_1.8.home} is an invalid Java platform; ignoring and using C:\Program Files\Java\jdk1.8.0_221clean:Execute failed: Cannot run program "git" (in directory "C:\Users\steve\Documents\GitHub\JMRI"): CreateProcess error=2, The system cannot find the file specifiedJMRI.clean:C:\Users\steve\Documents\GitHub\JMRI\nbproject\nbjdk.xml:11: The following error occurred while executing this line:C:\Users\steve\Documents\GitHub\JMRI\build.xml:439: java.nio.file.InvalidPathException: Trailing char < > at index 41:  C:\Users\steve\Documents\GitHub\JMRI\temp at sun.nio.fs.WindowsPathParser.normalize( sun.nio.fs.WindowsPathParser.parse( sun.nio.fs.WindowsPathParser.parse( sun.nio.fs.WindowsPath.parse( sun.nio.fs.WindowsFileSystem.getPath($001($$ sun.reflect.GeneratedMethodAccessor270.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke( java.lang.reflect.Method.invoke( sun.reflect.GeneratedMethodAccessor270.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke( java.lang.reflect.Method.invoke( FAILED (total time: 1 second)

Join to automatically receive all group messages.