Kevin Jackson
3af802db9e
remove blank line (test from ubuntu dev box)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433942 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
b048f28e2e
fix testcases with default target
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433857 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
52032432d7
better formatting of the error text
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433796 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
9ae85e523b
This is slick. Instead of printing ANT_HOME/lib in the message, we print the real directory set where libs can be added. And, if ant.home is not set, we decide this is an IDE and tell the user that too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433794 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
7bf41207e0
change error code of the launcher. We could change it from 2, its now in a constant where we can tune it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433793 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
99abfd7bf5
Fix IDL/IIOP handling of rmic-with-backwards compat; added tests for everything working.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433792 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
1c397e43c2
Pre-beta commits of some local changes I've had on my system.
here, java returns the exit code in an exit status exception, which extends BuildException. This lets tasks that want a particular exit code catch it and filter out values.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433701 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
9b30afed0e
make XML decl accessible
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@432871 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
136c2556cc
Providing more information in case a regexp impl is unavailable for unexpected reasons.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@432728 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
69c95afa02
Some Javadoc corrections.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@432709 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
1a81cc1fdf
Minor optimization to save maybe 1-2Mb of heap used to create a 30Mb ZIP file.
(extraFields is usually empty, so leave null unless really needed.)
Heap usage from <zip> still intense, however - some ZipEntry's (another 1-2Mb)
but mostly String's (9Mb!) from all the FileSet's which are kept in memory.
For the same 30Mb (compressed) ZIP file, need about 15Mb heap at peak.
Not clear whether that could be improved without breaking B/C. Another day.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@432410 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
869b123c04
#40281 : "Cannot resolve path" error thrown gratuitously.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@432379 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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