0

I'm developing simple Java application in Eclipse Oxygen. I would like to ask Eclipse to copy binary files to testing machine automatically when it builds. How to achieve that? How to run script on remote Linux machine that restarts application when binary is copied?

UPD

Since Eclipse builds project very often I would like to have Deploy functionality according to request. How to achieve this option?

vico
  • 17,051
  • 45
  • 159
  • 315

1 Answers1

1

Look at the 'Builders' page of the project 'Properties'.

You can add an 'Ant' script or a program to be run when the project is built along with the other builders.

Builders normally run quite a lot so you may want to turn 'Build automatically' off.

It is also possible to write an Eclipse plugin which contributes additional builder types - but that is more work.

greg-449
  • 109,219
  • 232
  • 102
  • 145