Stefan Bodewig
a39aaa86b6
Create parent directories for destination files if they are missing.
PR: 20840
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274695 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
02307f7dea
Make Expand behave like DirectoryScanner if a pattern ends with a
trailing slash or backslash.
PR: 20696
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274692 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
93c2ff54b0
PR: 20966
Submitted by: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274690 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
Antoine Levy-Lambert
5abbef537e
Fixed imports, replaced import java.io.*; by each of the 4 classes
really used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274686 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
f766a91473
Doc fixup. I have just started to use this: I like it, but still need to understand all that it does.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274684 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
345fe8ef34
xdocs fixup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274683 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9b60f270d4
Allow JUnit to reuse the same classloader when fork is set to false
Submitted by: michael_beauregard at transcanada dot com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274682 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1a12c40a4c
Prevent <ejbjar> Borland implementation
from being blocked by java2iiop warning messages
PR: 19385
Submitted by: Benoit Moussaud (benoit dot moussaud at criltelecom dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274680 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
503e2b978e
Create the temporary file for output of FixCrLf in the default directory
of FileUtils#createTempFile
This default directory is presently the current directory where ant is running.
I think it should be changed to the java.io.tmpdir
PR: 20870
Submitted by: Antoine Levy-Lambert
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274678 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
03e9cb96be
fix the issue : VAJRemoteUtil calls getAbsolutePath instead of getPath
PR: 20457
Submitted by: Douglas Reith (douglas_reith at yahoo dot com dot au)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274677 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
5ba6ab78ce
get UpToDate task to log at verbose level when the target file does not exist
PR: 20848
Obtained from: Eli Tucker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274674 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Magesh Umasankar
8b31f08c8e
Throw a build exception if a public constructor that takes in a Reader as its
sole argument is absent.
PR: 20768
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274673 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
Antoine Levy-Lambert
0b4c9ae65f
add cvsroot and package attributes to the output of <cvstagdiff/>
PR: 16081
Submitted by: Rob van Oostrum (rob at springwellfarms dot ca)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274670 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
3a1db4b0d8
fix handling in cvstagdiff of date time formatted as "dd-MM-yy hh:mm:ss"
PR: 15995
Obtained from: Rob Van Oostrum (rob at springwellfarms dot ca)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274668 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
4ba14096c1
This is not yet linked into <java> but its the intent, or maybe commandLineJava: a datatype for configuring assertion options. This'll be a fun one to test :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274667 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
0ad112c8f7
refactoring out something that I see in too, too many places in datatypes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274666 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
bfc76ead3f
nobody can hide from the comment police
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274665 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
bd8523c8a4
Importing COM into .NET is adding injury to insult, but if you had to unit test a COM object, how would you do it?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274660 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
f97fcdb35e
Improve error messages when creating tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274659 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
1d35a8c41f
Resolve memory leak when ejecuteJava cleans up AntClassLoader
PR: 20264
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274658 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
539d2cdb76
Various I/O fixes to support input from java tasks.
Addition of a -noinput flag to indicate input is not allowed
to prevent locking up non-interactive builds.
PR: 18133
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274657 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
ef0075ae4c
Add support for -target to Jikes compiler adapter
PR: 20580
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274656 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
Antoine Levy-Lambert
ec0ed53362
Fix hopefully bug 18956.
The code has been tested on Linux by Adam Ambrose
P4HandlerAdapter will now delegate to PumpStreamHandler
PR: 18956
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274653 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
cdf128015b
Fix for 20499:
When a proxied task throws a build exception, or other
exception, the taskadapter reports this at
error level. This is incorrect as the
intent of taskadapter is to transparently adapt
a task, the exception should be reported
at verbose level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274649 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
b91587431f
Make sure that javac source files in lists passed to external compilers
are always quoted in the default external compiler implementations
Also replace backslashes with slashes in path names containing spaces
PR: 10499 17683
Submitted by: Joe Boon (joe dot boon at cdcsolutions dot com) and
Anne Kinsella (anne dot kinsella at iona dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274642 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
c5e1c21947
Revert logic that performs the <os family="win9x"/> check from "I know
all that are not win9x" to "I know all thar are win9x".
Note that the list is as authoritative, complete and real-world-tested
as my knowledge on said platform. ;-)
PR: 16611
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274641 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
2f8193c6bb
config attribute added to set the location of a specific PVCS .cfg file
PR: 9752
Submitted by: Jon Dickinson (dickinson dot j at ucles dot org dot uk )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274639 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
85b2032078
changed email address of Rob van Oostrum to rob at springwellfarms dot ca
PR: 14709
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274638 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
202be1f5e1
Adds functionality that makes jboss element look for jbosscmp-jdbc.xml
descriptor if ejbjar has cmpversion="2.0" set
PR: 14709
Submitted by: Rob van Oostrum (rvanoo at xs4all dot nl)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274637 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
Stefan Bodewig
07119705a3
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274634 13f79535-47bb-0310-9956-ffa450edef68
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
bca445f362
Followed Peter Reilly's suggestion and added support for the selectors
<different> and <type> in SelectorContainer and MatchingTask.
This type of changes will soon become history.
PR: 20220
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274631 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Erik Hatcher
2b980517fb
Apply patch from #20270 - adds if/unless clause to junit formatters. Submitted by Eli Tucker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274630 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
e1fc0ae7ec
Remove dependency to JavaMail for MailLogger by using the Mailer class
and Class.forName() instead of the MimeMailer class directly
Also remove another bug in the MailLogger which would have forbidden to send plain mail
PR: 5969
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274629 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
ab7c90fc67
Remove split System.arraycopy that is a leftover from times where we
forced the -jar argument to be the first on the command line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274623 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3e61552036
fix the completely broken clone() implementations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274622 13f79535-47bb-0310-9956-ffa450edef68
22 years ago