Antoine Levy-Lambert
213a09bb50
Add a testcase demonstrating the use of spawn
PR: 5907
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274964 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
92ff35184e
new testcase to show a problem on Windows with \r\n being replaced to \r\r\n
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274961 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
8fd6c92f92
readded xml-apis.jar and xercesImpl.jar in the classpath for the build scripts afer discussion with Conor McNeill.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274959 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
238d9021db
added resolution of PR 21865
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274956 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
Peter Reilly
fb5e84d323
multiple mappings for copy and move
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274926 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
Stefan Bodewig
d6ae851614
Resolve properties recursively to get a more robust handle on circular definitions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274918 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b846bf0a04
Things are even more complicated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274917 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e516f89e7b
Oops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274916 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5eaf0e1c2a
Show bug I've introduced yesterday
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274915 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
10d7667356
resolveAllProperties would be caught in an endless loop when trying to
expand b -> ${a} -> ${a}. It would keep replacing ${a} for ${a} as it
only detected a circular reference if the expansion pointed back to b.
PR: 21825
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274914 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
2366612c9c
New task <jjdoc>.
New attribute outputfile for <jjtree>.
PR: 21526
Submitted by: Jene Jasper <jjasper at abz dot nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274913 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f987ed2417
steal a paragraph from <fixcrlf>'s docs.
PR: 21658
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274911 13f79535-47bb-0310-9956-ffa450edef68
22 years ago