missing beans destroy source
Peter Buckenleib <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Organization | SIEMENS AG , A&D MC IT |
| Message-ID | <[email protected]> |
Hi group, today i opened a form in NB36 that is a little outdated and contained a bean that was not loaded when i opened the form. So NB could not find the bean, and removed all references to that object from the sourcecode without any warning!!! Not only the private members are removed, but all the eventhandlers and properties that refer to that bean too. This brutal behaviour destroys sourcefiles that would otherwise still be usable if the code for the missing bean is still existing in a jar file. So please NB add a warning dialog before making sources unusable silently, or even better: warn the users when a form containing missing beans is opened, and ask if NB should continue (and deleting missing references) or laeve everything untouch and quit editing. regards Peter -- Peter Buckenleib SIEMENS AG , A&D MC IT Frauenauracher Str. 80 D 91056 Erlangen