ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb GenericDeploymentTool.java
Date Sat, 20 Jan 2001 10:43:36 GMT
conor       01/01/20 02:43:35

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        GenericDeploymentTool.java
  Log:
  Catch NoClassDefFoundErrors. These indicate that while a superclass is available
  on the classpath, a class it depends on is not. As this code is currently catching
  ClassNotFound exceptions anyway, this is not a major change. It will log a
  warning.
  
  Revision  Changes    Path
  1.11      +4 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java
  
  Index: GenericDeploymentTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- GenericDeploymentTool.java	2001/01/16 13:08:30	1.10
  +++ GenericDeploymentTool.java	2001/01/20 10:43:34	1.11
  @@ -572,6 +572,10 @@
                       log("Could not load class " + classname + " for super class check",

                                     Project.MSG_WARN);
                   }                            
  +                catch (NoClassDefFoundError ncdfe) {
  +                    log("Could not fully load class " + classname + " for super class check",

  +                                  Project.MSG_WARN);
  +                }                            
               } //if 
           } // while 
       }
  
  
  

Mime
View raw message