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.
I know this is again late but I have found out while migrating our contrib/zeroadmin that we are doing really ugly hacks to get to the writable part of the SFS. I would like to be able to plug in my own filesystem there instead of just the MemoryFileSystem. The patch is really simple and I will attach it now. The only additional thing I would do in the final patch is to update some API changes and the arch descriptoin (which one btw?). The patch would also allow me to plug in e.g. PreferencesFileSystem or something more exotic instead of the local (or memory) fs part of the SFS. Do you have any objections against this for 6.0? Should it go through API Review (fast)? I mean can it still go through it while after feature freeze?
Created attachment 45147 [details] proposed patch
Definitely would have to go through apireviews. I don't see a particular problem with it being merged after feature freeze, as it does not change anything visible to IDE users and looks quite safe.
Created attachment 45381 [details] new patch for review
Please review the patch. If there will be no objections I will apply the patch during the next week.
Y01 Write a test.
Created attachment 45505 [details] patch with test
Y01 should be addressed by the latest patch patch-3-109847.diff. Please review.
Checking in startup/src/org/netbeans/core/startup/layers/SystemFileSystem.java; /cvs/core/startup/src/org/netbeans/core/startup/layers/SystemFileSystem.java,v <-- SystemFileSystem.java new revision: 1.11; previous revision: 1.10 done RCS file: /cvs/core/startup/test/unit/src/org/netbeans/core/startup/layers/CustomWritableSystemFileSystemTest.java,v done Checking in startup/test/unit/src/org/netbeans/core/startup/layers/CustomWritableSystemFileSystemTest.java; /cvs/core/startup/test/unit/src/org/netbeans/core/startup/layers/CustomWritableSystemFileSystemTest.java,v <-- CustomWritableSystemFileSystemTest.java initial revision: 1.1 done Checking in arch/arch-core-launcher.xml; /cvs/core/arch/arch-core-launcher.xml,v <-- arch-core-launcher.xml new revision: 1.53; previous revision: 1.52 done