Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse java How to insert a build timestamp

I am using Eclipse Java for my project. And I want to display the buildtime to the user. How do I get Eclipse (or a plugin) to insert the build timestamp into a properties file?

like image 976
user1481924 Avatar asked Apr 22 '26 02:04

user1481924


1 Answers

You could use either maven, or ant. A quick google for maven and build timestamps returned this.

Maven is pretty good for also managing dependencies, etc, but it'll take some time to get used to it. Ant is a bit easier, but just for building.

like image 180
WhyNotHugo Avatar answered Apr 24 '26 16:04

WhyNotHugo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!