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 41720

Summary: [Installation-proposal-review] Output warning once "netbeans.home" property gets used
Product: platform Reporter: Miloslav Metelka <mmetelka>
Component: -- Other --Assignee: Jaroslav Tulach <jtulach>
Status: CLOSED FIXED    
Severity: blocker CC: jglick
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 36701    
Bug Blocks: 36786    
Attachments: Adding the warning into TopSecurityManager

Description Miloslav Metelka 2004-04-05 18:14:44 UTC
As the "netbeans.home" becomes deprecated with the
cluster system it would be desired to output a
warning once it's being retrieved.
Comment 1 Jaroslav Tulach 2004-04-06 06:32:39 UTC
Created attachment 14292 [details]
Adding the warning into TopSecurityManager
Comment 2 Jaroslav Tulach 2004-04-06 06:40:02 UTC
Jesse, is the warning correct? Can the netbeans.home be really
replaced by IFL? Currently known places that still use it are 

org.netbeans.modules.vcscore.Variables (do not know why)
org.netbeans.core.ui.ProductInformationPanel (it prints the value)
org.netbeans.core.LookupCache (might be eliminated some method in IFL?)
org.netbeans.modules.autoupdate.Autoupdater$Support (it should use
dirs anyway)
org.netbeans.updater.UpdateTracking (also netbeans.dirs would be better)

Do you think this patch should be applied?
Comment 3 Jesse Glick 2004-04-07 00:15:07 UTC
ProductInformationPanel should be changed anyway, but would probably
still use it. LookupCache would not need it in case issue #36701 were
implemented. Otherwise looks reasonable to me.
Comment 4 Jaroslav Tulach 2004-05-05 13:58:46 UTC
/cvs/core/bootstrap/src/org/netbeans/TopSecurityManager.java,v  <-- 
TopSecurityManager.java
new revision: 1.11; previous revision: 1.10
Comment 5 Marian Mirilovic 2005-12-20 15:45:56 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.