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 - Integrate new EBJ from existing sources with Checkout
Summary: Integrate new EBJ from existing sources with Checkout
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks: 58486
  Show dependency tree
 
Reported: 2005-05-17 13:12 UTC by _ pkuzel
Modified: 2005-11-02 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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