|
@@ -124,8 +124,11 @@ public class CovMerge extends CovBase { |
|
|
cmdl.createArgument().setValue(getParamFileArgument() |
|
|
cmdl.createArgument().setValue(getParamFileArgument() |
|
|
+ paramfile.getAbsolutePath()); |
|
|
+ paramfile.getAbsolutePath()); |
|
|
|
|
|
|
|
|
// last argument is the output snapshot |
|
|
|
|
|
cmdl.createArgument().setValue(tofile.getPath()); |
|
|
|
|
|
|
|
|
if (isJProbe4Plus()) { |
|
|
|
|
|
// last argument is the output snapshot - JProbe 4.x |
|
|
|
|
|
// doesn't like it in the parameter file. |
|
|
|
|
|
cmdl.createArgument().setValue(tofile.getPath()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
LogStreamHandler handler = new LogStreamHandler(this, Project.MSG_INFO, Project.MSG_WARN); |
|
|
LogStreamHandler handler = new LogStreamHandler(this, Project.MSG_INFO, Project.MSG_WARN); |
|
|
Execute exec = new Execute(handler); |
|
|
Execute exec = new Execute(handler); |
|
@@ -199,6 +202,11 @@ public class CovMerge extends CovBase { |
|
|
for (int i = 0; i < snapshots.length; i++) { |
|
|
for (int i = 0; i < snapshots.length; i++) { |
|
|
pw.println(snapshots[i].getAbsolutePath()); |
|
|
pw.println(snapshots[i].getAbsolutePath()); |
|
|
} |
|
|
} |
|
|
|
|
|
if (!isJProbe4Plus()) { |
|
|
|
|
|
// last file is the output snapshot - JProbe 4.x doesn't |
|
|
|
|
|
// like it in the parameter file. |
|
|
|
|
|
pw.println(getProject().resolveFile(tofile.getPath())); |
|
|
|
|
|
} |
|
|
pw.flush(); |
|
|
pw.flush(); |
|
|
} catch (IOException e) { |
|
|
} catch (IOException e) { |
|
|
throw new BuildException("I/O error while writing to " + file, e); |
|
|
throw new BuildException("I/O error while writing to " + file, e); |
|
|