This plug-in can execute your commands every time you save (including change, create, delete) something in Eclipse editor.
- Download OnSaveHookPlugin-0.1.8.zip.
- Start Eclipse, and select
Help->Install New Software...from the menu bar. - Install this archive file according to following instruction:
Select the archive file:
Progress installation procedures as usual:
- Restart your Eclipse IDE.
You can configure this plug-in per project.
-
Create a config file with a name
on_save_hook.confon the top directory of your target project. -
In that file, you must set
execitem as below:exec=C:/Users/test_user/workspace/TestProject/execute_file.bat -
Optionally, you can add two items,
includeandexcludewhich are used for filtering target files by their names.
This plug-in will run the exec each time when a file's changed, created and deleted, I suppose.
- Change ( or create, delete ) any file in the project.
- Then you can see some output on the console view from this plug-in. ( If you can't find any output on the view, make sure that the plug-in is installed correctly into your Eclipse. )
- You will also see output out there if you echo ( or print ) something in the
execfile,

