0

I have been working on 3 Java Spring and Hibernate projects at a time. Every time if I make any changes on any of these three project then I have to create build again and manually I upload three builds to three different servers.

Is there any mechanism to avoid this manual process? Is there a tool or script that can check if I make changes to my code in Eclipse and save the files which will then commit the code and automatically build and upload the war file to the appropriate server?

This would save me a lot of time.

ig0774
  • 39,669
  • 3
  • 55
  • 57
Kunal Patel
  • 15
  • 2
  • 5

2 Answers2

1

You need continous integration. Maven is a build tool and won't deploy on change.

Whereas a CI tool such as jenkins will listen to your code reposiotry and every time a file is commited it will call then call whatver maven command you wish.

However re-reading your question, it looks like all you really need is a hot deploy development enivronment. Which is quite easy.

Community
  • 1
  • 1
NimChimpsky
  • 46,453
  • 60
  • 198
  • 311
0

If the projects are on maven, there are plugins for all major application servers.

Stefanos Kalantzis
  • 1,619
  • 15
  • 23