Community
Participate
Working Groups
I am running Eclipse Build id: I20050617-1618. When I am downloading files from the cvs server eclipse is not writing any of them in any case to the file system. Yesterday it was working but not today after I used sync with repository and after I updated.
I just found where the fault lies: Eclipse creates a second folder containing the whole sources under its project folder instead of linking to the folder outside of the project folder. This could be a problem of creating the project from the existing ant file, which writes into .project: <link> <name>ch</name> <type>2</type> <location>C:/source/ch</location> </link> a similar problem happens with the used ant file, which is copied instead of linked from its original source (where it belongs to) thanks for the help!
The misbehaving happens when I first create a project from an existing ant file, which creates the correct sym-links. But when I later check out sources from the cvs into those folders it deletes the sym-folders and creates real ones. Is this a bug or a feature? And if the latter, how do I check out sources into an ant created project?
Are you talking about OS level symlinks or Eclipse level symlinks?
eclipse level simlinks. this morning I tried to check a folder of the cvs out into a subfolder of a symbolically linked folder. this crashed in the cvs process (deleting worked fine, but re-creation does not) and the folder is now not accessible anymore from the os or anywhere else.
I think comment 4 is similar to the problem outlined in bug 35011. The rest of the behavior you describe is what I would expect (i.e. working as designed). The CVS plugin scrubs a project before checking out contents into it. The expectation is that a project checked out from a repository would be continuous (i.e. no links) in the local sandbox. What linking allows you to do is checkout separate projects and then link them together as needed. There are some limitations as described in bug 41929. What I don't understand is why you are checking out into an ant created project. If you are using ant, why not just use ant to check out the contents from CVS as well?
the two mentioned bugs have the same problems as this bug. I don't wnat to chekc out the sources through cvs, as they should not be checked out durgin build, as a build is not always checked into the cvs because it has to build without faults before it can be checked in. but i can find a workaround. It would just be nice if eclipse would be handling folder files and symlinks a bit better or at least as good as the underlying filesystem. but it already improved a lot compared to earlier versions.
OK, I'm going to close this bug. If you have any indsights into how we could improve, please add them to bug 41929. *** This bug has been marked as a duplicate of 41929 ***