| Summary: | Eclipse modifies and deletes .svn folders on projects managed with SubVersion | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | I.E. <inibehe> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | eclipse, remy.suen |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
I.E.
Thanks for the considerable work you've put into tracking this down and describing it. However, I believe this is working as designed. Firstly, your output folder should not be version controlled. It's an OUTPUT folder. If you need to have checked-in binaries, put them into a source folder, and let Eclipse copy them into the output folder. If your checked-in binaries have to live in "bin", then make your output folder be named something different. You may be able to get it mostly working (see the next point below) but it is not likely to work seamlessly - Eclipse is just not very happy mixing input and output into the same folder. And frankly, while this is just one developer's opinion, I agree with it: I think it's bad practice to combine version-controlled files with non-version controlled files in the same directory. Makes it too easy to accidentally forget to check something in. Secondly, if you have "special" files or folders in your source folders, that you don't want copied over to the output, you need to tell Eclipse that. How else should it know? Certainly Eclipse should NOT do anything special about ".svn", nor about the hundreds or thousands of other files/folders with names that mean something special to some third-party tool or other, unless it is told to. And since any name or pattern can be special to something, it doesn't make sense to have individual options for every single possibility. If you were using Subclipse, a special rule for ".svn" would be added automatically, just as it is for CVS (support for which just happens to be included in the Eclipse distribution you're using). Since you're not, you need to add it yourself, manually. So, two recommendations for you: first, separate out your version-controlled files from your output folder; second, install Subclipse, even if you don't intend to do your version control actions within Eclipse, or at least manually add exclusions for ".svn" and any other similar names that have special meaning to Subversion. Thanks for your prompt reply and suggestions. I will probably start using Subclipse. |