I need an Eclipse Plugin run shell scripts under Linux. I have a beautiful Rsync script and I want a button in Eclipse to activate it.
The best Solution would be if the Rsync shell script was also activated when I was saving Stuff, so maybe I can add a script builder or something like that.
Anyone has a clue for both of the solutions?
You could use the eclipse external tools feature. For running shell scripts put in the location field
/bin/sh and the argument should be the shell script itself.
If you want to run a script when saving you can use the internal builders of Eclipse.
Project -> Properties -> Builders -> New... -> Program
Be sure you check the "After a Clean", "During auto build" options on the "Build Options" tab.