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 119877 - [MacOS] Change default installation directory to /Developer
Summary: [MacOS] Change default installation directory to /Developer
Status: RESOLVED WONTFIX
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 6.x
Hardware: Macintosh (x86) Mac OS X
: P3 blocker (vote)
Assignee: issues@installer
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2007-10-24 10:19 UTC by janlolling
Modified: 2008-07-23 10:51 UTC (History)
3 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 janlolling 2007-10-24 10:19:09 UTC
The default install directory for any development tools in Mac OS X is /Developer and not /Application. It would be very
helpful to set /Developer as install root directory, because it is not easy to move NetBeans because a lot of path has
to be modified.
Comment 1 dlipin 2007-10-24 10:20:25 UTC
not a defect but the RFE.
Comment 2 Ivan Sidorkin 2007-10-26 09:39:13 UTC
according to this document: http://wiki.netbeans.org/wiki/view/NB6MacInstallers
/Applications/NetBeans is the right place
Comment 3 janlolling 2007-10-26 18:06:47 UTC
Yes, the documentation says /Application is the place tom install, but it doesn't fit to the typical behaviour in Mac OS X ! In Apple Computers the place to 
install those kind of tools is /Developer not /Application. Unfortunatly the NetBeans configuration preferrs absolut paths instead of relative path and it is a 
little bit tricky to change all configuration files to update a new place for NetBeans. 
Mac OS X differs from Windows and Linux in this case.
Comment 4 _ tboudreau 2008-03-13 20:32:07 UTC
/Developer/Applications would be the location if it were to be used;  but there is no guarantee that a user will have Apple's development tools installed, so 
that location may not exist on all systems (and the installer would need permissions to create it - do we have them?).

We should also find out from Apple if they think NetBeans should install into /Applications or /Developer/Applications - they may consider /Developer/* 
reserved for only their own development tools.

Other IDEs install into Applications, and I think that's where users will expect it to be.  If we do choose to install into /Developer/Applications, probably the 
resulting NetBeans.app should be symlinked in /Applications, since that is where users are most likely to look for it.

Personally I would just be happy enough if we installed into /Applications without putting NetBeans.app into a subdirectory of /Applications/NetBeans, as 
creating a directory in /Applications which the user must drill through to get to the actual application is un-mac-like behavior.
Comment 5 _ tboudreau 2008-03-13 20:38:07 UTC
FYI, I posted to the Apple java-dev mailing list about this issue to try to get some input either from folks at Apple or at least other Mac Java developers about 
what their expectations would be.
Comment 6 _ tboudreau 2008-03-13 22:01:07 UTC
One worthwhile point from discussion on the Apple Java Dev list:  The Migration Assistant will not migrate anything under /Developer.  

The Migration Assistant is what moves your installed applications and such from an old computer to a new one.  This makes the case to me that /Applications 
should be the destination (but we should get rid of the extra directory).


Comment 7 teodori 2008-03-14 01:52:52 UTC
I don't agree at all, the /Developer folder is historically just for everything that gets installed by the Apple Developer Tools, and it should be my choice to 
decide if I want to put another developer application of my choice in /Developer/Applications. Most of all I could decide not to install the Apple Developer 
Tools and not having any /Developer folder on my mac.

I don't know if there is any issue for this, but I think that the installation should return to be just a DMG with the NetBeans.app folder I can move anywhere I 
want without any administrator password request.
Comment 8 _ tboudreau 2008-03-14 04:55:12 UTC
Okay, here's the official word from an Apple engineer:
--
/Developer is only for Xcode and the related native Mac OS X graphical developer tools. Since Xcode is now relocatable as of Leopard, you cannot assume 
the existence of /Developer, even if you can assume developer tools are installed.

/Applications is the standard location, but as always, you app should be able to be drag-and-drop installed into any directory.

If your application requires additional resources to live outside of your application's double clickable bundle, it should place them in /Library/Application 
Support/<your app name>.

Cheers,
Mike Swingler
Java Frameworks Engineer
Apple Inc.
--

Based on that, probably this issue should be closed as WONTFIX (but I agree the application should be relocatable, and we can do better than we have in 
the past with the way the userdir and installation structure is handled)
Comment 9 dlipin 2008-07-23 10:51:02 UTC
Closing as WONTFIX per Tim`s evaluation.