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.
As with #209222 but in a platform based application, the configured default cachedir (netbeans_default_cachedir or default_cachedir) in etc/_APPLICATION_.conf is not used. My config was: default_userdir="${HOME}/_COMPANY_/_APPLICATION_" netbeans_default_cachedir="${HOME}/_COMPANY_/_APPLICATION_/Cache" (also tried default_cachedir) -> user dir is "${HOME}/_COMPANY_/_APPLICATION_" -> correct -> cache dir is "." (C:/Program Files (x86)/_COMPANY_/_APPLICATION_) -> bad, and causes application to exit without warning I'm using NetBeans IDE 7.2 Beta (Build 201205031832)
Confirmed in latest development build. As a workaround you can specify cachedir in etc/_APPLICATION_.conf in default_options="--cachedir C:\Users\Foo\Corp\Cache .... rest of options" Thanks for your report.
Thanks, I'm using --cachedir as a workaround, although I have not been able to make variable substitution work (either with $HOME or Windows environment variables) in this so it does need to be set for each machine.
This should be fixed in 7.2.
fixed in core-main/rev/606e949272b8
verified in trunk; cachedir is now created correctly Product Version: myAppDevNew 20120627-991f4acf50cc Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17 System: Windows Vista version 6.0 running on amd64; Cp1252; en_US (myappdevnew) User directory: C:\Users\hudson\AppData\Roaming\.myappdevnew\dev Cache directory: C:\Users\hudson\AppData\Roaming\.myappdevnew\dev\var\cache
http://hg.netbeans.org/releases/rev/36f7353a44b3
Integrated into 'main-golden', will be available in build *201206280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/606e949272b8 User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #214845: Configured default cachedir in Platform app not used
Integrated into 'releases', will be available in build *201206272359* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/36f7353a44b3 User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #214845: Configured default cachedir in Platform app not used (transplanted from 606e949272b8c6fa182f7ae73a7f59ccd7716d8e)
v. in 7.2 rc1 Product Version: NetBeans IDE 7.2 RC1 (Build 201206272359) Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17 System: Windows Vista version 6.0 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\hudson\AppData\Roaming\NetBeans\7.2rc1 Cache directory: C:\Users\hudson\AppData\Local\NetBeans\Cache\7.2rc1
Verified with our application using Build 201206280002, Java 1.6.0_33 on Windows 7 x64 and Windows XP Thanks!