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 209222 - Configured default cachedir not used.
Summary: Configured default cachedir not used.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: NETFIX
Depends on:
Blocks:
 
Reported: 2012-03-06 10:44 UTC by fvogler
Modified: 2012-06-26 15:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Fix (519 bytes, application/octet-stream)
2012-03-06 10:44 UTC, fvogler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fvogler 2012-03-06 10:44:53 UTC
Created attachment 116381 [details]
Fix

The configured default cachedir (netbeans_default_cachedir) in etc/netbeans.conf is not used in all cases.

My config was:
netbeans_default_userdir="../../dev"
netbeans_default_cachedir="../../dev/cache"

-> user dir is  "../../dev"        -> correct
-> cache dir is "." (netbeans/bin) -> bad
Comment 1 Jiri Rechtacek 2012-03-06 21:08:15 UTC
Thanks for your patch, was applied in core-main/rev/c2a822c18e15
Comment 2 Quality Engineering 2012-03-08 11:03:46 UTC
Integrated into 'main-golden', will be available in build *201203080400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c2a822c18e15
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #209222: Configured default cachedir not used; applied fvogler's patch
Comment 3 harmanpa 2012-06-26 14:16:04 UTC
This is still an issue with a Platform app built on NetBeans IDE 7.2 Beta (Build 201205031832), "netbeans_default_cachedir" (and "default_cachedir" which I've also tried) doesn't set the cache directory, so when installed on a Windows machine it exits (because the cache is "." and is read-only).
Comment 4 Jiri Rechtacek 2012-06-26 15:39:02 UTC
(In reply to comment #3)
> This is still an issue with a Platform app built on NetBeans IDE 7.2 Beta
> (Build 201205031832), "netbeans_default_cachedir" (and "default_cachedir" which
> I've also tried) doesn't set the cache directory, so when installed on a
> Windows machine it exits (because the cache is "." and is read-only).

It's a different issue than the reported one (was about NetBeans IDE, your problem is about Platform Application). File as a new issue with all details about the problem. Thanks