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?
Yes, set up a batch file (or whatever) as an External Tool and set it as a Builder on the project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.