It turns out that the error message from netrexxde about the "Check if Java Exec & Path" when you go to compile netrexx code has nothing to do with the parameters specified under Plugin options but rather netrexxde barfs on trying to compile a source file from a directory that is accessed via the ftp Plugin. C:\Program Files\Java\jre6\bin\javaw.exe -Xms16M -cp .;C:\Program Files\jEdit 4.3.2\jars\NetRexxC.jar;C:\Program Files\Java\jre6\lib\ext\tools.jar;C:\Program Files\jEdit 4.3.2\jedit.jar COM.ibm.netrexx.process.NetRexxC C:\Program Files\jEdit 4.3.2\ftp:\a00002t@150.45.12.23:21\u\a00002t\netrexx\Commercial_examples.nrx When I go to compile a similar file that is on my windows drive locally, it compiles just fine. Kenneth Klein Systems Specialist 502-868-3644 859-750-5179 (Cell) 502-868-2298 (Fax) [hidden email] _______________________________________________ Ibm-netrexx mailing list [hidden email] |
Kenneth,
hmm... now I understand... Well, I don't think anything can be done about that as it would imply writing class files as well as temporary java and crossref files over ftp. It seems from your quoted text that jEdit maintains a local copy of the file in its binary folder --probably with a mangled filename as ":" is not a valid character in a directory name. Anyone willing to submit a patch is welcome though :-) --- Saludos / Kind regards. David Requena El 04/08/2010 17:23, [hidden email] escribió:
_______________________________________________ Ibm-netrexx mailing list [hidden email] |
I was just happy to finally figure out what the problem was after hacking around on the netrexxde configuration for hours. The least that should be done is change the error message so that users know not to try to compile source that was loaded from a remote machine. Kenneth Klein Systems Specialist 502-868-3644 859-750-5179 (Cell) 502-868-2298 (Fax) [hidden email]
Kenneth, hmm... now I understand... Well, I don't think anything can be done about that as it would imply writing class files as well as temporary java and crossref files over ftp. It seems from your quoted text that jEdit maintains a local copy of the file in its binary folder --probably with a mangled filename as ":" is not a valid character in a directory name. Anyone willing to submit a patch is welcome though :-) --- Saludos / Kind regards. David Requena El 04/08/2010 17:23, kenneth.klein@... escribió: It turns out that the error message from netrexxde about the "Check if Java Exec & Path" when you go to compile netrexx code has nothing to do with the parameters specified under Plugin options but rather netrexxde barfs on trying to compile a source file from a directory that is accessed via the ftp Plugin. C:\Program Files\Java\jre6\bin\javaw.exe -Xms16M -cp .;C:\Program Files\jEdit 4.3.2\jars\NetRexxC.jar;C:\Program Files\Java\jre6\lib\ext\tools.jar;C:\Program Files\jEdit 4.3.2\jedit.jar COM.ibm.netrexx.process.NetRexxC C:\Program Files\jEdit 4.3.2\ftp:\a00002t@150.45.12.23:21\u\a00002t\netrexx\Commercial_examples.nrx When I go to compile a similar file that is on my windows drive locally, it compiles just fine. Kenneth Klein Systems Specialist 502-868-3644 859-750-5179 (Cell) 502-868-2298 (Fax) kenneth.klein@... _______________________________________________ Ibm-netrexx mailing list [hidden email] _______________________________________________ Ibm-netrexx mailing list [hidden email] _______________________________________________ Ibm-netrexx mailing list [hidden email] |
Kenneth,
Unfortunately, there's not much that can be done from NetRexxDE's side. As things stand, NetRexxDE uses a standard jEdit API call to interrogate buffers about their corresponding file paths. It's the responsibility of the loading plugin to set this to some sensible value if it is to play nicely with other plugins. Admittedly I could someway hack some fix for this issue with ftpplugin but nothing would prevent the same problem arising with some other scp, webdav or whatever plugin. As for the error message, the plugin listens to NetRexxC via BufferedReader which only ever signals IOException. I'll investigate if the exception's message and/or cause could be used to narrow the problem but no promises made :-) --- Saludos / Kind regards. David Requena El 05/08/2010 13:44, [hidden email] escribió:
_______________________________________________ Ibm-netrexx mailing list [hidden email] |
Free forum by Nabble | Edit this page |