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.
Project type WizardPanel that contains sources chooser must take into account known location of existing sources. There is following utility method Templates.getExitingSourcesFolder(wizardDescriptor) that returns convenient chooser starting point or null. For example: CVS Checkout allows user to immediately create project from checked out sources. User expects that relevant new project wizard choosers (source folders, existing ant script, test folder, ...) start at checkout working directory.
Fixed, but in a different way than in the J2SE project with existing sources. The EJB project's wizard has a Location text field which specifies the location of the sources. The directory obtained from Templates.getExistingSourcesFolder() is used as the current directory of the file chooser used to browse the Location text field's contents. Checking in src/org/netbeans/modules/j2ee/ejbjarproject/ui/wizards/ImportLocationVisual.java; /cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/wizards/ImportLocationVisual.java,v <-- ImportLocationVisual.java new revision: 1.27; previous revision: 1.26 done