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 127556 - Ridiculous default for Glassfish location
Summary: Ridiculous default for Glassfish location
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-16 19:41 UTC by _ tboudreau
Modified: 2008-03-06 23:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2008-02-16 19:41:56 UTC
Whenever I go to set up an instance of glassfish, the default is set to:
 /Users/tim/SUNWappserver

Aside from always being wrong, it just seems strange that if I'm setting up glassfish, then the place to look is someplace called SUNWappserver (I guess the 
SUNW is from the same geniuses that rewrote our From: addresses to be @Sun.COM for years so we could all go dot-com-the-enterprise?  I always use an 
obsolete stock ticker ID as part of the directory name for software I install...).

Anyway, there are some heuristics you could use that would be more likely to work - on a mac, anyway, scan for directories such as
~/glassfish*
/Applications/glassfish*
/Applications/NetBeans/*/glassfish*

At least it would have a higher probability of being right and be less goofy looking.
Comment 1 Vince Kraemer 2008-02-17 01:25:22 UTC
this is easy to change and impossible to fix... but I will give it a go for 6.1
Comment 2 Vince Kraemer 2008-03-06 23:16:35 UTC
Adding a directory scan is probably a bad idea...

I have changed the default in situations where the user is selecting sailfin and glassfish to be "better", though I do
not think they can be right, 100% of the time.

http://hg.netbeans.org/main/rev/a716932f6348