cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgaw...@apache.org
Subject svn commit: r471486 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/deployment/DeploymentUtil.java
Date Sun, 05 Nov 2006 18:22:01 GMT
Author: lgawron
Date: Sun Nov  5 10:22:01 2006
New Revision: 471486

URL: http://svn.apache.org/viewvc?view=rev&rev=471486
Log:
use Cocoon-Block-Name jar manifest attribute for runtime deployment directory

Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/deployment/DeploymentUtil.java

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/deployment/DeploymentUtil.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/deployment/DeploymentUtil.java?view=diff&rev=471486&r1=471485&r2=471486
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/deployment/DeploymentUtil.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/deployment/DeploymentUtil.java
Sun Nov  5 10:22:01 2006
@@ -98,7 +98,7 @@
                 final URL jarUrl = new URL(url);
                 final JarURLConnection connection = (JarURLConnection)jarUrl.openConnection();
                 final JarFile jarFile = connection.getJarFile();
-                String blockName = jarFile.getManifest().getMainAttributes().getValue("Implementation-Title");
+                String blockName = jarFile.getManifest().getMainAttributes().getValue("Cocoon-Block-Name");
                 if ( blockName == null ) {
                     String jarPath = jarFile.getName();
                     // extract jar name



Mime
View raw message