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 25316 - Options to Specify Default Profiles for Multiple External Browsers
Summary: Options to Specify Default Profiles for Multiple External Browsers
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-02 08:13 UTC by Jesse Glick
Modified: 2004-11-29 15:51 UTC (History)
1 user (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 Jesse Glick 2002-07-02 08:13:36 UTC
[on behalf of DF_Hubbard@msn.com]

NetBeansIDE V3.3.2
PC: Running Windows 2000 Pro Service Pack 2

Separate default profiles may be specified in
Microsoft Windows for
multiple browsers (for example Mozilla 1.0,
Netscape 7.0PR1, and
Netscape 6.2.3) by creating these profiles using
the browser's Profile
Manager, then adding to the command string to
startup any of these
browsers an argument string: -P "default profile
name". This avoids a
Profile Manager's popup window asking what profile
to use, which
otherwise appears when a default profile is not
specified and multiple
profiles have been created.

The external browser options accessed via
"Tools/Options" in the
NetBeansIDE does not appear to accept an argument
string to specify a
default profile in a similar manner. This would
appear worthwhile to
have available to support multiple external
browsers most conveniently.

[jglick notes: why can't you just type -P
yourprofile in the "Arguments" section of the
"Browser Executable" property? At least it is
there on Linux, maybe the WinDoze version cannot
be configured?]
Comment 1 Jesse Glick 2002-07-02 15:34:40 UTC
[DF Hubbard continues:]

I do not ordinarily use Linux, so I can't comment about how the
NetBeansIDE runs there. Running in Windows 2000 Pro with Service Pack 2,
there are features accessed thru "Tools/Options" to specify the correct
external browser's executable name, path, and arguments. These features
appear to accept edited data, but discard this data without permanently
saving the editing changes. If you edit the data for one choice of the
external browser (Netscape 6.2.3, for example), then edit the data for
another browser (e.g. Mozilla 1.0), the changes made for the first
browser have been discarded and replaced by the initial data. Close
NetBeansIDE and restart it and the edited data for all external browsers
has reverted back to their initial configuration. The current build of
Sun ONE Studio 4 does the same thing as far as I have been able to
determine.
Comment 2 _ rkubacki 2002-07-16 14:04:03 UTC
The first part of this issue suggests to make it possible to pass name
of profile used for browser invocation as an argument when starting
NetBeans. I don't want to go this way because startup launcher should
be independent to modules like extbrowser so -P is not good solution.
Anything like -J-Dnetbeans.extbrowser.profile="your profile name"
introduces non-apparent behaviour (or at least undocumented). There is
no reasonable default value so we have to decide whether we will pass
it to command or not. Also we need a way how to present it to user.

Ad 2nd part: if the value is not persisted across the IDE session it
is a bug. It is 'as designed' that executable is changed when value of
DDE server is modified. Keeping history looks is an overhead here. We
will check this.
Comment 3 Marek Grummich 2002-07-22 09:51:50 UTC
Set target milestone to TBD
Comment 4 _ rkubacki 2003-11-28 16:08:45 UTC
Reassigning
Comment 5 Martin Grebac 2004-11-29 15:51:52 UTC
The values are editable and persist across ide sessions, so marking as
fixed.