Stefan Bodewig
983f0dbc16
fix NPE when running inside a container that puts non-String values inside the system properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@671018 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
018b7a9ded
whitespace changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@669465 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
a7e2a93ee4
Remove synchronization around logging of messages in order to avoid potential deadlock - see PR 45194
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@669464 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
ebff9b41e5
revert broken stuff
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@668698 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
c00d3f670b
forgot to track the fixed issue 45190
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@668636 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
fa52b460c1
Add a magic property that lists the targets that have been specified in order to run the current project. Based on patch by Colm Smyth (just like rev663051 was). PR 44980
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@663061 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
792a2f16f0
Add a new property to hold the current project's default target
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@663051 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
521890b429
bugzilla 44731: index out of bound in globmapper (due to overlap)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@644044 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jesse N. Glick
7546276d2f
Adding test case and further note for #42263 w.r.t. ${ant.core.lib} propagation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@643076 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
1cb20ea690
fix for 43799: ManifestClassPath cannot traverse system root
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@640118 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Stefan Bodewig
92ae184d31
track JUnit change in WHATSNEW, bump copyright year, add some Javadocs to new JUnit methods
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@630093 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
00c53aef12
Bugzilla Bug 43624
symlink task failonerror="false" does not stop build from failing when 'ln' command returns non-zero
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@597455 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
9f31cffbb1
43936: <fixcrlf> errors are unhelpful
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@597453 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
06dfd6ef5f
43799
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592516 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jesse N. Glick
cafa34ca08
Various microoptimizations to reduce I/O load of common tasks, esp. no-op <javac> and <depend>.
Many inner loops altered to make just 1-2 system calls rather than 4-5.
You can easily see how wasteful the previous code was, and find the culprits,
by patching r/o java.io.File methods and adding to -Xbootclasspath/p (or use AspectJ). E.g.:
public boolean isDirectory() {
System.err.println("isDirectory: " + this); if (Math.random() < .01) Thread.dumpStack();
// as before...
}
Ant still makes an order of magnitude more system calls to do what seem like simple operations
than you would think necessary, but this patch should at least improve the situation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581748 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jesse N. Glick
9cfaa985ac
noting #43398
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@581206 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
81ae3f7447
bugzilla ID 38199, symlink fails on second call
bugzilla ID 43426, <symlink> cant create a symlink over a file
solution is the same: opt for ln -sf after trying to do it internally. We could perhaps drop all ant deletion operations, for a much simpler operation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@577281 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
9261f98e42
bug ID 43348: add FileProvider interface for file providing resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@576771 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
9d30d3cd2a
Improved InterruptException handling, especially from Parallel task. Should also solve Pr 42924.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@576177 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
9cd9731a62
Added a basic profiling logger.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@576173 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
7e05b3d981
pr33969: tempfile task / FileUtils.createTempFile now actually creates the file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@574339 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
02fce032ed
pr 41724: FTP task fail, FTPClient may return null in its arrays.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@574313 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
c7e4640df9
Bugzilla: 43324 stackoverflow
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@573537 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
09c490d485
Spell check.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572921 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
32ccb517d0
remove resolution for references that are not resolved during normal runtime execution
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572374 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
9cbd4b06f0
update message about reference handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572309 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
a9592b869e
Bugzilla 43292: filtermapper could throw an NPE. - change FileUtils to return an empty string rather than null for zero-length files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572302 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
f14a2ef8c3
Improvement of handling mappers in the touch task. datetime and millis now take precedence over the timestamp on the original file. Bugzilla report 43235.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@571970 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
eaa4b86d6b
Bugzilla 43114: package-info.java repeatedly compiled
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@568503 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
b0bdced687
Bugzilla 11270: add errorOnMissingDir attribute to fileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@568495 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
3db7169d69
adding componentdef to WHATSNEW
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@568040 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
7896dac845
fix for bugzilla 43121 - war task inconsistent bahaviour
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@567744 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
b97014296c
forgot to commit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@563054 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
a6f974156b
merge from branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@561056 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
b1eddca62b
<property> now supports xml-based property definition. Bug 42946.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@559386 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
e413801422
Regression: Path subclasses that overrode list() stopped working in
resourceCollection contexts in Ant 1.7.0. Bugzilla 42967.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@559096 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
b83cd5bb71
Bugzilla: 40776 work-around for javac generics bug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@558058 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
5820f9ffda
add the jar change to the WHATSNEW file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557377 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
41e30df4a5
bugzilla 42802: merge back into HEAD
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557016 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
9d227828e9
fmt/refac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@556987 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
b27c984421
update WHATSNEW to the best of my ability
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@554396 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
7259f731ec
Br 42377, java, failonerror = false, timeout (or other exception) should have nonzero result value. (error value chosen in-line with the Exec task).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@552208 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
1c1b51bd76
<scriptcondition> now prefers evaluation result/return value over value property.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@551592 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
63fb4d459b
"rawblobs" attribute added to SQL task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@551323 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
f054d17b29
bugzilla: 42739
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@550807 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
31b5a1c762
update whatsnew for the <available> change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@550557 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
22a90a817b
Bugzilla 41596
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@542819 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
a7bbb2a52d
bugzilla request: 42301 add default for text element in macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539547 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
b5e606fe0e
Logger work.
The main change is the new BigProjectLogger that makes reading the results of very big chained/nested projects manageable.
Some pulling up of helper methods into DefaultLogger, and a bit of cleanup there; plus the appopriate documentation changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539477 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
1f0bd8f401
bug 42275...handle failure of File.toURI() by printing the message (too noisy?) and falling back to our own code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539002 13f79535-47bb-0310-9956-ffa450edef68
18 years ago