| Summary: | output-folder not built | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | kurt <kurt2002> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | Jay Arthanareeswaran <jarthana> |
| Severity: | normal | ||
| Priority: | P3 | CC: | kurt2002, shankhba |
| Version: | 4.4.1 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | stalebug | ||
Looks like this (empty left bin-folder) also happens, when you update a project from CVS, when there is no change in a java-file. For example: the project in workspaces was checked out from HEAD, later you replace the project with a tagged-version which is identical to the HEAD (same revisions). But this way it is seldom reproduceable. Maybe some "super-optimisations" in "when to rebuild a project logic" ? (no sources changed - so no rebuild) Anyone taking care of this bug ? Hi Kurt, This is what I did. 1) Created a HelloWorld Project in Eclipse. My workspace is the HelloWorld directory and I created a project hello inside the workspace. Workspace: HelloWorld Project : Hello 2) Added the HelloWorld workspace to the CVS repository through command line: cvs import -m "HelloWorld" HelloWorld shankha start 3) Opened a new eclipse instance and imported the Hello project. General->ExistingProjectsIntoWorkspace->SelectRootDirectory Pointed it to the HelloWorld directory. I did not see any markers which on the LHS UI panel which says the second workspace needs to be rebuild. 1) Could you please let me know if the above steps are correct. 2) Can you if possible zip and attach the CVS repository and the workspaces. 3) Would it be possible for you to check if you see similar behavior with a git repository. That would help as I am not familiar with CVS commands. === Is there a way you can configure CVS only to add .java files and not any other files. Is it possible and does that help? Thanks Sorry for the delay. I'm a little busy. The problem is reproduceable when you follow the steps I described for the "setup". It is essential, that you don't do anything outside eclipse, like cvs-commandline and that the projects are "connected" to a "eclipse-cvs" (else they also would not show any change-markers). Doing things outside eclipse, would/will bypass any "eclipse-logic" which in turn makes the testcases useless. First you have to setup a repository in the "CVS-Repositories"-view (in "CVS Repository Exploring"-perspective). Right-click on empty-space there and select "New -> Repository location". Example for input: Host: "cvs-host-name-or-ip" Repository-path: "/repository-name" User: ... Password: ... Connection type: "pserver" Then press "Finish". Swicht back to java-perspective. To connect a newly created project, right-click on the project, select "Team / Share ..." - just follow the dialogs. Most of it is just to confirm. Hope that helped. Any updates to this ? We are hitting the problem pretty often. Soon I'll be able to test with Eclipse 4.5 - maybe the problem is gone ... ;-) Hello Kurt, Shankha, the original assignee of the bug is no longer contributing to Eclipse. I will see what I can do for 4.6. No promise though. Meanwhile, any help you can offer in terms of fixing this or trouble-shooting is welcome. Hello, just to let you now - the problem is still relevant. Eclipse Java EE IDE for Web Developers. Version: Mars Release (4.5.0) Build id: 20150621-1200 Hope you find time to look at it, because here we have troubles with that again and again. And it's really odd to to get rid of that status as there is no way to make sure Eclipse will rebuild the problematic projects (selecting the projects and cleaning them helps most of the time, after doing that several times). Greetings Kurt Looking forward to 4.6 ;-) This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Version: Luna SR1 (4.4.1) Build id: M20140925-0400 Setup: 1) You will need a CVS and two workspaces, both set to auto-build and configured to use that CVS. 2) In workspace 1 create a java-project with any class and commit the project. 3) In workspace 2 import (copy!) that java-project from workspace 1. 4) Problem 1: Although there is no change in the project, the CVS-decorator for the project in workspace 2 says it is changed. (That triggered me to do the next step) 5) Replace that project (in workspace 2) with "latest from head". 6) Problem 2: The output-folder is empty and stays empty - also after restarting eclipse. Only an explicit clean creates the class-file(s) again. Also the project does not show any errors, but dependent projects do - because of the missing class-file(s). As the problem perists a restart of eclipse I consider that more a problem of JDT than CVS. (Maybe connected to bug 424222 ?) It's a little annoying being forced to clean the projects (150+) again and again, and checking the output-folder if everthing worked like expected (see also above mentioned bug). So I hope that you will give that a little boost now ;-)