No description
Find a file
2019-02-11 02:40:15 +09:00
icons Add On/Off button. 2018-01-14 00:32:30 +09:00
src/ktommyk replace tabs to spaces 2019-02-11 02:40:01 +09:00
build.properties initial commit 2018-01-02 21:41:35 +09:00
plugin.xml Add On/Off button. 2018-01-14 00:32:30 +09:00
README.md Update README.md 2018-08-15 13:04:32 +09:00

On Save Hook Plug-in for Eclipse

This plug-in can execute your commands every time you save (including change, create, delete) something in Eclipse editor.

How To Install

  1. Download OnSaveHookPlugin-0.1.8.zip.
  2. Start Eclipse, and select Help->Install New Software... from the menu bar.
  3. Install this archive file according to following instruction:

Select the archive file:

eclipse-plugin-installation

Progress installation procedures as usual:

eclipse-plugin-installation2

  1. Restart your Eclipse IDE.

How To Configure

You can configure this plug-in per project.

  1. Create a config file with a name on_save_hook.conf on the top directory of your target project.

  2. In that file, you must set exec item as below: exec=C:/Users/test_user/workspace/TestProject/execute_file.bat

  3. Optionally, you can add two items, include and exclude which are used for filtering target files by their names.

How To Execute

This plug-in will run the exec each time when a file's changed, created and deleted, I suppose.

  1. Change ( or create, delete ) any file in the project.
  2. 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. )
  3. You will also see output out there if you echo ( or print ) something in the exec file,