Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Jar SHA1Id different after each build(Jgit jar produces different SHA1Id though no code changes done. )
Jar SHA1Id different after each build [message #1802251] Tue, 05 February 2019 09:31 Go to next message
Tester Tester is currently offline Tester TesterFriend
Messages: 13
Registered: December 2018
Junior Member
Jgit jar produces different SHA1Id though no code changes done.
I suspect this is due to the build date in manifest. Is there any way to ignore non coding changes while generating the SHA1Id for jar.
Re: Jar SHA1Id different after each build [message #1802285 is a reply to message #1802251] Wed, 06 February 2019 01:33 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
The ID of a blob stored in git is the hash of the file content, i.e. if the file content changes also the hash will change.
Are you versioning jar files in git ? I'd recommend not to do this.
Re: Jar SHA1Id different after each build [message #1802521 is a reply to message #1802285] Mon, 11 February 2019 11:10 Go to previous message
Tester Tester is currently offline Tester TesterFriend
Messages: 13
Registered: December 2018
Junior Member
yes...we are versioning jar files as per our process and we can not get rid of this
Previous Topic:Line of Code
Next Topic:Error when try to use ftp protocol remote
Goto Forum:
  


Current Time: Thu Apr 25 15:44:40 GMT 2024

Powered by FUDForum. Page generated in 0.03507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top