jswat does not find source files others than in bin\-directory?
Heiko Barrach <[email protected]> Fri, 02 May 2008 12:46:47 +0200
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
Hi folks, I freshly installed Groovy 1.5.6 & JSWAT 4.3 (under Win XP); wrote a small test.groovy script which runs flawlessly in the groovyconsole. Now when I try to debug this with JSWAT, the darn thing tells me: "Caught: java.io.FileNotFoundException: C:\Program Files\jswat-4.3\bin\test.groovy (C:\Program Files\jswat-4.3\bin\test.groovy)" Well, obviously, that's correct: My groovy-script is in "Z:\Groovy Scripts\" and I told my system so by setting a respective SOURCEPATH environment variable pointing to that directory -but to no avail. (Yes, I may move the test.groovy script file manually over to the bin\-directory on C: which jswat expects, and it will work; but hey, that's a bad kludge: Whatever I change in the source file will be written to the script on Z: , so doesn't make it for debugging (=version on C:)) What it is going on here? How can I tell jswat that my scripts to debug reside on Z:\Groovy Scripts ??? Thanks! ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone