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 72132

Summary: Use better dep as core/options is not stable API!
Product: apisupport Reporter: Jaroslav Tulach <jtulach>
Component: TemplatesAssignee: rmatous <rmatous>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2006-02-01 16:26:02 UTC
VĨera 14:26:37 
Hi. 
I've been just talking with Radek about his wizard to create option panel and  
realized that we are exposing an API which is not stable in 5.0. The module  
uses /0 to indicate that and this is going to change to /1[a] or /2[b]. 
 
As a result the code generated using the wizard is not going to work  
correctly[c]  in next version of NetBeans. 
 
I believe that the correct solution would be generate a range dependency on  
core/options/0-1 As a result in next version the module would link  
correctly[d] without any warnings. 
 
Can Radek rewrite its wizard to insert range dependency[e]? 
-jst 
 
 
[a] if there is a compatible change 
[b]  if there is an incompatible one 
[c] either will not work or will work, but print warning messages on startup  
about auto upgrade of module deps 
[d]  assuming the module is going to remain compatible 
[e] is it even possible to have range dependency in project.xml and in  
apisupport infrastructure?
Comment 1 Jesse Glick 2006-02-01 16:34:54 UTC
Race condition. :-)

*** This issue has been marked as a duplicate of 72133 ***
Comment 2 Tomas Danek 2006-03-07 10:48:57 UTC
verified duplicate.