You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jl...@apache.org on 2004/07/31 03:01:23 UTC

cvs commit: incubator-geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/deployment EARConfigBuilder.java

jlaskowski    2004/07/30 18:01:23

  Modified:    modules/j2ee/src/java/org/apache/geronimo/j2ee/deployment
                        EARConfigBuilder.java
  Log:
  Exception messages correction
  
  Revision  Changes    Path
  1.16      +3 -3      incubator-geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
  
  Index: EARConfigBuilder.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- EARConfigBuilder.java	23 Jul 2004 06:06:19 -0000	1.15
  +++ EARConfigBuilder.java	31 Jul 2004 01:01:22 -0000	1.16
  @@ -265,7 +265,7 @@
               public void installModule(ModuleBuilder moduleBuilder, EARContext earContext, Module module) throws IOException, DeploymentException {
                   if ( false == module instanceof ConnectorModule &&
                       false == module instanceof WebModule ) {
  -                    throw new DeploymentException("Only unpacked RAR are suppored.");
  +                    throw new DeploymentException("Only unpacked RARs and WARs (in unpacked EAR) are supported.");
                   }
                   // TODO gets rid of this cast when all the ModuleBuilder will
                   // support unpacked deployments.
  @@ -581,7 +581,7 @@
               }
           }
   
  -        throw new DeploymentException("Could not determine config id");
  +        throw new DeploymentException("Could not determine type");
       }
   
       private URI getDependencyURI(GerDependencyType dep) throws DeploymentException {