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 - Integrate Checkout wizard with projects
Summary: Integrate Checkout wizard with projects
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on: 58489 58981 58982 58983 58984 58985 58986 58987
Blocks: 57776
  Show dependency tree
 
Reported: 2005-05-02 14:32 UTC by _ pkuzel
Modified: 2007-01-04 17:14 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
J2SE example (1.99 KB, patch)
2005-05-02 14:34 UTC, _ pkuzel
Details | Diff

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