CacheDirectoryProvider is currently an SPI only. It would be nicer for clients to be able to call an API, which could
also provide a fallback value in case the project's lookup supplies no implementation. Compare the other get* methods in
Created attachment 84614 [details]
Created attachment 84615 [details]
Slightly revised patch
looks ok. Why change the default location for ant projects?
Calling your comment MK01, I decided to change the default location for Ant-based projects to something a bit simpler
(omit the /cache subdirectory) since the new API would anyway create a subdir for each interested module; the original
choice of dir name was intended to prevent clashes with private.properties or private.xml. No strong opinion about this
I should mention that issue #159642 is the reason for wanting to do this change now.
Integrated into 'main-golden', will be available in build *200907230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jesse Glick <email@example.com>
Log: Issue #168414: provide API complement to CacheDirectoryProvider with fallback impl.