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 80788

Summary: If you name a file input.xml, it does not appear in testcase folder
Product: soa Reporter: lchang <lchang>
Component: JBI Test DriverAssignee: Jun Qian <jqian>
Status: REOPENED ---    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description lchang 2006-07-21 09:12:14 UTC
Steps to reproduce:
1.  With an existing bpel project and compapp project
2.  Create a testcase
3.  Rename Input.xml, and type in "Input.xml"

Result:
You will notice the file does not appear in the test case folder anymore, 
because it is now naming it as "Input.xml.xml"
Comment 1 Jun Qian 2006-08-23 20:58:56 UTC
Test case input is no longer renamable.
Comment 2 lchang 2006-09-15 22:51:37 UTC
you can still rename the file from the "Files" tab, and the same thing happens.

1.  Go to the Files tab
2.  right-click Input.xml and select "Rename"
3.  Rename to "Input.xml" - (it will rename it to "Input.xml.xml"
4.  When you go back to the "Projects" tab you do not see the file anymore
Comment 3 Jun Qian 2006-09-17 04:56:37 UTC
I don't think this is a valid use case and I don't think there is a way to
prevent file renaming in the Files tab.

I will give you another example. Open up a NetBeans module Project inside
NetBeans, go to the Files tab and rename any project config file, say,
manifest.mf, to something else, then come back to the Projects tab. Fine, the
corresponding manifest node is still there. But if you restart NetBeans, you
will find the node disappearing.
Comment 4 lchang 2006-09-18 19:55:22 UTC
I disagree, I believe that this is a valid use case.  I came across this 
simply because I wanted to rename my input file.  Eventually I would hope that 
the jbi test driver would have the ability of having multiple inputs, in which 
case being able to rename the input files will be necessary.

However, I do agree, that it is consistent with the rest of netbeans 
behavior.  I think this needs to be reviewed by HFE to determine whether there 
is a better way to do this, or if this is the best.  I will change this to be 
an "enhancement" bug and lower the priority.
Comment 5 Jun Qian 2006-09-18 20:01:34 UTC
Thanks, Ling!

Supporting multiple input/output is on our to-do list post-Denali in order to
support correlation test. We definately need HFE input on this one.
Comment 6 Jiri Prox 2007-09-17 20:22:36 UTC
Obsolete milestone, please reevaluate