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 58486

Summary: Integrate Checkout wizard with projects
Product: versioncontrol Reporter: _ pkuzel <pkuzel>
Component: CVSAssignee: issues@versioncontrol <issues>
Status: NEW ---    
Severity: blocker CC: jrojcek
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 58489, 58981, 58982, 58983, 58984, 58985, 58986, 58987    
Bug Blocks: 57776    
Attachments: J2SE example

Description _ pkuzel 2005-05-02 14:32:34 UTC
[It's not possible to work in NB IDE without having project.]

Let checkout wizard looks for content of checked out dir and seeks for projects
there. If project found if offers to open them using standard open project
dialog. If no project is detected it offers standard New project wizard. The
wizard however uses "tuned" initial values for source choosers.

'Import' project types:

  J2SE project from existing sources
  Web application with exiting sources
  Enterprise application with exiting sources
  EJB module with existing sources
  J2ME with Existing sources
  Import Wireless toolkit project
  
should customize default folder for source choosers. 

All from existing build stript project types:

  J2SE with existing Ant script
  Web appl with exiting Ant script
  EJB module with existing Ant script

should should customize default folder for Ant script chooser.
Comment 1 _ pkuzel 2005-05-02 14:34:43 UTC
Created attachment 21932 [details]
J2SE example
Comment 2 _ pkuzel 2005-05-02 15:33:47 UTC
I was forced to rollback integration bridge and wait for issue #58489. The issue
define the right solution.
Comment 3 _ pkuzel 2005-05-05 13:26:32 UTC
Yet, anothet project type:

  Apisupport project (used by nbdevelopers)
Comment 4 _ pkuzel 2005-05-17 12:50:04 UTC
Contract definition (issue #58489) is in. Lets utilize it.

Example J2SE SourceFoldersPanel.java modificication:

        // #58489 honor existing source folder
        File currentDirectory = null;
        FileObject folder = Templates.getExitingSourcesFolder(wizardDescriptor);
        if (folder != null) {
            currentDirectory = FileUtil.toFile(folder);
        }        
        if (currentDirectory != null && currentDirectory.isDirectory()) {       
            ((FolderList)sourcePanel).setLastUsedDir(currentDirectory);
            ((FolderList)testsPanel).setLastUsedDir(currentDirectory);
        }

Filling bunch of blocking issuea for other project types....