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/optional/sitraka CovMerge.java
Date Mon, 28 Apr 2003 10:07:12 GMT
bodewig     2003/04/28 03:07:11

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/sitraka
                        CovMerge.java
  Log:
  output file must be specified as argument for JProbe 4.x.
  
  PR: 14849
  
  Revision  Changes    Path
  1.18      +3 -2      ant/src/main/org/apache/tools/ant/taskdefs/optional/sitraka/CovMerge.java
  
  Index: CovMerge.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/sitraka/CovMerge.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- CovMerge.java	18 Apr 2003 23:40:26 -0000	1.17
  +++ CovMerge.java	28 Apr 2003 10:07:11 -0000	1.18
  @@ -124,6 +124,9 @@
               cmdl.createArgument().setValue(getParamFileArgument() 
                                              + paramfile.getAbsolutePath());
   
  +            // last argument is the output snapshot
  +            cmdl.createArgument().setValue(tofile.getPath()); 
  +
               LogStreamHandler handler = new LogStreamHandler(this, Project.MSG_INFO, Project.MSG_WARN);
               Execute exec = new Execute(handler);
               log(cmdl.describeCommand(), Project.MSG_VERBOSE);
  @@ -196,8 +199,6 @@
               for (int i = 0; i < snapshots.length; i++) {
                   pw.println(snapshots[i].getAbsolutePath());
               }
  -            // last file is the output snapshot
  -            pw.println(getProject().resolveFile(tofile.getPath()));
               pw.flush();
           } catch (IOException e) {
               throw new BuildException("I/O error while writing to " + file, e);
  
  
  

Mime
View raw message