Conor MacNeill
5dc5a2c333
grammar ... sorry :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274986 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
4d60eb3197
Similarly to what happens with the delete task, there seem to be race conditions which prevent successful directory creation on Windows.
This change allows a second try.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274985 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
8b8cea1e30
the method isMorePowerfulThanExcludes was returning false on org/apache/tools/ant/taskdefs
in the run-tests target of our buildfile because of the exclude pattern :
<exclude name="${ant.package}/taskdefs/TaskdefTest*Task.java"/>
:-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274984 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
adf6160f99
throw an exception if <exec/> is used with an attribute
which is incompatible with spawn and spawn=true.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274982 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
92245fefff
Some ftp servers have binary as default, so when binary is false
it is good to set explicitly the ascii mode for the transfer.
Problem reported by Michael Nebus (Michael dot Nebus at Pfizer dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274980 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
6ff7df9601
do not scan needlessly excluded directories
PR: 21941
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274979 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
69d9682d5d
Some tasks rely on the DFS ordering getIncludedXYZ used to provide
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274976 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c5aff48932
copyright-date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274975 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
01c75268c3
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274974 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f8ec337892
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274972 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d70354a617
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274971 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
7e82bff60d
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274969 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
35845f7053
This change allows exec to start a process which will run independently of ant.
I have used the patch prepared by Charles Hudak and Peter Nimmervoll, but made it even
simpler, in the sense that I do not connect at all the new process to stream handlers
and the ant logging system, disabling input, output, error, and return exec attributes
in the case of spawn.
Strangely, it works well on Windows if one puts a sleep of one second after having spawned
the process. Why ? No idea.
PR: 5907
Submitted by: Charles Hudak ( CHudak at arrowheadgrp dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274963 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
640b7f41f0
Prevent \r\n from being changed to \r\r\n under Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274962 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
efb4de4096
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274960 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1f9f28daf8
PR: 21520
throw an exception if input file does not exist
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274958 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
e0b6e804f0
XSLT/param@expression used as string instead of as expression as documented
There were 2 options to fix the bugreport :
- change the code
- change the documentation
I hope that the option to change the documentation is OK.
Thanks for the bug report.
PR: 21525
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274957 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
0bd649e567
resolve files sent to chmod
PR: 21865
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274955 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
5a2fc04fee
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274954 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
777590134d
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274953 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
96404f8700
Add support for OpenVMS logicals as "environment variables".
Submitted by: Knut Wannheden <knut dot wannheden at paranor dot ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274952 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d47dfcbc98
Use Execute.isFailure
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274951 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
db75fcb34e
Add <daemons> element to <parallel> to start <daemon> threads which
continue to run after the <parallel> task has completed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274950 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f30f3d21cb
Add OpenVMS support to <exec>.
PR: 21877
Submitted by: Knut Wannheden <knut at paranor dot ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274949 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
fa49c59243
backwards compatibility fix submitted by Jene Jasper
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274948 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
084ff1eb97
whitespace changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274947 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a1539bfad7
Don't let the garbage collector close System.in
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274946 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d589263f67
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274945 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
3e7056356b
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274944 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
cdafd0bc27
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274941 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9dd757251f
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274940 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
Conor MacNeill
89847cdf7d
Rework parallel
Remove need for poll interval (only covered race condition between isAlive
and notifyAll calls
Add timeout capability
Add flag to fail if any nested task fails without waiting for other tasks
to complete.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274937 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
2590a640ce
Remove unused fields
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274936 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3700060efa
JDK 1.2 compatibility
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274935 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
6a434928c1
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274934 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3ca7c90999
Fix inconsistent synchronization
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274933 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
c837881aac
Make some things final
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274932 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
2b58809b0a
use valueof instead of new Boolean
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274931 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f3e3462d86
Add antlib xml functionality
This is patch 7204 the fourth patch of the antlib + ns enhancement. The
issues reported by Stephan will need be
addressed, so the implementation may change
before ant 1.6 is released.
PR: 19897
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274930 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a5ae6a2bfe
Make some private things static
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274929 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
fafd373901
notifyAll instead of notify
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274928 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cc8099c252
Fix inconsistent synchronization
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274927 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
42e30982ad
Fix incorrect finalize override
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274925 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
153a8fa06c
Fix incorrect equals() override
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274924 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
Stefan Bodewig
2a713cc02a
Replace == with equals()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274922 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
c961790179
Fix potential stream leak
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274921 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
dc8100463d
Fix potential NPEs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274920 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b66c87eff7
Remove reflection which is no longer required
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274919 13f79535-47bb-0310-9956-ffa450edef68
22 years ago