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.
Found in NB4.1 build 200505031930 1. start nb 2. choose new project > Enterprise node -> EJB Module with existing sources 3. set location folder => other fields update 4. now reset location folder => after the changing location folder the other fields (Project Name, Project Folder) don't refresh. It's bad if user for first choose bad project location and then he resets the project location to right value. The finish button will be enabled but Project Name and Project Fodler will not be refreshed.
Needs to be fixed in the web project as well.
TM 5.0 -> TBD
Location field is to specify folder with project sources not project folder itself. It seems a bit strange that project folder location is derived from source folder location (both might be different), but OK. Project Name should be offered the same way as for regular project and it should not change if user selects different source folder location. I suggest that after user selects source folder location it will be used to create project folder location by removing last folder in the path (.../prj/EJBPrj1/src as source folder location would become .../prj/EJBPrj1 as project folder location). Project name wouldn't change by changing source folder location. The similar way is used in Web prj with ex. src with some difference: project folder location is changed with each change of the source folder only if it wasn't changed by user, which is logical. The project folder location is the same as source folder location which is not good though. Jano, please comment. Thanks.
The Location field specifies the parent folder containing all source and library folders in case of Web and EJB projects. Thus we expect the user to select ".../prj/EJBPrj1" in the Location field, which updates the project name to "EJBPrj1" and project folder to ".../prj/EJBPrj1". If the user changes the location field, it should update the project name and folder fields but only if those fields were not manually modified by the user yet.
OK, the semantics is a bit different from J2SE Project, though.
Done. It complies with UI suggestions from jrojcek in issue #61204. Checking in ImportLocationVisual.java; /cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/wizards/ImportLocationVisual.java,v <-- ImportLocationVisual.java new revision: 1.25.36.6.2.11; previous revision: 1.25.36.6.2.10 done Diff: http://www.netbeans.org/source/browse/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/wizards/ImportLocationVisual.java?r1=1.25.36.6.2.10&r2=1.25.36.6.2.11
Verified