cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r419529 - /cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/monolithic/MonolithicCocoonDeployer.java
Date Thu, 06 Jul 2006 11:54:30 GMT
Author: cziegeler
Date: Thu Jul  6 04:54:30 2006
New Revision: 419529

URL: http://svn.apache.org/viewvc?rev=419529&view=rev
Log:
Log artifact id

Modified:
    cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/monolithic/MonolithicCocoonDeployer.java

Modified: cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/monolithic/MonolithicCocoonDeployer.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/monolithic/MonolithicCocoonDeployer.java?rev=419529&r1=419528&r2=419529&view=diff
==============================================================================
--- cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/monolithic/MonolithicCocoonDeployer.java
(original)
+++ cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/monolithic/MonolithicCocoonDeployer.java
Thu Jul  6 04:54:30 2006
@@ -26,10 +26,6 @@
 import java.util.Properties;
 
 import org.antlr.stringtemplate.StringTemplate;
-import org.apache.cocoon.maven.deployer.monolithic.DevelopmentBlock;
-import org.apache.cocoon.maven.deployer.monolithic.DevelopmentProperty;
-import org.apache.cocoon.maven.deployer.monolithic.MonolithicServer22;
-import org.apache.cocoon.maven.deployer.monolithic.SingleFileDeployer;
 import org.apache.cocoon.maven.deployer.utils.FileUtils;
 import org.apache.commons.io.IOUtils;
 import org.apache.maven.plugin.logging.Log;
@@ -53,10 +49,12 @@
 		throws DeploymentException {
 		
 		// iterate over all blocks that need to be installed into a J2EE web application
-        for(Iterator it = libraries.keySet().iterator(); it.hasNext();) {
-        	Object id = it.next();
-        	File lib = (File) libraries.get(id);  	
+        for(Iterator it = libraries.entrySet().iterator(); it.hasNext();) {
+            final Map.Entry entry = (Map.Entry)it.next();
+        	final Object id = entry.getKey();
+        	File lib = (File) entry.getValue();  	
         	try {
+                this.logger.info("Deploying " + id);
         		MonolithicServer22 zipExtractor = new MonolithicServer22(basedir, logger);
                 zipExtractor.addRule("**legacy/cocoon.xconf", new SingleFileDeployer("WEB-INF"));
       		
                 zipExtractor.addRule("**legacy**.xconf", new SingleFileDeployer("WEB-INF/xconf"));



Mime
View raw message