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.
nbexec.exe should be removed. update_tracking/* as well. jh*.jar should be removed. At least on JDS.
Created attachment 15834 [details] Layout for the platform
*** Issue 36761 has been marked as a duplicate of this issue. ***
Please update the scripts for building RPMs so the default install location on JDS is /opt/sun/netbeans. But it would be nice if the location could be easily customized so other distributions can easily change it.
Reassigning to installer module and actual owner.
I think we are not building separated RPM packages for other Linux distros. So I think we could leave the jh*.jar in the package so our packages can be used by others distribution as well without need to download jh*.jar separately. Lowering at least to P3 - everything works ok.
If we provide our own javahelp, we will not pass internal Sun release criteria. This blocks our release, so at least p2.
Fixed in trunk. Jardo, please take a look at the excluded files. I do not delete directories (not sure if it is perfect with platform5/modules/ext/ - it's empty now) Ecluded files: platform5/lib/nbexec.cmd platform5/lib/nbexec.exe platform5/update_tracking/* enterprise1/update_tracking/* ide5/update_tracking/* nb4.1/update_tracking/* platform5/modules/ext/jh-2.0_02.jar $MOBILITY/update_tracking/* Checking in installer/packages/linux/bin/buildnbrpm; new revision: 1.3; previous revision: 1.2
Empty modules/ext is ugly, but it cannot hurt anything I am aware of, but empty update_tracking could cause problems. Autoupdate is very likely using the directory to decide whether it is possible to install as global or not (should not be possible with RPMs). Try to install the RPM, run as root and upgrade via Autoupdate and check "global" box. If it works, then something is broken. I would try it myself, but I do not know where to get the RPM.
Ok, I will try it. BTW I deduced to keep update_tracking dirs from your first comment "update_tracking/* as well". That asterix :) I can exclude whole dirs as well of course. I thought that modules/ext could be used for something other than jh*.jar. You can build RPMs by running buildnbrpm script. I don't know if it is used by RE yet.
I have tested new rpms from cinnabar build 38. There are still the strange files such as nbexec.exe and so on.
Which is not so critical as original problem -> at least P3. I'll try to get to it for 5.0.
Martin, RPMs are not built for 5.0.
Rudolf gave me some information I didn't realize. RPM for 5.0 are not being builded (yet) and actually cannot be fixed for 4.1, it's frozen. RPMs for 5.0 will not contain nbexec.
Rather than excluding nbexec.exe I suggest that the NBM contain the "correct" contents, and the Auto Update client be the one to quietly skip unpacking this file. After, all we want for i in ..../*.nbm; do unzip $i; done; rm -r Info META-INF to work to make us a build, right?
Oops, ignore the last comment, thought you were talking about NBMs.