Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Egit showing all .class file in unstaged changes after building workspace
Egit showing all .class file in unstaged changes after building workspace [message #1852428] Mon, 16 May 2022 08:02 Go to next message
hyejin kim is currently offline hyejin kimFriend
Messages: 3
Registered: May 2022
Junior Member
Hi.

There're 10 people using eclipse egit with bitbucket. all of them made individual branch from master branch, and merge the individual branch into development branch.
I changed A.java and merge from my branch to development branch, I found something strange that EGit showing all class files including A.class in unstaged Changes after building workspace. (Everyone was checked Build Automatically)
So I tested unchecked Build Automatically to build a class manually(i used ctrl + B on each file) and merge into development branch, it only shows my file which is manually build one.

Any tips what I'm doing wrong here? ... Is it a bug of Egit?
(Sorry for my poor English skills.. TㅅT)

all of computing environment are same as below :
- java version : 1.8.0_241
- Egit version : 2.3.1.201302201838-r
- eclipse version : 2019-06 (4.12.0)
- OS : Windows 10

Thanks,
HyeJin.

[Updated on: Thu, 19 May 2022 06:16]

Report message to a moderator

Re: Egit showing all .class file in unstaged changes after building workspace [message #1852436 is a reply to message #1852428] Mon, 16 May 2022 14:26 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1273
Registered: July 2009
Senior Member
I guess you miss some .gitignore file in your repository. See https://git-scm.com/docs/gitignore.

You are using pretty outdated versions:
- current java version is 18
- current EGit version is 6.1.0.202203080745-r https://www.eclipse.org/egit/download/
- current Eclipse version is 2022-03 (4.23.0) https://www.eclipse.org/downloads/packages/

Re: Egit showing all .class file in unstaged changes after building workspace [message #1852501 is a reply to message #1852436] Thu, 19 May 2022 06:03 Go to previous messageGo to next message
hyejin kim is currently offline hyejin kimFriend
Messages: 3
Registered: May 2022
Junior Member
Hi.
Thanks for your reply.

Unfortunately, the .gitignore file has already been implemented in our repository.
You can see the detail as below.

ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
### STS ###
.apr_generated
.classpath
.factorypath
*.log
.project
.settings
.springBeans
.sts4-cache
.externalToolBuilders

### InteliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### VS Code ###
.vscode/
/bin/

### PowerShell ##
pre-commit.ps1
pre-commit2.ps1
/repo-classes

ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

Also, It's hard for us to upgrade that version due to company regulations.

Is there any other idea you can think of?
We are still in the same trouble, We really need your support..TㅅT..

I will be waiting to hear from you.

Thanks,
HyeJin

[Updated on: Thu, 19 May 2022 06:22]

Report message to a moderator

Re: Egit showing all .class file in unstaged changes after building workspace [message #1852505 is a reply to message #1852501] Thu, 19 May 2022 10:07 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 576
Registered: August 2016
Senior Member
I'm surprised that EGit 2.3.1 would even work on Eclipse 2019-06. We cannot give any official support (we're all volunteers); and we won't spend any time on thinking about problems with such an ancient EGit version.

Update at least to EGit 5.13 (the latest EGit version that runs with Java 8). The update site is https://download.eclipse.org/egit/updates-5.13/ .
Re: Egit showing all .class file in unstaged changes after building workspace [message #1852520 is a reply to message #1852505] Fri, 20 May 2022 00:59 Go to previous message
hyejin kim is currently offline hyejin kimFriend
Messages: 3
Registered: May 2022
Junior Member
Hi.

I'm so sorry that i has provided wrong information. Egit version is 5.4.0.201906121030-r. ^^;
I'm sorry if that confuses you.

Okay.. If you have any idea, plz let me know.
I'll be check this page again.

Thank you for your opinion n Have a good day!

Thanks,
HyeJin
Previous Topic:Search all versions of a file with jgit log takes long
Next Topic:Remote hung up unexpectedly on clone repository
Goto Forum:
  


Current Time: Wed Oct 09 20:22:41 GMT 2024

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

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

Back to the top