Stefan Bodewig
7d8e56b37a
SSH keyfiles can be password-less. PR 33718.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677532 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
fb1e6a07ee
use configured local DTDs in Iplanet deployment tool. PR 31876. Submitted by Daniel Henrique.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677518 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
c51d1ce61f
More sanity in CBZip2*Stream if the streams are empty. PR 32200. Submitted by Kevin Jackson.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677514 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
37820a5018
<sql> "output" attribute now supports any Resource in addition to a file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677383 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
f587706860
<echo> supports an "output" Resource attribute as an alternative to "file".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677355 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
f1edf20a8c
resources/fileproviders
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677349 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
b16652b451
feed Deflater smaller chunks because it seems to copy around the data a lot. PR 45396.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677272 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
e56206c3c5
New task sshsession. PR 43083. Submitted by David S. Johnson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677219 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
fd126ea830
Create remoteDir if needed, More meaningful error when exception occurs. PR 42781. Submitted by Eduard Wirch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677211 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
13bc6453fe
Add preservelastmodified to scp. PR 33939. Based on patch by Sandra Metz.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677187 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
d796e53fea
Add input to sshexec. PR 39197. Based on patch by Robert Anderson.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676906 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
41373655c7
better pointer for local properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676706 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
a0e5b158cf
allow ftp remote verification to be disabled. PR 35471. Suggested by Viacheslav Garmash.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676603 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
d2c31ad398
log where directories get created
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676595 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
c9913e80fa
log where ftp is going to
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676591 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
f97926a108
Allow more control over CSV output. PR 35627.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676560 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
93af3c50df
add local properties; bugzilla 23942
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676095 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
f110a5fb7a
XmlLogger could lose messages when parallel is used. PR 25734. Based on analysis and patch by Craig Sandvik
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675993 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
eaffd9d71b
allow SQLWarnings to stop <sql>. PR 41836.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675968 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
1a85008736
new showWarnings attribute that makes <sql> display SQLWarnings - if any. PR 41836
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675962 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
e7b3093e3e
allow a more lenient matching mode when searching for delimiters in <sql>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675954 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
3523966203
Allow ant to continue even if <sql> fails to connect to the database. PR 36712.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675917 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
543148ca1d
fix resultset und update count logic in sql. PRs 32168 and 36265.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675909 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
72e471f0b4
Allow subclasses to modify the connection and statement instances used by <sql> or to access the cached instances. PR 27178. Submitted by Mike Davis
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675894 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
165e9f5dd2
More cases whete includeJavaRuntime="false" may fail for gcj. PR 34638.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675842 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6644eb5bbb
properly detect MacOS X when running inside OpenJDK. Bugzilla Issue 44889
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675623 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
02b3a7d13c
sql's onerror='stop' shouldn't make the task fail. PR 24668. Based on a patch by Dante Briones.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675579 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
835a8f0cc8
type any
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@673467 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
298b10adaf
45271 comment
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@671304 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
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
17 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