This question is more to do with the eclipse than programming. But any programmer who has used eclipse should have some inputs for me. Here is my requirement:
I have already been through below articles:
http://www.epic-ide.org/guide/ch06s02.php#N10812
Run Eclipse EPIC Perl Plugin on Remote Project/Files
But I am not able to interpret the information given in above links correctly. In other words, it is not working for me or my use case is different than what is described in those links.
So, is it feasible to configure eclipse per my requirement as described above? If Yes, then could please provide me the guidance on how to achieve it. If not, then is there any other workaounrd to achieve the same. I am pretty sure some one must have come accross similar situation.
Thanks
So, I got it working after a long time as below. I am kind of learning Eclipse. So pasting the information here so that I won't forget it again :)
Down load Eclipse on Windows
NO need to install any windows Perl binaries like activestate, strawberry ...etc
Install EPIC plugin for Perl: http://www.epic-ide.org/guide/ch01s02.php
Make sure that the Remote System explorer is installed: File->other->Remote system explorer.
If you do not find RSE in above location, then it is not installed and you need to install it: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.rse.doc.user/gettingstarted/g1installing.html
Open the Remote System Explorer perspective (Window->open perspective->other->Remote System Explorer)
Create a connection to the Linux box: under RSE perspective, click on the icon which looks like inverted "T"
Follow the wizard and provide necessary information. (In this wizard, on few questions you have to choose from DStore, ssh and FTP)
I have selected ssh everywhere as I do not know what DStore is
Once complete, you should see the new connection on the left hand side
11.Right click on "SSH Terminals" and click on "connect / launch Terminal"
Provide the password for the Linux user and you will get a shell below. This is the ssh shell of your Linux server and you can use it just like PuTTy.
Now, on the left hand side, expand your server and you will get to browse the directory structure of the Linux Server. You can create a new Perl file and then go about writing your script
Here, the EPIC Plug-in will help you from IDE standpoint (syntax color, auto completion ...etc)
Save the file.
Now, in order to execute it, go to the SSH shell which you have opened in above step and run "perl filename.pl". It will give you the output.
I love this method. This way you can run any script (Perl, python, shell...etc.) on the remote Linux server and can use the power of eclipse to help you write/edit the code. No need to install any Perl/python binaries on the local windows box.
Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With