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.
My test for filesystems are testing persistence of repository too. For such test I need to make second start of the ide. It works fine till I try check order of mounted filesystems in the second ide start. There aren't any from filesystems mounted during the first run. Is it possible to disable the unmounting feature of xtest ide execution while starting ide second time. It can be done using following method: private static boolean isFirstStart(){ String s = System.getProperty("netbeans.user")+File.separator+"system"+File.separator+"Projects"+File.separator+"Default"+File.separator+"system"+File.separator+"Windows"; java.io.File f = new java.io.File(s); if (f.exists()) return false; return true; } Or moreover why are filesystems unmounted after the firstart too. I propose to disable this historical behaviour: Do not unmount any filesystem after start of ide (first or second ...). We should test builds how they are produced not "prepare" ide for testing.
I agree with Honza Z. why we unmount these filesystems ? We don't test ide as it appears to normal user (sampledir is gone) after first start. I'd be nice if this behaviour could be changed without impact on old working tests.
Since the issue is rather enhancement than defect, changing issue type.
New property xtest.reuse.ide was added. Set this property to true in your executor, then old userdir from previous run will be used and filesystems will not be unmounted. To define order of testbags priority was added (attribute "prio" of testbag element).
verified
Resolved for 3.3.x or earlier, no new info since then -> closing.