[jboss-cvs] JBossAS SVN: r62521 - branches/Branch_4_2/deployment/src/main/org/jboss/deployment/spi.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Apr 24 15:17:31 EDT 2007


Author: dimitris at jboss.org
Date: 2007-04-24 15:17:31 -0400 (Tue, 24 Apr 2007)
New Revision: 62521

Modified:
   branches/Branch_4_2/deployment/src/main/org/jboss/deployment/spi/DeploymentManagerImpl.java
Log:
add debug info.

Modified: branches/Branch_4_2/deployment/src/main/org/jboss/deployment/spi/DeploymentManagerImpl.java
===================================================================
--- branches/Branch_4_2/deployment/src/main/org/jboss/deployment/spi/DeploymentManagerImpl.java	2007-04-24 19:14:52 UTC (rev 62520)
+++ branches/Branch_4_2/deployment/src/main/org/jboss/deployment/spi/DeploymentManagerImpl.java	2007-04-24 19:17:31 UTC (rev 62521)
@@ -302,6 +302,8 @@
     */
    public ProgressObject distribute(Target[] targets, File moduleArchive, File deploymentPlan)
    {
+      log.debug("distribute module: " + moduleArchive + ", plan: " + deploymentPlan);
+      
       if (isConnected == false)
          throw new IllegalStateException("DeploymentManager is not connected");
 
@@ -375,7 +377,6 @@
       // start the deployment process
       DeploymentStatus status = new DeploymentStatusImpl(StateType.RUNNING, CommandType.DISTRIBUTE, ActionType.EXECUTE, null);
       ProgressObject progress = new ProgressObjectImpl(status, targetModuleIDs);
-
       DeploymentWorker worker = new DeploymentWorker(progress);
       worker.start();
 
@@ -802,9 +803,9 @@
          while (entry != null)
          {
             String entryName = entry.getName();
-            log.debug("unpack deployment plan entry: " + entryName);
-
             File tempFile = getTempFile(entryName);
+            log.debug("unpack deployment plan entry: " + entryName + ", into temp file: " + tempFile);
+            
             dpMap.put(entryName, tempFile);
 
             FileOutputStream out = new FileOutputStream(tempFile);




More information about the jboss-cvs-commits mailing list