[jboss-cvs] JBossAS SVN: r61388 - trunk/system/src/main/org/jboss/system/server/profile/basic.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Mar 17 00:27:41 EDT 2007


Author: scott.stark at jboss.org
Date: 2007-03-17 00:27:41 -0400 (Sat, 17 Mar 2007)
New Revision: 61388

Modified:
   trunk/system/src/main/org/jboss/system/server/profile/basic/ProfileImpl.java
Log:
If there are no apps, use the default appplication root

Modified: trunk/system/src/main/org/jboss/system/server/profile/basic/ProfileImpl.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profile/basic/ProfileImpl.java	2007-03-16 21:54:50 UTC (rev 61387)
+++ trunk/system/src/main/org/jboss/system/server/profile/basic/ProfileImpl.java	2007-03-17 04:27:41 UTC (rev 61388)
@@ -303,6 +303,10 @@
             }
             // TODO: this could check metadata files modifications as well
          }
+
+         // If there are no apps, use the default appplication root
+         if( applicationDir == null )
+            applicationDir = getRootFile(DeploymentPhase.APPLICATION);
          // Now check for additions
          ArrayList<VirtualFile> added = new ArrayList<VirtualFile>();
          addDeployments(added, applicationDir);


Property changes on: trunk/system/src/main/org/jboss/system/server/profile/basic/ProfileImpl.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision




More information about the jboss-cvs-commits mailing list