Peter Reilly
a643eaf19b
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274939 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
99067d0607
Add multimapping to the copy and move task
Some slight changes from the orignal patch - rename
of ignoremultiplemapping to enablemultiplemapping and
some checkstyle changes
PR: 21320
Obtained from: Evan Easton
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274923 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
24eb5693d6
Coding conventions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274859 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3a35c7d914
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274858 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e580392c2d
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274776 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
5670f30a85
revert funny reformatting accidentially introduced with last commit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274595 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
194f9cafed
Make <copy>'s failonerror attribute swallow exception while copying as
well.
PR: 12999
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274594 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c9f232a4f9
Don't remove basedirectories of <fileset>s that just happen to be
matched completely.
PR: 18886
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274592 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
53e3cf8d77
revert some formatting changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274335 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
04c60dbd61
<copy> and <move>'s failonerror didn't apply to filesets pointing to
non-existant directories.
PR: 18414.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274334 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c84425e271
Add outputencoding attribute to <copy> and friends.
PR: 18217
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274328 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
24436a1c92
Remove email address from sources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274203 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7d868d2e29
Try to clean up after a failed copy.
PR: 16768
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274008 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
3c2bbbcda3
Real tired of seeing email address being abused.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273610 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a444dadc1c
explicitly check whether destFile exists in <copy file="..."/>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273444 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
f9121ee81e
Encapsulate some fields in Task and add some deprecation warnings to coresponding fields.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273157 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
28b68ab7d0
Encapsulate usage of project object rather than allowing objects 7 subclasses acessing a protected variable of their super super super .... class.
Deprecated the variable so that that anyone directly referencing variable will get warning and suggestion to use the accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273155 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
da5a13f8e4
Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6bd8d6e938
Merge changes made to 1.5 Beta2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bd1810c953
Some simple Javadocs - also reduce scope of Javadoc work to public
for now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272450 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
80080d456c
Reduce a small number of long lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272443 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
0e1127c22c
Fix up style issues
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272409 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f613801836
Bug 7552 audit of <copy> and <move> - really make sure state is reset,
even if exceptions have been thrown.
Make the single file copy operation only work for a single nested
fileset that contains a single file (would have accepted multiple
included files and silently used the randomly chosen first one).
Remove private shadows of Copy members from Move.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272365 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
35871351d8
Add a 'failonerror' attr. (PR 4273)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272141 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
536bfb63e3
Redo previous ant.task changes that I had inadvertently not merged.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271779 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f9c551b16e
Promote Filter Reader proposal to main trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271759 13f79535-47bb-0310-9956-ffa450edef68
24 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
c5a6bd9775
clean up at the end of execute so that this instance can be reused.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271579 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2f31d0c964
Add encoding attribute to copy/move so that filtered operations work
on encodings different than the platform's default as well.
PR: Christopher Taylor <cstaylor@nanshu.com>
some year 2002 fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271540 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c32a301126
cvs update -dP -pedantic ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271145 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
a7f0867fda
Fix single-file fileset functionality. Did this ever work (,Peter)?
XP-style: added test case to detect bug, then fixed it. Also, trying to break out of the mould of the "testN" test case names - too brittle and non-descriptive.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271143 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
Stefan Bodewig
f3577cdb5c
License police on task definitions:
(1) Make sure there is a Copyright notice on all files.
(2) Make sure all years in which a file has been modified are
listed.
(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
(4) Change some references from Tomcat to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270658 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
44bbe5b139
Speed up <move>: Try to rename the top directory if we are moving
complete directory trees.
PR:
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270081 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
dd5b247d5a
More setFoo(String) to setFoo(Bar) conversions.
Didn't worry too much about WaitFor's backward compatibility issues as it is hardly a week old.
WaitFor has ben modified this way so that it is consistent with Tstamp and takes in enumerated attributes for unit instead of allowing arbitrary letters/ words suffixed to the time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270074 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6d3fa23159
fix error message in copy task.
PR: 4687
Submitted By: peterlynch@mindspring.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269885 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8cb8f75cdd
If a fileset defines a single file, allow the Copy and Move tasks to work with the toFile attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269779 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
f66cab0ea7
Merge from ANT_145_BRANCH up to Beta 2
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269587 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0bcf1432f2
give a better name to FileUtil's factory method.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269482 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
21426bf475
Move FileUtils into util package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269478 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
fa21d1fe0c
Initial implementation of FilterSets. I've done some major surgery on the
patch from PR1545. There is also more to come.
PR: 1545
Submitted by: Michael McCallum <gholam@xtra.co.nz>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269459 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
770b1dd275
Make <copy> throw an exception if the file to copy doesn't exist.
PR: 1547
Submitted by: Alan Gates <alang@radik.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269002 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9cb6be8a82
add logging message to <copy>
Submitted by: Dennis Gregorovic <dennis@arsdigita.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268980 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
c17ffac927
Fixed empty directory count message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268502 13f79535-47bb-0310-9956-ffa450edef68
25 years ago