Browse Source

2003 and some 'since' information

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274704 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
db672be888
2 changed files with 7 additions and 1 deletions
  1. +2
    -0
      docs/manual/CoreTasks/checksum.html
  2. +5
    -1
      src/main/org/apache/tools/ant/taskdefs/Checksum.java

+ 2
- 0
docs/manual/CoreTasks/checksum.html View File

@@ -31,6 +31,7 @@ perform checksum verifications.
<td valign="top">The root directory where checksums should be written.</td> <td valign="top">The root directory where checksums should be written.</td>
<td valign="top" align="center">No. If not specified, checksum files <td valign="top" align="center">No. If not specified, checksum files
will be written to the same directory as the files themselves. will be written to the same directory as the files themselves.
<em>since Ant 1.6</em>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -79,6 +80,7 @@ perform checksum verifications.
the files within the filesets they are defined in will be used to the files within the filesets they are defined in will be used to
compute this checksum. (The file separators in the paths will be compute this checksum. (The file separators in the paths will be
converted to '/' before computation to ensure platform portability). converted to '/' before computation to ensure platform portability).
<em>since Ant 1.6</em>
</td> </td>
<td valign="top" align="center">No</td> <td valign="top" align="center">No</td>
</tr> </tr>


+ 5
- 1
src/main/org/apache/tools/ant/taskdefs/Checksum.java View File

@@ -1,7 +1,7 @@
/* /*
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
* Copyright (c) 2001-2002 The Apache Software Foundation. All rights
* Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved. * reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -176,6 +176,8 @@ public class Checksum extends MatchingTask implements Condition {
/** /**
* Sets the root directory where checksum files will be * Sets the root directory where checksum files will be
* written/read * written/read
*
* @since Ant 1.6
*/ */
public void setTodir(File todir) { public void setTodir(File todir) {
this.todir = todir; this.todir = todir;
@@ -215,6 +217,8 @@ public class Checksum extends MatchingTask implements Condition {
/** /**
* Sets the property to hold the generated total checksum * Sets the property to hold the generated total checksum
* for all files. * for all files.
*
* @since Ant 1.6
*/ */
public void setTotalproperty(String totalproperty) { public void setTotalproperty(String totalproperty) {
this.totalproperty = totalproperty; this.totalproperty = totalproperty;


Loading…
Cancel
Save