| 01-10-2009, 06:42 AM | #1 |
Okay, I'm getting a step closer to automating vJASS compilation from my iMac, but I seem to have hit a rather large brick wall. I have two computers: an iMac with OS X, and some crappy desktop with XP SP2; they're both on the same network and I've made the PC a SSH server. I can connect to the server from OS X just fine and execute code that one can normally execute over SSH. However, the problem seems to be that you can't execute graphical programs over SSH (for whatever reason), so even though I can call JASSHelper command-line properly, it, well, doesn't do anything. If I type something incorrect like this (in the proper directory, of course): Code:
jasshelper.exe adglakdlkdf asdlgakdsjg vnas Code:
jasshelper.exe common.j Blizzard.j S:\Maps\MyMap.w3x If not that, then what other protocol(s) should I look instead of SSH? I have a VNC client that works fine between the two computers, but I'd like to avoid having to use that. What I really want to make is a script for OS X that, when activated, calls JASSHelper on the specified file path to compile it. This saves me from having to open up the VNC client, make a connection, open cmd.exe, and then execute JASSHelper. Also, other people use the computer, so it would be nice to be able to run this in the background without having to take total control of the computer for 30 seconds or so. Halp? |
| 01-10-2009, 09:29 AM | #2 |
X11 is not applicable. X11 is a window system used on unix based systems. You should be able to execute whatever programs you want using SSH. You won't be able to use a GUI (at least no without VNC or similar), but the program should still run. There's probably some else wrong with how you're calling it. |
| 01-10-2009, 08:24 PM | #3 |
Nope, nothing wrong. If I open up cmd on the PC (while physically sitting at the PC) and then type this: Code:
cd C:\ notepad.exe If I connect via SSH from OS X, then type the exact same thing... nothing happens. Code:
jasshelper.exe --about I think it's a SSH thing. |
| 01-10-2009, 09:02 PM | #4 |
Certainly, I doubt ssh supports graphics stuff. So, just use rdesktop or something like that. I should probably revive the project for a console jasshelper. But not even I need it, so maybe not. |
| 01-10-2009, 09:37 PM | #5 |
I [i]have/[i] remote desktop and a VNC client set up, it's just that I'd like to avoid using a graphical client that requires me to log in and take control of the computer temporarily. Somebody on IRC suggested making the PC listen on a port for an incoming connection and then run JASSHelper with the proper arguments when a signal is detected on that port. Is this possible, and if so, how would I go about doing it? |
| 01-10-2009, 09:46 PM | #6 |
It's as possible as it is difficult. console version of jasshelper kind of works, I could just compile it but you won't have access to external tools, I think I should make a new console version, hmnn. It shouldn't take that much work but I am under a big queue of things to do now, hmnn. If ssh works like that, then you should be able to have a remote desktop client that requires the same amount of passwords. You could also make a dummy executable program that calls jasshelper... |
| 01-10-2009, 09:52 PM | #7 | |
I wouldn't mind a console version of JASSHelper. As long as I can use //! import I'll be fine, and anything else I'll just have to settle for opening the WE to use. Quote:
|
| 01-11-2009, 04:28 AM | #8 |
Hmm... talked with Vexorian and things seem to be going well. I've got the compiler down and it all works properly. The only thing that's missing is that I can't access currentwar3map.j to figure out which lines are giving the errors; I only know that line #27 (of the entire map script) gives a syntax error, but not what the text on line 27 is. Anyone know how I could access that text? I'm using a .bat file right now. |
