[jboss-cvs] JBossAS SVN: r91016 - branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jul 9 15:37:00 EDT 2009


Author: emuckenhuber
Date: 2009-07-09 15:37:00 -0400 (Thu, 09 Jul 2009)
New Revision: 91016

Modified:
   branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/StaticProfileFactory.java
Log:
don't create a deploymentRepository for the bootstrap profile.

Modified: branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/StaticProfileFactory.java
===================================================================
--- branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/StaticProfileFactory.java	2009-07-09 19:01:38 UTC (rev 91015)
+++ branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/StaticProfileFactory.java	2009-07-09 19:37:00 UTC (rev 91016)
@@ -196,8 +196,10 @@
       }
       // Create bootstrap profile meta data
       ProfileKey bootstrapKey = new ProfileKey(bootstrapName);
-      ProfileMetaData bootstrap = createProfileMetaData(bootstrapName, false, 
-            new URI[] { bootstrapURI }, subprofileNames );
+      BasicProfileMetaData bootstrap = new FilteredProfileMetaData(
+            null, null, bootstrapName);
+      bootstrap.setSource(createSource(new URI[] { bootstrapURI }, false));
+      bootstrap.setSubprofiles(createSubProfileMetaData(subprofileNames));
       addProfile(bootstrapKey, bootstrap);
       
       subprofileNames = createSubprofileNames(subprofileNames, bootstrapName);




More information about the jboss-cvs-commits mailing list