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 105403 - Adding API for showing Add Server dialog
Summary: Adding API for showing Add Server dialog
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-01 15:01 UTC by Petr Pisl
Modified: 2007-06-07 10:57 UTC (History)
0 users

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 Petr Pisl 2007-06-01 15:01:08 UTC
In the j2ee project wizards (web project, enterprise application, ejb module,
application client and package archive) user has to choose a target server.
These wizards have Manage... button for managing target servers. This button
opens the Servers dialog, where user can add, remove and change servers. 

In the project wizards user is concentrate on the creating project and she
doesn't need to manage servers. The action why user need to managed server here
is only adding a new server, which is not registered yet. But in the current
state user has to 
1) click on the Managed... button -> the Server dialog is opened.
2) click on the Add Server... button -> the Add Server dialog is opened. 
3) define the server -> the Add Server dialog is closed
4) close the Server dialog
5) select in the list box in the project wizard the added server

The right work flow in this case should contains only steps 2) and 3). Which
means that the project wizards will have Add Server... button and when a new
server is defined the added server is selected in the list box in the project
wizard automatically. 

For this we need an api in the j2eeserver for invoking add server dialog. The
api has to allow to obtain an id of the added server as well.
Comment 1 Sherold Dev 2007-06-07 10:57:03 UTC
F.

Checking in apichanges.xml;
/cvs/j2eeserver/apichanges.xml,v  <--  apichanges.xml
new revision: 1.30; previous revision: 1.29
done
Checking in nbproject/project.properties;
/cvs/j2eeserver/nbproject/project.properties,v  <--  project.properties
new revision: 1.21; previous revision: 1.20
done
Checking in
src/org/netbeans/modules/j2ee/deployment/devmodules/api/ServerManager.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/ServerManager.java,v
 <--  ServerManager.java
new revision: 1.4; previous revision: 1.3
done
Checking in src/org/netbeans/modules/j2ee/deployment/impl/ui/Bundle.properties;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.29; previous revision: 1.28
done
Checking in src/org/netbeans/modules/j2ee/deployment/impl/ui/ServersCustomizer.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/ServersCustomizer.java,v
 <--  ServersCustomizer.java
new revision: 1.14; previous revision: 1.13
done
Checking in
src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/AddServerInstanceAction.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/AddServerInstanceAction.java,v
 <--  AddServerInstanceAction.java
new revision: 1.8; previous revision: 1.7
done
Checking in
src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/Bundle.properties;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/actions/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.27; previous revision: 1.26
done
Checking in
src/org/netbeans/modules/j2ee/deployment/impl/ui/wizard/AddServerInstanceWizard.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/wizard/AddServerInstanceWizard.java,v
 <--  AddServerInstanceWizard.java
new revision: 1.6; previous revision: 1.5
done
Checking in
src/org/netbeans/modules/j2ee/deployment/impl/ui/wizard/Bundle.properties;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/wizard/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.6; previous revision: 1.5
done
RCS file:
/cvs/j2eeserver/test/unit/src/org/netbeans/modules/j2ee/deployment/devmodules/api/ServerManagerTest.java,v
done
Checking in
test/unit/src/org/netbeans/modules/j2ee/deployment/devmodules/api/ServerManagerTest.java;
/cvs/j2eeserver/test/unit/src/org/netbeans/modules/j2ee/deployment/devmodules/api/ServerManagerTest.java,v
 <--  ServerManagerTest.java
initial revision: 1.1
done