Antoine Levy-Lambert
3b3a4cd29f
Add spawn attribute to java task as well
PR: 5907
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274992 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
39e82431e7
Keep permissions of directories as well when updating a zip archive.
PR: 21308
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274991 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
27b47d055f
roll-back wrong change concerning executable attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274990 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
aa82230244
added precisions regarding the executable attribute in the <exec/> task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274989 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
57823da95d
suppress unnecessary output from the test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274988 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
15cf412481
Allow several space separated arguments in Perforce globalopts
PR: 14395
Submitted by: Matt Bishop (matt at thebishops dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274987 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
7fb63d79c6
new testcase
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274983 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
878f79b89b
added 2 new entries to WHATSNEW
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274981 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
Antoine Levy-Lambert
edecdeb15f
adding 3 tests showing how include and exclude patterns together interact
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274978 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
849c8815e3
avoid spurious ${baseScratchDest} directory
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274977 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
Stefan Bodewig
0f80c4436c
JDK 1.2 compatibility
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274973 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
69e7d88d2e
changed the implementation of testChildrenOfExcludedDirectory
to use the new test bed system
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274970 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
3efe482d70
this time, this test really behaves well !!!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274968 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
60b87206ab
converted to UNIX format, there were some backslash rs checked in
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274967 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
7aff2d5b92
test really works now, thats better.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274966 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
f0724e7b09
new files for tests of the exec task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274965 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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