Jesse N. Glick
5db007f358
JUnit 3.8.2 bugfix update.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@431469 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
43b12b92d9
do not add directories when filesonly is true.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@430489 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
32077adf88
make the existing getCommandLine method a decent extension point for the Java task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@430111 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
9b29322cc4
Avoid a useless exception being (sometimes) thrown if a <java fork="true"> task is halted with Thread.stop().
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@429887 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
0c7b42e074
make sure streams are closed, PR 40197, Submitted by Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@429237 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
ea4819ff2d
point to where the xsd lives.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@428417 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
d4b2ec4b55
whitespace only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426649 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
8a7b803fb1
avoid NPE in border-cases
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426648 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
9d42b05f17
- back to File-based algorithm
- cpu enhancement
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426494 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
077ac51e4c
I think Martijn forgot part of his testcase. This fixes the failing manifest test for me.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426279 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
864ca0f2a2
Display the default value for an input prompt sensibly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426186 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
04cad524fc
Actually permit validargs and defaultvalue together in the default handler.
Formerly, would just prompt you again if you just pressed Enter.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426184 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
a7192e8ad9
InputHandler implementations may now call InputRequest.getDefaultValue() if they wish.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426173 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
ea98aac2fa
Correcting use of deprecated API.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426172 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
585cd59bf5
People should not think that "file:../master.xml" is a meaningful URI.
Ant historically supports it but normal XML parsers do not.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@425879 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
e0ab0539c4
Expressing a <dirset> as a string should show matching dirs, not files!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@425875 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
e0e0733703
Javadoc typo only.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@423831 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
edb41817ae
remove <libraries> references.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@423089 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
a1608d62d4
Bug 21042 "Setting XSL parameter to input filename when processed whole directory."
* changed from File.getParent() to String.substring() to avoid changing between / and \
* "dir" defaults to '.' instead of empty string, so dir+'/'+name would not result in an absolute path
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@423009 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
303b70f86b
Bug 21042 "Setting XSL parameter to input filename when processed whole directory."
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@422692 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
f6c650f5ae
2006
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@422621 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
f599537b1b
Bonus extra diagnostics. Handy when the uri is ${unexpanded}
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@422011 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
bf0e475d91
moving log of CVS passfile info down to verbose
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421590 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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
3e1cde904e
Let the base class do the job.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420576 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
Jan Materne
33aa821b3e
A super-call is ok here so you'll get the "standard" behaviour you expect from other BuildFileTests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419882 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
af89f6061e
roll back deletion of public teardown operator, with a comment as to why it is needed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419846 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
5d0494a994
purge some spurious methods
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419538 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
b5aad81339
Remove methods with just super()-calls. (Don't know any more why I added them...)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419535 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
46c57322cc
fix GUMP failures
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419189 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