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.
Summary: | [67cat] NB 6.5 JavaSE projects with Web Service Clients create "${file.reference.Project.src}" folders when opened in NB 6.7 | ||
---|---|---|---|
Product: | webservices | Reporter: | swpalmer <swpalmer> |
Component: | Code | Assignee: | Milan Kuchtiak <mkuchtiak> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | pjiricka, sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Project fragment illustrating problem see comments |
Description
swpalmer
2009-06-18 21:38:13 UTC
Would you please attach the projects or specify reproduction steps? Created attachment 83831 [details]
Project fragment illustrating problem see comments
I've attached a severely crippled and stripped down version of my project that demonstrates the error. Simply opening this project will cause the bogus folder to be created. The project can not be compiled because I have removed all of the source code except for a main stub and have not included dependencies. reproduced... problem here is that default/expected value of "src.dir" property in project.properties was somehow replaced with a reference to another property "${file.reference.Stream-src}" and ws related open hook is not expecting this The src.dir property in project.properties was replaced most probably by the user. (E.g. in project customizer: Project properties -> Sources section) Unfortunately, the additional sources were removed, or project directory was moved without these sources. WS support, or any other support, I believe, doesn't change src.dir programatically. If you think, this is really a Netbeans issue, we need a simple example: project created in Netbeans 6.5, that cannot be open in Netbeans 6.7. The project you've attached is too complex. Or some simple steps to reproduce the issue. "The src.dir property in project.properties was replaced most probably by the user." No. It was never changed directly. The file is in version control, and I looked back nearly three years.. it was always as it is now. Note that I never said the project was created in 6.5... It worked in 6.5 without creating the bogus folder. The original project may have been created before 6.5. I don't understand what you mean by "the additional sources were removed" I did remove the bulk of the source tree under the "src" folder because it is IP I can not share in the bug database. But there are no additional source folders that aren't included in the archive. Sorry, I found web services support is responsible for creating this bogus folder. The jax-ws-catalog.xml file was implemented in Netbeans 6.7 and this implementation incorrectly creates folder specified by meta.inf.dir property. The workaround for 6.7 is to replace meta.inf.dir property in nbproject/project.properties with : meta.inf.dir=src/META-INF, and you can remove that bogus directory. v. The changeset mentioned above looks like a fix for the issue 167228 . Could you please confirm that it fixes IZ#167338 as well? If not, could you please provide a correct changeset? Sorry for confusion. The changeset mentioned above is the fix for this issue (#167338), not #167228. The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/3dad2472ad7f verified in 6.7.1 RC NetBeans IDE 6.7.1 RC (Build 200907162301) |