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.
Summary: | JAXB wizard incorrectly reports Please Enter Valid Schema File | ||
---|---|---|---|
Product: | xml | Reporter: | alibaba88 |
Component: | JAXB | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
alibaba88
2014-04-01 07:31:52 UTC
It seems that the projects home must have a \src\conf directory inside for the JAXB wizard to succeed creating a src\conf\xml-resources folder there, eventhough we have all our sources located in a parallell directory outside the projects home. When I created a empty \src\conf inside the projects home the wizard managed to generate code eventhough the xsd files were outside, ie the relative filepath worked: ../../eCMSApp/eCMS-war/src/conf/xmlSchemas/v1/Products-schema.xsd Your observation is correct: the current JAXB implementaton is implemented so that it must copy all schema files underneath the project directory - usually xml-resources/jaxb, or conf/xml-resources/jaxb, depending on the type of the project. The scenario of keeping project files separate from the sources is valid, but conflicts with the jaxb support design - I'll turn this to high prio enhancement. |