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.
Summary: | Filesystem order is not preserved | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Milan Kubec <mkubec> |
Component: | Tomcat | Assignee: | Damian Frach <dfrach> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jglick, jtulach, mmirilovic |
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
filesystems before restart
filesystems after restart dump to console with org.netbeans.core.AutomountSupport=-1 |
Description
Milan Kubec
2002-06-12 15:34:00 UTC
automount again? -> dstrupl I have tried on JDK1.4.0 FCS and it works as expected. Milan: JDK? Anything you had done before it started to occur (old userdir)? Any steps to reproduce? This has happened to me as well with 3.4b1. Normally the order is preserved after a restart. But at least once, the filesystems I had mounted got rearranged. No idea how to reproduce. 1.4.0_01. I can easily reproduce it: 1) start IDE with clean userdir 2) mount number of folders (alphabeticaly unsorted) 3) restart IDE 4) filesystems are sorted I will attach scrshots. I'm running dev-200206130100, JDK 1.4.0_01, RH 7.2. Created attachment 6242 [details]
filesystems before restart
Created attachment 6243 [details]
filesystems after restart
Created attachment 6246 [details]
dump to console with org.netbeans.core.AutomountSupport=-1
I am unable to reproduce with my own build. However it does occur when I use the official build. Very strange. Status update: now I know the difference between my build and the official build. I was not building tomcatint module correctly. They have a provision in the build script allowing to finish the build even if you don't have all extra binaries available. So I was effectively building without tomcat40. When I build with tomcat40 the issue is 100% reproducible. The problematic code is called from this module installed method. Without this module the problem does not occur. Damian, could you please remove all adding and removing of the temporary filesystems to/from the repository. I have succeeded in getteing rid of the problem by commenting all rep.addFileSystem and rep.removeFileSystem in file org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation. It should be also faster if you don't play with repository in module.installed(). If you would have any problems please contact me. Thanks. Reason for adding and removing temp FSs to repository is gone. So, it was removed. *** Issue 24660 has been marked as a duplicate of this issue. *** This issue is pointed as Q-build stopper (20020612) -> please commit the fix to QBE branch. Commited to the Q-build branch. Verified. |