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.
Build: Gavotte nightly build 070102_7. Steps to reproduce it: 1. Create a new BPEL project BpelModule1. 2. In Projects window, right-click BpelModule1, select New -> File/Folder. 3. In New File window Categories field, select XML -> Sample Schemas. 4. In File Types, select Loan Application Schema. Click Next. 5. Accept default values. Click Finish. ==> In Editor window, newLoanApplication.xsd is opened. But in Projects window, file newLoanApplication.xsd is not shown. (See attached snapshot AddSchema.png file). 6. In Files window, can see file newLoanApplication.xsd is added. (See attached snapshot AddSchema2.png file).
Created attachment 37026 [details] newly added sample schema file is not shown in Projects window
Created attachment 37027 [details] newly added sample schema file is shown in Files window
The file can be shown under "BpelModule1 -> Process Files" in Projects window, if the file is moved under "BpelModule1 -> src" folder in Files window. The default "Created File" value should be ".../BpelModule1/src/newLoanApplication.xsd" instead of ".../BpelModule1/newLoanApplication.xsd" (See attached snapshot AddSchema3.png file). Same issue happens if add a new "WSDL Document", "XML Document" or "XSLT Document" to a BPEL project.
Created attachment 37028 [details] should add new file under src folder
This bug blocks testing. Upgrade it to P1. Please fix it as soon as possible. Thanks!
Hong, is this a regression? If it is regression, I am wondering what work was being done that would lead to such a curious change. Is there no workaround? (i.e. user cannot select or specify src in the new file wizard. I know this should be fixed asap, but as for blocking testing, it is helpful to know if there is workaround.
*** Issue 91442 has been marked as a duplicate of this issue. ***
Mike, There is a workaround: to move the file under "src" folder manually. Actually, user can select src in the new file wizard. It is not a regression. Same issue happens if add a new "WSDL Document", "XML Document" or "XSLT Document" to a BPEL project. But if you add other File Types under XML Categories, for example "XML Schema", the default folder is set to "src". Which I think is the right behavior.
Fixed.
Verified the fix is in 070214_2