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.
I have an enterprise project with 2 sub projects, and EJB and a WAR. In the WAR''s "Web Pages" node I have an "xml" sub directory. In this subdirectory I have a OBS.xsd file. I wanted to copy this file to SMS.xsd, so I click on it, select Copy, click on the "xml" directory and select Paste (which provided a submenu). So I selected the "refactor" option in the sub menu, thinking it might change my root node or what not. After completing this I noticed no difference. Trying it again I noticed it has a "package" option. It copied the XSD to my Java source, iow. the "src" directory into the package "xml".
I dont see this issue. When doing a copy, did you select the right destination package in "To package" drop down? By default, it copies the file to "src" directory...Not sure how the complete "src" directory got copied under "xml"..That copy is not done by XML by is handled by java refactoring..
That's the problem. I have the {project}/src/java directory, and the {project}/web/xml directory. I tried to paste into the web/xml directory, but the file ended up in the "src/java/xml" directory.
What did you select in "To Package"?..Do you see a "web.xml" in the drop down box?