[Pydev-code] Using Pydev to start script on remote computer
Brought to you by:
fabioz
From: vincent l. <lap...@ho...> - 2009-12-22 17:14:13
|
Hi, I'm developping an RCP application that provides functionalities to execute Python script on host computer (the computer that runs our rcp app) and also on remote computers. Currently, our application uses Pydev to create Python launch configurations and then to execute them on host computer only. However, we would like to add settings in the launch configuration to also allow the user to specify on which rcomputer we want to execute the script (host or remote). Then, depending on the computer, Pydev will execute the script on the corresponding computer and always output results to the pydev console. My first idea to solve this problem was to override the Pydev launcher but I would like to know if there are any other way to do this. This new launcher will call the default launcher when the script run on the host computer or will call our "python script launcher" when the script run on remote computer. Note that our application provides a daemon service that is able to execute python script on remote computer and able to retrieve output... Here are my questions: 1- Is it possible to configure a pydev interpreter on a remote computer (and prevent us to use our deamon)? How? This solution could be very interesting for all pydev users... 2- If it is not possible, what it the best way to override the default pydev launcher to start script on a remote computer using our daemon and output results to pydev console (when a remote target is specified) 3- Could we easily add pages with our settings in the Pydev to the Run configurations dialog of the Python run configuration? Any suggestions or help will be appreciate... Thanks Vincent _________________________________________________________________ Eligible CDN College & University students can upgrade to Windows 7 before Jan 3 for only $39.99. Upgrade now! http://go.microsoft.com/?linkid=9691819 |