Confusion with exec and path file names.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Confusion with exec and path file names.

kenner

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]

Reply | Threaded
Open this post in threaded view
|

Re: Confusion with exec and path file names.

David Requena
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ó:

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\<a class="moz-txt-link-freetext" href="ftp:\a00002t@150.45.12.23:21">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]

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Confusion with exec and path file names.

kenner

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]



David Requena <[hidden email]>
Sent by: [hidden email]

08/04/2010 04:40 PM

Please respond to
IBM Netrexx <[hidden email]>

To
IBM Netrexx <[hidden email]>
cc
Subject
Re: [Ibm-netrexx] Confusion with exec and path file names.





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]

Reply | Threaded
Open this post in threaded view
|

Re: Confusion with exec and path file names.

David Requena
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ó:

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]



David Requena [hidden email]
Sent by: [hidden email]

08/04/2010 04:40 PM

Please respond to
IBM Netrexx [hidden email]

To
IBM Netrexx [hidden email]
cc

Subject
Re: [Ibm-netrexx] Confusion with exec and path file names.







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ó:

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]

_______________________________________________
Ibm-netrexx mailing list
[hidden email]


_______________________________________________ Ibm-netrexx mailing list [hidden email]

_______________________________________________
Ibm-netrexx mailing list
[hidden email]