Community
Participate
Working Groups
I try to pull new files from a GIT repository and it fails due to a checkout conflict. Then I want to "overwrite" the file and I get "Cannot open input element Reason: ....jar is not on the project's build path " 1) why is the build path relevant for an overwrite? 2) even after adding that jar to the build path, it still complains ?
Sorry, with this description there's nothing we could do. Please provide precise steps to reproduce. Also, which Eclipse version, which Eclipse package, which EGit version? Which Java version? Is there a public git repo containing the code with which to reproduce the problem? Any stack traces with error messages, maybe in the Eclipse log or in the Error View? Finally, why do you think that an error message talking about JARs was an EGit problem? That's highly unlikely. But if you can provide more information, we may be able to triage this to the correct component.
sorry - egit 5.7.0.202003110725 - eclipse Version: 2020-03 (4.15.0), Build id: 20200313-1211 - jdk1.8.0_261 on debian 10 > Is there a public git repo containing the code with which to reproduce the problem? Unfortunately not > Finally, why do you think that an error message talking about JARs was an EGit problem? That's highly unlikely. While it may be highly unlikely from the egit code perspective, it is definitively reproducible by clicking "overwrite" in the synchronization window. So it must be in the broader event sequence triggered by the "overwrite" of egit
Sorry, this still needs more input. * Which Eclipse package (Eclipse for Java Developers, Eclipse JEE, ...)? May be important since the issue may depend on what bundles are installed. * Would need a simple sample repo with which to reproduce. * Still would need precise steps. Is pull configured for merging or for rebasing? If there's a sample repo, which commit should be HEAD, and which commit should be merged into which or rebased onto which to reproduce? * Which synchronization window? A screenshot might help.