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.

Bug 126969 - Can't move .xsd file to another directory
Summary: Can't move .xsd file to another directory
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 06:56 UTC by kitfox
Modified: 2016-07-07 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kitfox 2008-02-08 06:56:07 UTC
I created a new library project and used Windows Explorer to move a schema file into the src directory (at the time, the
the file had no extension).  I then used NB file view to add an .xsd extension to the file.  I then added a new
directory to my project root called /schema.  I then attempted to move my .xsd from /src to /schema.  This popped up a
window asking me to refactor.  There was no option to not refactor, so I chose to do so.  Instead of moving the file, it
created a second /src directory under /src and moved my schema to /src/src/mySchema.xsd.  I now cannot move the file to
any other directory at all.
Comment 1 Jana Maleckova 2008-02-11 09:19:41 UTC
reassign to refactoring for evaluation
Comment 2 Sonali Kochar 2008-02-11 17:47:34 UTC
To move to any directory in the project, select in in the To Package combo box. You can move the file to any directory
inside a project or to any other *dependent* projects. Please see #114761
Comment 3 kitfox 2008-02-12 06:18:50 UTC
This was a directory in the project.  I've moved files before using refactoring.  This one failed in an unusual way.
Comment 4 Sonali Kochar 2008-02-14 17:56:56 UTC
Did you type in "src" in the To package combo box? Thats the only way it would have created a src dir under the /src
directory and moved the file. 
Comment 5 Sonali Kochar 2008-02-21 20:22:00 UTC
Please provide steps to reproduce.
Comment 6 Sonali Kochar 2008-11-18 20:11:01 UTC
Can you let me know if you typed "src" in the "To" pkg combo box?
Comment 7 kitfox 2008-11-20 08:29:57 UTC
I selected the default for the To: box, which looks like it was 'src'.
Comment 8 kitfox 2011-10-26 14:03:38 UTC
Why not?
Comment 9 Svata Dedic 2011-10-26 19:15:32 UTC
Well, simply an attempt to close a long forgotten defect: old, caused by a module off the mainstream distribution, not commented or voted for over 3 years with no attempts to raise the priority.

If you still experience the defect && it really affects you, it's your right to object and reopen as you did - this way it can be seen there's a real need to fix the situation.
Please check the behaviour against a recent build, though.
Comment 10 Martin Balin 2016-07-07 09:56:26 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss