Antoine Levy-Lambert
2e4d3619aa
added 3 new testcases for DirectoryScanner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274808 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
f463bd2cab
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274774 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
28c5ebe193
fix for concurrent access to list exception for rhino testcase
The original script added tasks to the current target.
This is not a good idea, as an the task list of the target is being walked.
A change made recently uses an iterator instead of an enumerator to walk the list.
The iterator picks up the fact that the list has been changed
and causes the concurrent access exception.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274772 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
12d6c01879
More checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274766 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
77f91dc2d9
Fix up style errors
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274763 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
602bfa72c7
Checkstyle update
I've updated the checkstyle buildfile (check.xml) to the
latest version of checkstyle. I've also updated
the HTML stylesheet and created two new stylesheets to render
the checkstyle report in plain text and the xdoc format we
use for the other Ant documentation.
I've also moved the checkstyle related stuff into its own area.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274747 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f2eb856ffd
Add support for filename-encodings other than UTF8 to <untar>.
PR: 10504
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274746 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ceece4c206
fix translate test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274735 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
c1288a2b32
The translate task did not translate tokens that are placed too close together.
This change fixes this. Thanks Tom, sorry for the time it took to process your patch.
PR: 17297
Submitted by: Tom Eugelink (tom at tbee dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274730 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8701272b24
Second patch from antlib update as described in
http://issues.apache.org/bugzilla/show_bug.cgi?id=19897
This patch
* unifies the type and task definitions into one table
* types and tasks are represented by a AntTypeDefinition object
* taskadapter has been generalized to a typeadapter
* <typedef/> has a number of new attributes:
- adapter
- adaptto
- onerror
* <taskdef/> html page updated to refer to <typedef/> page
PR: 19897
Submitted by: Peter Reilly
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274718 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a27bac8c23
fix tests that failed because of wrong case in filenames
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274705 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Erik Hatcher
931a037496
#20767 - adding totalproperty and todir attributes to checksum task - submitted by Aslak Hellesoy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274702 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Erik Hatcher
16a5d1b56c
Aslak prodded: issue 20767 - enhancements to checksum
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274701 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ab8b8ef566
Allow <touch>'s datetime attribute to accept seconds as well.
PR: 21014
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274700 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
cdd1db5a99
PR: 17195
Submitted by: Markku Saarela
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274698 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
91ae25fffb
Demonstrate PR 20840
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274694 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
fddadc930e
Demonstrate Bugzilla Report 20969
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274691 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e00d04fd4a
Rework scriptdef to use DynamicConfigurator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274676 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a812b0a411
Add url attribute to the properties task
PR: 20749
Obtained from: Andrew Ferguson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274675 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b198322c41
Allow tasks to be defined on the fly using scripts
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274654 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
2bbb06868a
Support for SMTP over TLS/SSL in the mail task
PR: 19180
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274636 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
abf3432912
PR: 19897
22 years ago
Peter Reilly
4e2a4f9c95
fix for bug 20306 - regex handling of $ in replace string
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274633 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
35a33fd9bb
Implementation of SMTP-Auth for MimeMail, available through <mail/>
and MailLogger.
PR: 5969
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274624 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ea42c65bec
changes in subant mainly concerning iterations done inside a dirset
new attributes ignoremissingbuildfiles and genericantfile
genericantfile allows to run the same build file with different base dirs
it is not compulsory any more to set the attribute target to quote quote to run the default target
PR: 18715
Submitted by: Andreas Ames (Andreas dot Ames at tenovis dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274600 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
48b5c5c2b5
Actually, the test for 18886 was supposed to work as is, this is a better test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274591 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
651d6a52eb
Demonstrate bug 18886
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274589 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f8269f189b
Demonstrate bug 11732
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274588 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
9e79f648a4
Make <echoproperties> support nested <propertyset>s.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274575 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
56d0ca9a29
Add nested <propertyset>s to <ant>, <antcall> and <subant>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274561 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
06880eabdd
outputencoding and fixlastline attributes for <concat>
PR: 12511
Submitted by: Peter Reilly <peter dot reilly at corvil dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274557 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f1bc629e34
A new task that allows users to modify the list of default excludes.
PR: 12700
Submitted by: Gus Heck <gus dot heck at olin dot edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274554 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
57d9d5f429
Demonstrate bug 19449
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274542 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6003b0fe88
Demonstrate bug 19323
Submitted by: Jim Scarborough <jimes at hiwaay dot net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274524 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b113154a3a
<unzip> can now deal with self-extracting archives.
PR: 16213
Submitted by: Jason Salter <jasonsalter at hotmail dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274512 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
9eb6d592ed
Enable previously disabled head-tail tests.
Make StripJavaComments recognize and retain Mac line endings.
PR: 18476
Submitted by: peter.reilly@corvil.com (peter reilly)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274506 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
b404a282b2
Make Definer use the new ClasspathUtils, make ClasspathUtils even more
reuse-friendly.
PR: 19213
Submitted by: Marc Portier <mpo at apache dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274505 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9e1f5e1853
Add testcase for containsregexp selector.
Submitted by: Jay <jvandermeer2 at comcast dot net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274503 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
6d360a5aff
avoid backward compatibility problems for lib attribute of war task, so relax ZipFileSet#getRef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274501 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
295ea16dac
allow to set a property with the exit code of java bugrep 19099 submitted by Donal Quinlan (donal at savvion dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274500 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
e596d350ae
filter readers modify lineendings.
PR: 18476
Submitted by: peter.reilly@corvil.com (peter reilly)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274499 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
a531c96941
make the WarTest pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274484 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
da4c9d0f1d
Correctly echo selected properties.
PR: 18588
Submitted by: Gary Gregory <ggregory at seagullsw dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274473 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7e87d0f971
Beanshell and Apache BSF don't like each other. As the test is going
to use Javascript anyway, the check whether scripting is available
should do so, too. In particular, the test will now checke whether
Rhino is there, which the old test didn't.
Remove excess logging that lead me to think the test was failing
instead of skipped.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274462 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jesse Stockall
d76fda652a
Add ability to overwrite or skip writable files during 'get latest' or 'checkout'
Add ability to specify timestamps for files retrieved during 'get latest' or 'checkout'
Fix label length issues
Other minor fixes unearthed after major refactoring of VSS tasks
PR: #11562 #8451 #4387 #12793 #14174 #13532 #14463
Submitted by: Nigel Magnay, Keying Xi, and others
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274457 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jesse Stockall
5722812dbe
Better detection of classes passed as method params like 'System.out.println(Outer.Inner.class);'
PR: 13273
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274456 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
9f6552fadb
New tokenfilter for filterchain
PR: 18312
Submitted by: peter.reilly@corvil.com (peter reilly)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274449 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
f87fdc99c7
New "skip" attribute for HeadFilter and TailFilter
PR: 18849
Submitted by: jan@materne.de (Jan Mat�rne)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274446 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
84cab9935d
Demonstrate bug 18625
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274423 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4c99d3e1cd
There is no bug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274420 13f79535-47bb-0310-9956-ffa450edef68
23 years ago