Eclipse: System cannot find the path

Hi, could you help me on following error message? I can't get any app running any more :-(

BUILD: ERROR: Das System kann den angegebenen Pfad nicht finden
BUILD: java.io.IOException: Das System kann den angegebenen Pfad nicht finden
BUILD: at java.io.WinNTFileSystem.createFileExclusively(Native Method)
BUILD: at java.io.File.createNewFile(Unknown Source)
BUILD: at com.garmin.monkeybrains.Monkeybrains.writeDebugXml(Monkeybrains.java:313)
BUILD: at com.garmin.monkeybrains.Monkeybrains.runPRGCompiler(Monkeybrains.java:1428)
BUILD: at com.garmin.monkeybrains.Monkeybrains.compileApplication(Monkeybrains.java:1022)
BUILD: at com.garmin.monkeybrains.Monkeybrains.run(Monkeybrains.java:2219)
BUILD: at com.garmin.monkeybrains.Monkeybrains.simpleMain(Monkeybrains.java:252)
BUILD: at com.garmin.monkeybrains.Monkeybrains.simpleMain(Monkeybrains.java:234)
BUILD: at com.garmin.monkeybrains.Monkeybrains.main(Monkeybrains.java:281)
BUILD: usage: monkeyc [-a <arg>] [-d <arg>] [-e] [--Eno-invalid-symbol] [-f <arg>] [-g]
BUILD: [-h] [-i <arg>] [-m <arg>] [-o <arg>] [-p <arg>] [-r] [-s <arg>] [-t] [-u
BUILD: <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>]
BUILD: -a,--apidb <arg> API import file
BUILD: -d,--device <arg> Target device
BUILD: -e,--package-app Create an application package.
BUILD: --Eno-invalid-symbolDo not error when a symbol is found to be invalid
BUILD: -f,--jungles <arg> Jungle files
BUILD: -g,--debug Print debug output
BUILD: -h,--help Prints help information
BUILD: -i,--import-dbg <arg> Import api.debug.xml
BUILD: -m,--manifest <arg> Manifest file
BUILD: -o,--output <arg> Output file to create
BUILD: -p,--project-info <arg>projectInfo.xml file to use when compiling
BUILD: -r,--release Strip debug information
BUILD: -s,--sdk-version <arg> SDK version to target
BUILD: -t,--unit-test Enables compilation of unit tests
BUILD: -u,--devices <arg> devices.xml file to use when compiling
BUILD: -v,--version Prints the compiler version
BUILD: -w,--warn Show compiler warnings
BUILD: -x,--excludes <arg> Add annotations to the exclude list
BUILD: -y,--private-key <arg> Private key to sign builds with
BUILD: -z,--rez <arg> Resource file
BUILD: Complete
Aborting launch due to failed build.
  • The compiler is trying to write a debug.xml for your application, and failing. If you are building via eclipse, I would expect to find the generated files in the bin folder within your project folder. So, if your application was named Test, I'd expect you to find bin/Test.prg (the compiled application), and bin/Test.prg.debug.xml (the debug data). It is this latter file that is the problem.

    I've got no idea why the compiler is having trouble writing that file, but my bet is that a process has it open for exclusive access. This can happen if you have it open in an editor. If the process in question is hung, you may need to force kill it or reboot.

    Travis
  • topcaser - Were you able to resolve this issue? What was the resolution? Did you find the root cause?
  • Hi Travis, you pointed me in the right direction. For some strange reasons the bin directory on my NAS was not writeable any more. Indeed also the windows explorer did crash as soon as I want to put anything in that directory. I was forced to login as admin and fix things there. I have no clue what happened but any other directory around the bin directory was write accessable.