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.

Bug 162716 - cannot create project in My Documents folder
Summary: cannot create project in My Documents folder
Status: CLOSED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: rmichalsky
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2009-04-15 13:39 UTC by matusdekanek
Modified: 2011-06-09 09:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (221.11 KB, image/png)
2009-04-15 13:39 UTC, matusdekanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matusdekanek 2009-04-15 13:39:10 UTC
Product Version: NetBeans IDE Dev (Build 200904150201)
Java: 1.6.0_14-ea; Java HotSpot(TM) Client VM 14.0-b12
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

Try to create project in My Documents folder (winxp) - for some reason, new project dialog does not allow it, showing 
message 'location exists, but is not writeable' or 'project folder cannot be created', although there should be no 
problem like this (user has sufficient rights to do that).
Comment 1 matusdekanek 2009-04-15 13:39:40 UTC
Created attachment 80150 [details]
screenshot
Comment 2 Milos Kleint 2009-04-15 13:44:14 UTC
apisupport
Comment 3 rmichalsky 2009-04-15 15:25:00 UTC
Problem in JDK, File.canWrite() reports false on Windows system folders. An ugly workaround would be to actually try to
create and delete dummy file in specified location, but File.canWrite() is scattered through all types of projects. 

Will try to reopen JDK bug, if I ever get Bugster account...
Comment 4 Jesse Glick 2009-04-15 18:39:05 UTC
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4939819

claims this is only fixed in JDK 7.
Comment 5 rmichalsky 2009-04-16 08:52:16 UTC
I see, I didn't understand cryptic '7(b30)' tag, thanks.
Comment 6 Marian Mirilovic 2011-06-09 09:57:14 UTC
v/c