Steve Loughran
91ee1ced95
This is a little bit of fun; something asked for on the mail list. You can now use -main to specify a new entry point for ant, so if you override ant.Main with a subclass, you can switch to that.
It has a side effect of making ant a generic launcher of things; anything that implements AntMain.startAnt.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421588 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
dad211c19f
forward verify operation to references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421587 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
c08f713b3c
Add extra diags on the error message by printing out java.home
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421585 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
bf042df7ec
Bug Report 40021. The noframes option was not working at all.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421327 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
b19ac2c39b
Fix JUnitReport with includes.
Bug Report 40022
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421315 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
f742b76b79
xhtmlify javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421302 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
176b11946b
manifest issues
br: 37548
Still not totally convinced that the line is not allowed to be 74 bytes long (including eol)
But the specs allow to cut off early, except for the name. So name is allowed to by 70 bytes
long, and only if the name is 70 or 69 bytes long the line will be 74 (73) bytes long. Else
it will be shorter than 72 bytes including eol.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420638 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
370ae530e4
Bug 35850
<subant> now supports nested <target> elements as <ant> does.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420569 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
546743d0fb
adopt consistent quoting on this message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420511 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
ce6cfebf34
Fix CRight
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420343 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
d2e6dcf66d
Fixed length mismatch.
Made use of shared constants in junit package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420337 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
1534f4e063
remove author
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420334 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
b82d12d30f
The crashfile was originally written to the file.toString, now the absolute path is used, hopefully this fixes the gump problems.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420329 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
8239fdac8c
well, if you put the docs in, you need to follow with the code. <hasMethod> looks for methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420305 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
44ecc125fa
Give better information in case of timeout for JUnit test,as requested in Bug 39946.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420194 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
0c2d03d031
Give better information in case of timeout for JUnit test,as requested in Bug 39946.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420106 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
3cf51fd6de
Give better information in case of timeout for JUnit test,as requested in Bug 39946.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420102 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
69679b4828
Bug: 39153
Add notes (log+manual) that <java> does not handle jar+classpath together (more exactly Java itself does not).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419898 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
b49a9ef6f2
<echoproperties> setPrefix javadoc claimed null or empty prefix would be
ignored; instead an error was thrown. Bugzilla report 39954.
Submitted by Ivan Ivanov.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419276 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
94e4ecf005
bugzilla report 38175; javacc needs a jdk version attribute for java1.5 support.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419220 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
30a41589b4
move validation of properties into private method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419143 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
63013f44f3
adding ability to set the location when creating this
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419108 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
9103590149
bug 35607 ; Ant Get task downloads unmodified files when useTimestamp=true
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419104 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
4ce923bc7d
bug 36033; javadocs incorrect
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419097 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
7030e8de61
Fix for pr:39946
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@418839 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
e7734def8b
add support to nested XSL parameters in junitreport, Bugzilla 39708
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@418420 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
f274a4b1ad
missing s in javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@418383 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
761201eca2
If the class invoked by the <java> task threw a ClassNotFoundException,
this was misinterpreted as the specified class itself not being found.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@418146 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
87c740f8a7
make helpers final (HELPERS); put static stuff before instance-level stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417600 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
fe2d7e6728
allow @s before the "real" one in scp uris. Bugzilla 38082.
Submitted by Michael Montuori/Robert Anderson.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417590 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
8d20a46835
<fixcrlf> now supports an outputencoding attribute. Bugzilla report 39697.
Submitted by Stephen Goetze
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417584 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
fe678d1937
roll back deprecation of Project.resolveFile, revert prior changes to code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417126 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
18784a313b
Removed support for Xalan1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417020 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2b20e49c11
as usual
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416236 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
a1448bb07d
Little something to make it easier for things that subclass main to change its exit behaviour. Its been on my HDD for a while. If people object to it, I'll roll it back, as its not anything I'm actively using...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416182 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
094e4cb81a
FileUtils.close
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416181 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
9e440d1f14
trying to get this to work. it is now in the jar.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416180 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
0d2a7bd4fa
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416179 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
9f80d97b98
sort declarations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416168 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
6fdc02e7b2
lets evaluate properties inline. Incidentally, <scriptdef> and the like Do Not do this. Too late to change now, probably.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416163 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
ead9482eb3
2006
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@415899 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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
Kevin Jackson
4f2ff64361
use fileutils.resolveFile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@414442 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
9b89d8d0a3
use fileutils.resolveFile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@414439 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
c719b4d427
2006
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@413799 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
4d3c309f72
change policy of PropertyResource to return the actual dereferenced value.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@413541 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
55a2554cc8
toString() override. Debuggers like them.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@413537 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
90ae788bf2
Performance enhancement by Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@412489 13f79535-47bb-0310-9956-ffa450edef68
19 years ago