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 77438 - SVN - "Open Project" dialog differs from original one.
Summary: SVN - "Open Project" dialog differs from original one.
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks: 89590
  Show dependency tree
 
Reported: 2006-06-06 13:17 UTC by Peter Pis
Modified: 2007-01-02 10:17 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2006-06-06 13:17:11 UTC
Product Version         = NetBeans 5.5 Dev (Build 200606050200)
Operating System        = Windows XP version 5.1 running on x86
Java; VM; Vendor; Home  = 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-b03; Sun
Microsystems Inc.; d:\Java\jdk1.5.0_07

Steps:
1. Invoke "Checkout" wizard.
2. Setup valid "Repository URL".
3. Check out 2 or more projects.

Dialog shows up - but user can't open project with "required projects" ("Open
Required Projects" option is missing.)
Comment 1 Tomas Stupka 2006-08-17 19:35:46 UTC
WAD.
use the 'open required projects' option from the context menu in the project
explorer.

btw - the same as in CVS
Comment 2 Peter Pis 2006-08-17 19:54:25 UTC
ENHANCEMENT for javacvs exists too. #64965. Reopen and changing to ENHANCEMENT.
Comment 3 Tomas Stupka 2006-10-30 15:04:58 UTC
Subversion is calling
org.netbeans.spi.project.ui.support.ProjectChooser.projectChooser() which
doesn't seem to return the same FileChooser as used for the open projects action.

please evaluate.

Comment 4 Jesse Glick 2006-10-30 15:41:55 UTC
projectChooser() creates a generic project chooser which just lets you select a
project. The Open Project dialog is a specialized project chooser with added
widgets useful when opening projects, so it is correct that this is not included
in projectChooser(). Probably the subversion module should be invoking the Open
Project action with some preselected default directory - not sure offhand how
but I think there is some friend API, check ide/welcome.
Comment 5 Tomas Stupka 2006-10-30 16:56:43 UTC
> Project action with some preselected default directory - not sure offhand how
> but I think there is some friend API, check ide/welcome.

do you mean something like this? 

src/org/netbeans/modules/welcome/ui/Samples.java:     
Action a =
Utils.findAction("Actions/Project/org-netbeans-modules-project-ui-NewProject.instance"
); 
Comment 6 Jesse Glick 2006-10-30 17:54:27 UTC
Something like that, I guess. Someone else may know more...?
Comment 7 Tomas Stupka 2006-10-31 09:27:41 UTC
fixed

Checking in CheckoutCompleted.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/ui/checkout/CheckoutCompleted.java,v
 <--  CheckoutCompleted.java
new revision: 1.9; previous revision: 1.8
done