Re: Re: project conversion questions
Vitezslav Stejskal <[email protected]> Thu, 31 Jul 2003 11:12:54 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Message-ID | <[email protected]> |
Tomas Zezula wrote: >On Thu, 2003-07-31 at 08:48, Svata Dedic wrote: > > >>On Thu, 2003-07-31 at 08:33, Tomas Zezula wrote: >> >> >>>I agree with Svata, the only problem is that Project is not a >>>Node.Cookie :-( >>>To allow this I will need to extend the Element interface by getLookup() >>>method. >>> >>> >>So - another shot in bad direction :( I remembered that one of >>Project/ProjectMember (still!) gets Node.Cookie injected by the >>post-compilation steps and picked the wrong one; it's the Project class, >>according to build script. >> >> >Well, you are right but I would rather not depend on this. >It is not an API and it can change in the future!!!!! > Absolutely, this will very likely change in the near future. Runtime-patching is a hack which can be used for backward compatibility reasons in some cases, but not in the production code of new API. -vita