Stefan Bodewig
222693b10f
Make sure <checksum> resets its internal state (bug 7552 audit), don't
trust File.length(), make sure <checksum> doesn't break the property
immutability rules.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272344 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
85ec35335d
Clean up imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272326 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
7fec7616d1
Changing "ant:task" to "ant.task" to avoid JDK 1.4 javadoc warnings (XDoclet has been modified to handle this separator too).
Updating the majority of the rest of the tasks with the XDoclet tags. The generated defaults.properties is *almost* the same as the current hand maintained one!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
10aeeab05b
XDoclet fun!
These are harmless Javadoc comment additions for use with the proposal/xdocs runs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271582 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7cea475b85
2002, 2002, 2002, 2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271547 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
d19b7b2415
First pass of JavaDoc work just to get rid of warnings.
When this is complete, whole source tree should JavaDoc (with 1.4)
with no warnings. (With JDK1.3.1 the 1.4-regexp stuff generates
warnings, but that's all.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271544 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
216965aa0f
fix the condition version of <checksum>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270992 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
3c7ae9e725
Fix violations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270906 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
293d45a72a
Reverting argument naming changes to discuss a standardized way to change the names (if at all needed).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270856 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
78c2215a4e
Sigh - Copyright year correction...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270855 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
2736a72e9c
Try to minimize Quality Analyzer's complaints - 1st pass.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270854 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
7a4e9ca227
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270630 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
1620dd543b
Usage of SrcFile,SrcDir,DestFile,DestDir abandoned. Rolling back to
previous state.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270487 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4c06c2bf86
setFile(File) has been replaced with setFile(SrcFile). No backwards
compatibilty issues here as task was introduced Post 1.4.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270379 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4c8ebdb489
This patch forces property setting to follow the same rules as the rest of ant in most tasks. The few tasks where we have not forced immutability will instead get 3 line ugly warnings telling them that they should upgrade or not use the same property name etc.
The reason for just warning them is backwards compatability.
Submitted by: "Erik Hatcher" <erik@hatcher.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270054 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9d58506eaa
Add a little logging to checksum.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269990 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
60f1c746a3
fix checksum's handling of nested filesets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269969 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
b7cfa6d516
1. Ensure javac does not report deprecation warnings.
2. Close fileoutputstream for every iteration.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269966 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9ded403f70
checksum task and condition.
I promise to add testcases later 8-)
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269929 13f79535-47bb-0310-9956-ffa450edef68
24 years ago