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.
Netbeans installs a bunch of exe files (windows only!) on Mac OS X. This makes the installed bundle MUCH larger than it needs to be, and there is really NO valid reason for including windows binaries in a Mac distro. [slmpk16-slab-dhcp-069-208:Resources/NetBeans/bin] davidgs% ls -l total 168 - -rw-r--r-- 1 davidgs staff 28672 Jan 25 2006 nb.exe - -rwxr-xr-x 1 davidgs staff 2972 Jan 25 2006 netbeans - -rw-r--r-- 1 davidgs staff 5338 Jan 25 2006 netbeans.cmd - -rw-r--r-- 1 davidgs staff 41472 Jan 25 2006 netbeans.exe As you can see, two Windows executables are installed on Mac OS X, and they are not small, either. Is there a goode reason for this? Or does the build process for Mac OS X just do a sloppy job of building the package? [slmpk16-slab-dhcp-069-208:Resources/NetBeans/bin] davidgs% file nb.exe nb.exe: MS Windows PE 32-bit Intel 80386 console executable not relocatable [slmpk16-slab-dhcp-069-208:Resources/NetBeans/bin] davidgs% file netbeans.exe netbeans.exe: MS Windows PE 32-bit Intel 80386 GUI executable not relocatable [slmpk16-slab-dhcp-069-208:Resources/NetBeans/bin] davidgs% file netbeans.cmd netbeans.cmd: ASCII C program text, with CRLF line terminators [slmpk16-slab-dhcp-069-208:Resources/NetBeans/bin] davidgs% And then again in ../platform6/lib: [slmpk16-slab-dhcp-069-208:NetBeans/platform6/lib] davidgs% ls -l total 1464 - -rw-r--r-- 1 davidgs staff 194680 Jan 25 2006 boot.jar - -rwxr-xr-x 1 davidgs staff 10916 Jan 25 2006 nbexec - -rw-r--r-- 1 davidgs staff 6792 Jan 25 2006 nbexec.cmd - -rw-r--r-- 1 davidgs staff 15360 Jan 25 2006 nbexec.exe - -rw-r--r-- 1 davidgs staff 21223 Jan 25 2006 org-openide-modules.jar - -rw-r--r-- 1 davidgs staff 487480 Jan 25 2006 org-openide-util.jar
Fixed in main trunk for tar.gz generated for Mac OS. It is not fixed in asbundle installer as I expect it will be replaced by new installer for NB 6.0. 'netbeans' and 'nbexec' shell script are left. Remaining launchers are deleted. /cvs/installer/mac/build.xml new revision: 1.19; previous revision: 1.18
I reopen and reassign to asbundle installer. It will be closed as asbundle installer will be replaced.
Delete only IDE launchers NOT platform launchers (as platform launchers are used by apisupport): /cvs/installer/mac/build.xml new revision: 1.20; previous revision: 1.19 /cvs/installer/asbundle/build.xml new revision: 1.37; previous revision: 1.36
jbossbundle: /cvs/installer/jbossbundle/build.xml new revision: 1.3; previous revision: 1.2
Verified
Seems this is back in 6.0 ... [DavidsMacBookPro:NetBeans/NetBeans 6.0 Beta 1.app/Contents] davidgs% find . | grep .exe ./Resources/NetBeans/harness/launchers/app_w.exe ./Resources/NetBeans/harness/launchers/app.exe ./Resources/NetBeans/platform7/lib/nbexec.exe
we leave this files by design (see issues 105497, 107496, 90571) as it is the part of NetBeans platform.
Well, then, all I can say is that the design is absolutely broken and dumb. Installing .exe Microsoft Windows executables on a Mac OS is pointless and useless and a waste of resources. If someone 'designed' this, they ought to rethink it. It's dumb. Closing it as 'invalid' makes no sense, either. Having Windows executable .exes on a Mac is a bug. plain and simple. Just that the NetBeans team doesn't want bugs around so close to release...
santafen, exe files are the part of cross-platform NetBeans Platform. We have to leave them in order to create "NetBeans Platform"-based applications to have the ability to run them later on windows platform. Otherwise you`ll run into the Issue 105497.
You would be surprised but some people might want to generate multiplatform app (ie. running also on Windows) even on Mac OS. And these files are exactly for this purpose. (IMO ~50KB of additional disk space is not so big waste when ~100GB disks are used.) exe launchers for IDE itself in bin directory are not necessary and was removed from Mac installation.