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 91789 - newly added sample XML schema is not shown in Projects window
Summary: newly added sample XML schema is not shown in Projects window
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vitaly Bychkov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-04 00:46 UTC by _ hong_lin
Modified: 2007-02-15 01:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
newly added sample schema file is not shown in Projects window (42.63 KB, image/png)
2007-01-04 00:50 UTC, _ hong_lin
Details
newly added sample schema file is shown in Files window (45.12 KB, text/plain)
2007-01-04 00:51 UTC, _ hong_lin
Details
should add new file under src folder (36.43 KB, text/plain)
2007-01-04 01:04 UTC, _ hong_lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ hong_lin 2007-01-04 00:46:52 UTC
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).
Comment 1 _ hong_lin 2007-01-04 00:50:20 UTC
Created attachment 37026 [details]
newly added sample schema file is not shown in Projects window
Comment 2 _ hong_lin 2007-01-04 00:51:19 UTC
Created attachment 37027 [details]
newly added sample schema file is shown in Files window
Comment 3 _ hong_lin 2007-01-04 01:03:40 UTC
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.
Comment 4 _ hong_lin 2007-01-04 01:04:50 UTC
Created attachment 37028 [details]
should add new file under src folder
Comment 5 _ hong_lin 2007-01-11 00:30:24 UTC
This bug blocks testing. Upgrade it to P1. Please fix it as soon as possible.
Thanks!
Comment 6 Michael Frisino 2007-01-11 15:43:20 UTC
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.
Comment 7 Michael Frisino 2007-01-11 15:59:41 UTC
*** Issue 91442 has been marked as a duplicate of this issue. ***
Comment 8 _ hong_lin 2007-01-11 20:01:10 UTC
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. 
Comment 9 Vitaly Bychkov 2007-02-13 15:26:35 UTC
Fixed.
Comment 10 _ hong_lin 2007-02-15 01:05:33 UTC
Verified the fix is in 070214_2