[
https://issues.jboss.org/browse/WFLY-3940?page=com.atlassian.jira.plugin....
]
Tomaz Cerar commented on WFLY-3940:
-----------------------------------
What archetype are you referring to?
https://github.com/wildfly/wildfly-archetypes uses
just that.
Yeah PersistentResourceDefinition is what i had in mind to be improved to better inform of
parse errors.
we could probably also add some sample xml generation based on the definition of the
parser. that shouldn't be that hard.
For time being what you can do is, start the subsystem with empty configuration and go to
CLI and execute add commands for subsystem resource tree and as result you will get
persistent xml you are interested in. not optimal solution but a workaround for time
being.
Parsers should print expected elements in case of error
-------------------------------------------------------
Key: WFLY-3940
URL:
https://issues.jboss.org/browse/WFLY-3940
Project: WildFly
Issue Type: Feature Request
Components: Domain Management
Reporter: Heiko Rupp
Assignee: Tomaz Cerar
While developing an extension I get "JBAS014789: Unexpected element "bla"
encountered"
At this point it would be sooooooo helpful if #WildFly would tell me what it did expect
here to help me modifying my code.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)