This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Miscellaneous problems occur if project refers to symbolic-links | ||
---|---|---|---|
Product: | platform | Reporter: | _ gtzabari <gtzabari> |
Component: | Filesystems | Assignee: | Jiri Skrivanek <jskrivanek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | anebuzelsky, tzezula |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 142629 | ||
Bug Blocks: | 134554, 134771 |
Description
_ gtzabari
2008-05-21 20:06:23 UTC
BTW: Part of the problem with NTFS junctions and Vista symbolic-links is that they are read-only. If you try manipulating "c:\documents and settings" instead of "c:\users" you will get an access error, which is probably responsible for the SVN error I mentioned below. An initial response from Sun states that they plan on fixing this in Java7 with http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4313887 That's quite a while away. Please consider adding a workaround into Netbeans in the meantime. It's official, this issue won't be fixed until JSR-203/NIO2. The project system is just a client (among others svn, java,...) of the netbeans file system API. If there should be some "workaround" of this problem it should be generic in this module, not done in each module separately. I added a workaround to FileUtil. "C:\Documents and Settings" is mapped to "C:\Users" under Windows Vista. It should solve all symptoms of this issue. http://hg.netbeans.org/core-main/rev/f10f8bd64dfa Integrated into 'main-golden', available in build *200808021401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/f10f8bd64dfa User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #135547 - Mapping "C:\Documents and Settings" to "C:\Users" under Windows Vista. It is because it is only link to C:\Users but java.io canoot detect it. It should be fixed in JDK1.7. Sorry, any chance you can add all the Vista junction points mentioned here? http://www.svrops.com/svrops/articles/jpoints.htm At the very least you should probably map "My Documents" to "Documents" and other common directories users might use. OK, I also added "My Documents", "My Pictures", and "My Music" to be translated. I don't think users might use other files than ones under "\Documents and Settings\<user>\My Documents" in their NetBeans projects. http://hg.netbeans.org/core-main/rev/cfeab83e2ae8 Integrated into 'main-golden', available in build *200808051401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/cfeab83e2ae8 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #135547 - Also translate "My Documents", "My Pictures" and "My Music" under Windows Vista. Was this fix make it into the beta branch? Also someone needs to verify the fix. |