I'm seeing something that I think is a problem in the application 0.3 jars when 
I integrate them in geronimo.

It looks like aries is generating a Manifest for the deployment.mf with 
reasonable Import-Package strings of the form javax.servlet;version=\"2.6.0\" 
however when it is read into a DeploymentManifestImpl and written out into the 
temporary file it gets mangled into this:

javax.servlet;{version->2.6.0},javax.servlet.jsp.el;{version->0.0.0},javax.servlet.jsp.tagext;{version->0.0.0},javax.servlet.jsp.resources;{version->0.0.0},javax.servlet.jsp;{version->0.0.0},javax.servlet.http;{version->2.6.0}

Not too surprisingly, this string can't be understood by the manifest parsing 
code.  On the other hand, I can't be sure that this output isn't intended and 
the parsing code is supposed to understand it.

The conversion into a string is done in this method of DeploymentMetadataImpl:

  private String getContentsAsString (Collection<Content> contents) {
    StringBuilder builder = new StringBuilder();
    boolean beginning = true;
    for (Content c : contents) {
      if (!!!beginning) {
        builder.append(",");
      }
      builder.append(c);
      beginning = false;
      
    }
    return builder.toString();
  }



So far I've been stymied in trying to figure out where all the bits needed for 
integration went in 0.3.1-SNAPSHOT so I'm not too close to being able to look 
for a solution to this.  Are there any instructions for integrating 
3.1-snapshot?  Is there any dev list discussion about where stuff moved to or 
why some of the noop packages mentioned in the instructions 
http://aries.apache.org/documentation/application-dependencies.html have 
disappeared?

BTW trunk does not build for me.  One of the application modules is missing 
from applications/pom.xml and there is a reference to a no-longer existing 
snapshot in the tools project.  I hesitate to commit fixes for these simple 
problems as the build structure of aries has morphed into something I don't 
hope to understand.

thanks
david jencks

Reply via email to