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 240870

Summary: code model repository is created in incorrect place
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: Maria Tishkova <mromashova>
Status: RESOLVED FIXED    
Severity: normal CC: exceptions_reporter
Priority: P2    
Version: 8.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2014-01-23 10:50:34 UTC
New folder is created on Windows XP system to keep code model cache
C:\Documents%20and%20Settings\developer\Local%20Settings\Application%20Data\NetBeans\Cache\dev\cnd\model

While text index is stored in different folder:
C:\Documents and Settings\developer\Local Settings\Application Data\NetBeans\Cache\dev
Comment 1 Maria Tishkova 2014-01-29 16:31:40 UTC
incorrect file creation, need to use Utilities.toFile(URI) instead of new File(uri.getRawPath()) 

fixed in http://hg.netbeans.org/cnd-main/rev/2ffa7a4fb08f
Comment 2 Quality Engineering 2014-01-31 02:40:21 UTC
Integrated into 'main-silver', will be available in build *201401310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2ffa7a4fb08f
User: Maria Dalmatova <mromashova@netbeans.org>
Log: fixed bz#240870 - code model repository is created in incorrect place
incorrect file creation, need to use Utilities.toFile(URI) instead of new File(uri.getRawPath())
Comment 3 Maria Tishkova 2014-02-10 11:49:13 UTC
*** Bug 240841 has been marked as a duplicate of this bug. ***