Antoine Levy-Lambert
33693452f1
resolves bug : propertyfile does *2 instead of +1
actually due to field value of PropertyFile.Entry class overwritten
after execution with the result (contains the increment before execution)
PR: 21505
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274810 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
88c40c7306
Allow FileUtilsTest to run on DOS/Windows when current drive letter is not C:
PR: 21383
Submitted by: Brad Clarke ( bclarke at booksys dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274809 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
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
Stefan Bodewig
ad9c15103d
Finish implementation of ZipFile, use it in Expand (AKA <unzip>).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274743 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
Antoine Levy-Lambert
ebe2b05bb3
Make FileUtilsTest pass under cygwin
I found doing this how to tell whether one is running under cygwin
if the first letter (drive letter) of System.getProperty("user.dir")
is lower case then one is under cygwin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274728 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9f6981d2a2
Get Project#getTaskDefinitions and Project#getDataTypeDefinitions
to emulate old behaviour
This fixs the <antstructure/> output.
Provide ComponentHelper#getAntTypeTable to provide the full table
Revert changes to ProjectTest
Update Typedef.java (forgot this in previous commit)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274723 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
da037ebd0f
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274713 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
2f59f52b63
Fix ImageTest for Windows environments.
The test was failing due to non respect of the date/time granularity of the
filesystem.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274711 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
76c58c9b00
Make ClassFileSetTest pass under Windows.
Scanned files are represented with File.separator, not with a slash under Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274709 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1d273bec1a
An error was happening under Windows when executing the cleanup,
test3.zip could not be deleted.
This is now fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274708 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
b4cde9dabb
Use java.io.tmpdir as location for temporary files
in FileUtils#createTempFile (when the directory parameter is null)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274706 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
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
af90534b7b
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274699 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
Antoine Levy-Lambert
760f5d26a1
Make FileUtilsTest pass on my machine (Windows 2000, JDK 1.4.1_02)
2 changes :
- there was no luck with setting the date/time of a file to 123456
milliseconds since the epoch
Instead, I set the date time of the file to current time + one day
this works.
- I changed the test toURI, specs beginning with / or \\ turn URIs
beginning with file:///C:/
Note :
I observed an error in the date/time returned by java and what I would
expect theoretically under Win 2000 and JDK 1.4.1_02
of 16,344,000 (16 millions of milliseconds), slightly
more than 4 and a half hours.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274693 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
Stefan Bodewig
406fbb2aca
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274687 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
Peter Reilly
e64467f9c0
Added the mapper unpackage
PR: 18908
Obtained from: Brad Clark
Submitted by: Peter Reilly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274671 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b5aa31ebd0
Wrong date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274655 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
Stefan Bodewig
f82a8c58db
Log all statements in <sql>
PR: 20309
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274640 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
Bruce Atherton
918f0f6af7
Finally added some documentation on the Selectors Test Framework
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274626 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
Stefan Bodewig
44c504d4c6
Copyright line fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274618 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
3732442442
new selector <type> allowing to sort files only or directories only
can be extended to support selecting
- is file readable
- is file writeable
- file exists
- file is hidden
PR: 20222
Submitted by: Jeff Turner (jefft at apache dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274617 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
b3e94490f5
removeLeadingPath didn't work as expected when trying to remove a path
from itself.
PR: 19979
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274596 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
08c47d7e62
Add nested <propertyset>s to <java> and <junit>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274562 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