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.

Bug 58987

Summary: Integrate new EBJ from existing sources with Checkout
Product: javaee Reporter: _ pkuzel <pkuzel>
Component: EJB ProjectAssignee: Andrei Badea <abadea>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 58486    

Description _ pkuzel 2005-05-17 13:12:53 UTC
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.
Comment 1 Andrei Badea 2005-11-02 14:20:56 UTC
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