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.
Using JavaCAPS R6 + IEP nbm files from build080917. I created a new external XML schema document in the IEP project and the *.xsd file was not placed in <iep_project>\src folder. Therefore, the XSD icon appeared briefly in my Projects panel tree, but soon disappeared. I am not able to see the structure when trying to select schema from IEP Editor. Steps to reproduce: (1) create a new IEP project/module (2) right-click on the IEP project in the Projects panel (3) select New > Other... > XML (category) > External XML Schema Document(s) (4) select 'From Local File System' and browse to existing .xsd file Result: XSD file is copied to folder at the same level of the src folder. When I try to 'select schema' from the properties of StreamInput in the IEP Editor, I do not see the XSD structure. The XSD must be in \src in order to be able to see the schema and select elements from it. Note: if I created a new External XML Schema Document by right-clicking the 'Processor Files' folder in the IEP project, the XSD is properly placed in the \src folder and icon is visible from the Projects panel.
If possible, this ticket should cover the more general issue. Any new component created by right-clicking the IEP Project node, will by default be created in the same level as the \src folder, as opposed to inside the \src folder. If the component files are not in the \src folder, they are not visible in the Projects panel tree. The only exception is creating a new Intelligent Event Processor is placed into the \src folder, but that is because it was addressed and fixed in a separate ticket. Of course, users can browse to the src folder when creating these new components, but this should be done by default.
This issue has to do with other wizard (wsdl/xsd) default to src directory as the directory where a file should be created when launching the wizard from project name node. I found that in case of bpel project it does default to src directory when launching these wizards. The New file action somehow gets the src directory from a lookup in case of bpel project and so it defaults to src folder, but in case of iep project it gets project directory. I need to spend more time to figure out exactly why is this happening. Already spend good amount of time debugging. I also sent a mail to nb dev list.