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.
Test setup: 1. start ide with new user dir (in default location) 2. register SJS AS 8.1u1 in IDE Test case 1: - go to new Enterprise application wizard, leave there default values and finish the wizard Test case 2: - go to new Enterprise application wizard, change the location of project (to eg. c:, d: or whatever else) and finish the wizard Tear down: - exit from IDE - delete userdir Test results: X || beta | 200503301800 --------------------------- | 1 || 6-7 | 8 | | 2 || 2 | 42-43 | --------------------------- | 3 || 11 | 54 | --------------------------- * all times are in seconds ** I used stopwatches, so the real results are a little bit different - the difference should be max. 2 seconds 1 - time needed to close new enterprise application wizard after pressing "Finish" button 2 - time needed to close Select project location dialog after pressing its "Open" button 3 - total time needed to go through the new enterprise application wizard with changing project location
Marku, can you please look at this one? Thanks.
The problem is caused by a wrong file format generation in wizard. Then code inside following method org.netbeans.modules.j2ee.common.ui.wizards.PanelProjectLocationVisual.valid() tries to call File.isValid() on files like \\nbproject, \\nbproject\build.xml etc. several times. Since the format of the filename comprises a network path the one method call File.isValid() on such a file takes more than 5 seconds. The isValid() on such a files is called more times in the wizard so the agregate time can be 20 seconds and more :-(. I will fix it.
fixed Checking in PanelProjectLocationVisual.java; /cvs/j2ee/utilities/src/org/netbeans/modules/j2ee/common/ui/wizards/PanelProjectLocationVisual.java,v <-- PanelProjectLocationVisual.java new revision: 1.9; previous revision: 1.8 done
v. 200504031800