You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/11/04 20:21:12 UTC

[GitHub] matthiasblaesing commented on issue #968: [NETBEANS-1074] : module review j2ee.jboss4

matthiasblaesing commented on issue #968: [NETBEANS-1074] : module review j2ee.jboss4
URL: https://github.com/apache/incubator-netbeans/pull/968#issuecomment-435702372
 
 
   @arusinha @vikasprabhakar the thing we can do is to replace the XSDs is to drop Schema2Beans and use the DOM directly. Basicly the DTDs are just describing the logical structure of the config files. Consider this method (in `j2ee.jboss` model):
   
   org.netbeans.modules.j2ee.jboss4.config.mdb.MessageDestinationSupport.modifyMessageDestinationModel(Server, String, Type)
   
   If the destination does not yet exists:
   - it creates an `mbean` element
   - for this element the attributes `code` and `name` are set
   - it creates a `depends` element
   - for this element the attribute `optional-attribute-name` and the text-content is set (commented out due to an issue in Schema2Beans)
   
   The most difficult part will be ensuring the order of the elements is correct.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists