In Eclipse how do you automatically copy a file after save?
09:22 27 Jan 2023

I'm a bit of a nOOb in Eclipse, so there may be a way to do this, but I haven't found it.

In other IDEs I have the ability to set up an action to copy a given file to an alternate location upon save.

For example, let's say my repo is in /dev/myproject. Let's further say that my web root is at /webroot.

When I make a change to /dev/myproject/index.html and save in Eclipse, I would like it then to copy index.html to /webroot/index.html.

Is there a way to do that in Eclipse?

eclipse ide