Re: setting package on new Java objects
Cliff Draper <[email protected]> Tue, 19 Aug 2003 09:38:14 -0700 (PDT)
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Message-ID | <[email protected]> |
It looks like the problem was in my code. There was a line of code
that set the package to be the wrong thing. (Maybe
packageObject.getPackageNameExt used to work, but doesn't in this case.)
sourceElement.setPackage(Identifier.create(packageObject.getPackageNameExt('.', '.')));
And I changed it to
sourceElement.setPackage(Identifier.create(packageObject.getName()));
And that fixed the package issue. Thanks for the help.
Cliff Draper Sun Microsystems, Forte Tools
My opinions may or may not reflect those of my employer.
---------------------------- food for thought ---------------------------
This sentence threee errors.