Author: scabanovich
Date: 2010-02-01 09:31:49 -0500 (Mon, 01 Feb 2010)
New Revision: 20049
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XModelObjectLoaderUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5471
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XModelObjectLoaderUtil.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XModelObjectLoaderUtil.java 2010-02-01
13:42:37 UTC (rev 20048)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XModelObjectLoaderUtil.java 2010-02-01
14:31:49 UTC (rev 20049)
@@ -325,7 +325,9 @@
++k;
}
o.addChild(co);
- } else if(o.isActive()) try {
+ } else if(o.isActive()
+ || (entity.getChild(en) != null
+ && entity.getChild(en).isRequired())) try {
XModelObject q = o.getChildByPath(co.getPathPart());
if(q != null) EnginesLoader.merge(q, co, false);
} catch (XModelException exc) {