ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/cvslib ChangeLogTask.java
Date Tue, 15 Mar 2005 15:22:53 GMT
bodewig     2005/03/15 07:22:53

  Modified:    src/main/org/apache/tools/ant/taskdefs/cvslib
                        ChangeLogTask.java
  Log:
  Provide error output if cvs command fails, PR 25645
  
  Revision  Changes    Path
  1.33      +3 -1      ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogTask.java
  
  Index: ChangeLogTask.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogTask.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- ChangeLogTask.java	9 Mar 2005 00:20:38 -0000	1.32
  +++ ChangeLogTask.java	15 Mar 2005 15:22:53 -0000	1.33
  @@ -246,13 +246,15 @@
   
               setDest(inputDir);
               setExecuteStreamHandler(handler);
  +            try {
               super.execute();
  +            } finally {
               final String errors = handler.getErrors();
   
               if (null != errors) {
                   log(errors, Project.MSG_ERR);
               }
  -
  +            }
               final CVSEntry[] entrySet = parser.getEntrySetAsArray();
               final CVSEntry[] filteredEntrySet = filterEntrySet(entrySet);
   
  
  
  

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


Mime
View raw message