ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/builder MasterProjectBuilder.java Resources.properties
Date Tue, 25 Jun 2002 11:16:47 GMT
adammurdoch    2002/06/25 04:16:47

  Modified:    container/src/java/org/apache/myrmidon/components/builder
                        MasterProjectBuilder.java Resources.properties
  Log:
  Don't include stack trace in error messages.
  
  Revision  Changes    Path
  1.4       +3 -6      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/builder/MasterProjectBuilder.java
  
  Index: MasterProjectBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/builder/MasterProjectBuilder.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MasterProjectBuilder.java	13 Jun 2002 02:59:26 -0000	1.3
  +++ MasterProjectBuilder.java	25 Jun 2002 11:16:47 -0000	1.4
  @@ -9,7 +9,6 @@
   
   import org.apache.avalon.excalibur.i18n.ResourceManager;
   import org.apache.avalon.excalibur.i18n.Resources;
  -import org.apache.avalon.framework.ExceptionUtil;
   import org.apache.avalon.framework.container.ContainerUtil;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
   import org.apache.avalon.framework.service.ServiceException;
  @@ -65,8 +64,7 @@
               final String message =
                   REZ.getString( "builder.create.error",
                                  project.getType(),
  -                               project.getUri(),
  -                               ExceptionUtil.printStackTrace( e ) );
  +                               project.getUri() );
               throw new ProjectException( message, e );
           }
           finally
  @@ -81,8 +79,7 @@
                   {
                       final String message =
                           REZ.getString( "builder.destroy.error",
  -                                       project.getType(),
  -                                       e );
  +                                       project.getType() );
                       getLogger().error( message, e );
                   }
               }
  
  
  
  1.16      +2 -2      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/builder/Resources.properties
  
  Index: Resources.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/builder/Resources.properties,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Resources.properties	9 Jun 2002 04:53:34 -0000	1.15
  +++ Resources.properties	25 Jun 2002 11:16:47 -0000	1.16
  @@ -36,5 +36,5 @@
   project.unknown-target.error=Unknown target "{0}".
   project.missing-ref.error=Unable to locate project reference "{0}".
   
  -builder.create.error=Error creating Project of type "{0}" at "{1}". (Reason: {2})
  -builder.destroy.error=Error destroying builder of type "{0}". (Reason: {1})
  \ No newline at end of file
  +builder.create.error=Error creating Project of type "{0}" at "{1}".
  +builder.destroy.error=Error destroying builder of type "{0}".
  \ No newline at end of file
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message