Steve Loughran
a7a552988f
extending scriptdef
1. nested text gets passed to self.text
2. a fail(String) method takes on the work of throwing exceptions even in languages that dont make it easy to throw BuildExceptions
I have antunit tests for these in the antbook source tree, but not moved them into ant's codebase yet.
Issue: should nested text be something that must be enabled explicitly via a nestedText attribute in scriptdef?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@415817 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
ac92e4e6bd
add tempfile deleteOnExit. PR# 39842. Submitted by Patrick Martin (then slightly modified).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@415695 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
cf36820272
Closing some streams in Manifest, patch kindly provided by John Sisson.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@414940 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
3447bf3760
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@412492 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
31c6b1478b
FTP Account could not be specified in ant FTP task.
Bugzilla report 39720.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@412075 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
ea67f0d44a
ReplaceTokens should allow properties files.
Bugzilla 39688
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@412040 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
4736cc5deb
add antversion blurb
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@411184 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
88f1be2d04
Add support to define the stylesheet as a resource in <xslt>
Bugzilla Report 39407
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@409378 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
33b7ca9e5b
<fixcrlf> used \r (Mac) line endings on OS X, whose proper line separator
is \n (Unix). Bugzilla report 39585.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@407562 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
0c726c8860
check file equality before deleting dest file in case of case-insensitive
system case changing renames. Bugzilla 37701; submitted by Anthony Goubard.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@405846 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
c75ec1bfdb
fix typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@405440 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
59e489be6d
Make <scp> support the sftp protocol. PR 39373
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@405300 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
72b360356e
removal of the jprobe and metamata tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@405267 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
62fd696d56
merge multiple patternsets - PR 38973
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@398170 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
a4e51d3b27
Fixed bug reported by Wolfgang Brodowski.
Bug report 39345.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@397303 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
0df2b1de3f
Minor updates based on the input of Dave Brosius
pr: 39320
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@397298 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
bce9fe013a
Bugzilla Report: 39295
Reporter: Waldek Herka
extract the fileToURL code
use it for tools jar as well as the other paths
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@396563 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
53511a6584
removal of testlet, visual age for java, and icontract optional tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@396131 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
df3fb58d79
Remove xslp usage from ant.
Bugzilla 23455.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@395723 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
6d9a069231
apparently benign but untestable fix for PR 37766.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@393317 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
c5ef1e65dc
changed Thread.sleep(1000) in a synchro method to wait(1000). PR# 37767.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@393316 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
eeda02e875
provide magic properties to control javac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@393282 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
935d76e2f4
sp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@391068 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
d4aa8885bb
sp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@391056 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
dcd356a92b
PR:39027 Request to change 1.5 check to java.net.Proxy for compatibility with GNU Classpath.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@388909 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
f4824b8ae0
38914
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@385654 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
ca49e8ec2b
make packagenames optional
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@382928 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jesse N. Glick
f2078ba20b
#38811 : support for JUnit 4.0.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@381780 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jesse N. Glick
9af46a2ca0
#38799 : <junit> task should work so long as junit.jar
present in <classpath> even if not among Ant libs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@381467 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
926dbff1ab
pr38465 improved recursion detection to allow the same token on one line multiple times.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@374544 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
9a988bb81b
38458 removed log implementation of Task to allow logging from tasks outside a project. The base class has the logging behaviour we need. This does not guarantee that (all) tasks are working outside an project, but at least will not break just because of logging.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@374482 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
bd8be1a39f
make sure classloader cleans up resources in any case, PR 38260, submitted by Stephan Michels
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@373714 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
724483eec5
Bugzilla 37426
Submitted by Maarten Coene
<junit> task doesn't print all the Test names when using forkmode='once'
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@370591 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
b13256ba3a
bug #38245 ; sql broken on Ant1.7; added expandProperties attribute to expand properties in SQL statements.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@368466 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
c141e2c273
support failonerror when file locked or similar issue. Bugzilla report 38175.
Submitted by Georges-Etienne Legendre.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@367316 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
9a672c0324
A bug in SQLExec would prevent the execution of trailing,
non-semicolon-delimited statements. Bugzilla Report 37764.
Submitted by Dave Brosius.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@360155 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jesse N. Glick
7917d87521
#38056 : NPE when using presetdef under obscure circumstances.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@359329 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
2ddb16472e
added the inline handler element to the input task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@359317 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
3fb7be5f43
added the onmissingfiltersfile attribute to filterset. Bugzilla report 19845.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@359262 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
2c04265ceb
add the resourcesmatch condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358863 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
bc6cf071ab
add textfile attribute to filesmatch condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358828 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
89dda67cd7
document GreedyInputHandler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358635 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
a5e27b42aa
document fix for 37958
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@357713 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
4e7f82aede
<echo> gets encoding support. I cannot believe we never noticed this was missing. Wherever I have been echoing out XML, I have been creating encoding bugs waiting to surface.
Also, echoxml closes its file handles.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@356356 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
b2e7f775de
Added PR 37777 and 37765 in WHATSNEW
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@354216 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
596831cb7f
Fix for Bugzilla 13655. Thanks to Simon Law. Proper return code for ant.bat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@354209 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
03d6016910
fix setMapper method. PR# 37760
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@354190 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
5c23d3d1ca
new task loadresource
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@348914 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
39e2e62655
EmailTask was eating SMTP error messages. Bugzilla report 37547.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@348538 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
db060df3c3
add filenamemapper support to <xslt>.
Bugzilla 37604. Submitted by Maarten Coene.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@348509 13f79535-47bb-0310-9956-ffa450edef68
20 years ago