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.
[ BUILD # : beta ] [ JDK VERSION : <1.6.20 ] After acknowleding JUnit to install automatically, I found it in userdir. I don't like this: - cleaning userdir destroys installation - redundant installation for multiple users. At least I want to see a check box: "Install globally"
It should be installed into install dir and fallback to userdir only if install dir is not writable. Is this not the case? Any details of your environment which could help? Was this the case also for other installations since JUnit installation mechanism was introduced?
Ah, I see! I installed NB by help of Windows RunAs facility from protected user account. After I started NB from this user account, and was offered to add JUnit. At this point user has no chance to get what he wants. So ... - At least, user should be notified about local installation. - Better: Allow to cancel, if install dir is not writeable. - More better: Offer a choice. On global install invoke Windows "runas.exe".
And some more better: - Additionally allow user to choose already installed JUnit.
(In reply to comment #1) > Was this the case also for other installations since JUnit installation > mechanism was introduced? Yes, same problem occurs for the CVS plugin. In NB installer there is a check box to install the JUnit plugin, but the plugin becomes installed later after the 1st start of NB. The problem by this is, that even the installer was launched by "Run as Administrator", the plugin is not installed globally. This could be avoided, if the plugin would be installed by the installer at same time, instead referring it to the IDE's launcher.
*** This bug has been marked as a duplicate of bug 211777 ***