[jboss-cvs] JBossAS SVN: r94013 - projects/jboss-deployers/branches/Branch_2_0/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/helpers.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Sep 24 21:57:42 EDT 2009
Author: jason.greene at jboss.com
Date: 2009-09-24 21:57:42 -0400 (Thu, 24 Sep 2009)
New Revision: 94013
Modified:
projects/jboss-deployers/branches/Branch_2_0/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/helpers/AbstractStructureBuilder.java
Log:
Fix JBDEPLOY-215
Modified: projects/jboss-deployers/branches/Branch_2_0/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/helpers/AbstractStructureBuilder.java
===================================================================
--- projects/jboss-deployers/branches/Branch_2_0/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/helpers/AbstractStructureBuilder.java 2009-09-25 01:37:45 UTC (rev 94012)
+++ projects/jboss-deployers/branches/Branch_2_0/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/helpers/AbstractStructureBuilder.java 2009-09-25 01:57:42 UTC (rev 94013)
@@ -135,10 +135,11 @@
if (childContext == null)
throw new IllegalStateException("Child deployment context is null");
- context.addChild(childContext);
childContext.setParent(context);
-
applyContextInfo(childContext, child);
+
+ // Child must be added after context info is applied for correct sorting
+ context.addChild(childContext);
Attachments attachments = child.getPredeterminedManagedObjects();
if (attachments != null)
More information about the jboss-cvs-commits
mailing list