Matthew Jason Benson
d5fa871520
<zip filesonly="true"> included empty directories. Bugzilla report 40258.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@437804 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
6b023e669d
fixed AntVersionTest failures with Beta1 - this should fix the problem, let me know if it still breaks for you
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@437589 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
08bfc05623
fix for 40228, add code to introspectionhelper to make addconfigured higher priority than add, and add addconfigured to chainedmapper
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@436992 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
21a1b3cfb4
refactoring DirectoryScanner to reduce duplicated code, tests all pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@436724 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
19397fb959
use array version of tokenize path for rtrim
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@436720 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
e8b96f4bf2
Use a more specific URL, don't shout that loud
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@434506 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
bd6384b62c
deprecate .NET tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@434500 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
1595e25b55
[PATCH] bugzilla 40238 - nested macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@434226 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
8431ffa9d9
bug ID#38732 , rmic task doesn't work with -Xnew and JDK 6.0
Fixed by writing a new adapter, xnew, that extends the forking adapter and sets the -Xnew argument. Tests supplied, though the old test, the one that would fail on java1.6, is still there.
Also made the name matching code of rmic locale-independent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@434030 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
29fface4fb
bug ID#38732 , rmic task doesn't work with -Xnew and JDK 6.0
Fixed by writing a new adapter, xnew, that extends the forking adapter and sets the -Xnew argument. Tests supplied, though the old test, the one that would fail on java1.6, is still there.
Also made the name matching code of rmic locale-independent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@434029 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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
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
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
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
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
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