Jaikiran Pai
f04cc8bb19
Call InetAddress.isReachable instead of using reflection, now that we require Java 5 runtime for Ant
6 years ago
Stefan Bodewig
9d63d7ee24
respect failOnError when running ls checkout - Bugzilla 63071
I've decided to break backwards compatibility with the way I've
overridden runS. The "proper" way would have been to call the one-arg
version from the two-arg version so that subclasses overriding runS
would still get their method called. But I figured it to be extremely
unlikely that such subclasses exist.
7 years ago
Stefan Bodewig
d106673e3e
the task does not extend ExecTask (anymore?)
7 years ago
Jaikiran Pai
8cc8feebb0
Revert "bz-62849 Check for filesystem loops due to symbolic links, in DirectoryScanner and Delete task" since it causes a regression that's exposed by the dirscanner-symlinks-test.xml antunit testcase
This reverts commit 05bfffa247 and 506c3ab47a .
7 years ago
Michael Barker
05bfffa247
bz-62849 Check for filesystem loops due to symbolic links, in DirectoryScanner and Delete task
7 years ago
Stefan Bodewig
f1d2c1551c
use generics properly
7 years ago
Jaikiran Pai
189ad7e59b
bz-62764 Add a debug log message when we skip invalid path elements from the AntClassLoader's classpath
7 years ago
Stefan Bodewig
6b76234c3c
fix javadocs
7 years ago
Stefan Bodewig
048015b7d8
BZ 62424 minimal module support for javadoc
7 years ago
Stefan Bodewig
d100b90032
add nested <args> to signjar and verifyjar
7 years ago
Stefan Bodewig
a5796b5db0
BZ 62534 add support for -provider* args of keytool
7 years ago
Maarten Coene
a746e13665
The information of the -nice and -nouserlib flags was not formatted properly.
7 years ago
Jaikiran Pai
c07bd86684
bz-62686 Correctly handle compression level changes in ZipOutputStream
7 years ago
Jaikiran Pai
21de7add9a
bz-62655 throw a BuildException from augment task if the id attribute isn't specified or if the value points to an unknown reference
7 years ago
Stefan Bodewig
0949736bd2
potential NPE
7 years ago
Maarten Coene
05c88a60c2
The <modified> selector has a new built-in algorithm 'lastmodified' which computes a value based upon the lastmodified time of the file.
7 years ago
Jaikiran Pai
a5fe8b61f1
Mention the support for SubjectAlternativeName in generatekey task
This closes #64 PR at github/apache/ant
7 years ago
Karl Jansen
05d05a0bd6
Add support for SAN extension in GenerateKey task
7 years ago
Jaikiran Pai
9b1b8dbbc6
Revert "Trailing whitespace (cherry-pick 2f64e0b)"
This reverts commit 7df9120ebc .
Discussion in ant dev mailing list https://www.mail-archive.com/dev@ant.apache.org/msg47356.html
7 years ago
Gintas Grigelionis
7df9120ebc
Trailing whitespace (cherry-pick 2f64e0b)
7 years ago
Stefan Bodewig
5addfa6319
use getParent in isLeadingPath rather than string comparisons
7 years ago
Stefan Bodewig
5a8c37b271
take symlinks into account when expanding archives and checking entries
7 years ago
Stefan Bodewig
6a41d62cb9
add additional isLeadingPath method that resolves symlinks
7 years ago
Stefan Bodewig
d064f5f7d3
ensure isLeadingPath cannot be subverted by too many double-dots
https://bz.apache.org/bugzilla/show_bug.cgi?id=62502
7 years ago
Stefan Bodewig
8cfee71c77
document what FileUtils#normalize does in a certain edge case
7 years ago
Stefan Bodewig
29d13b436a
clarify handling of symbolic links
7 years ago
Jaikiran Pai
9e39514034
bz-62499 Revert the change which caused regression in "get" task. Plus introduce a test case to reproduce the issue and verify the fix
7 years ago
Gintas Grigelionis
fa27518dc0
Bz 62324: in debug mode, separate message and exception it was encapsulated in
7 years ago
Gintas Grigelionis
8aa86560ce
Fix javadoc (cherry-pick master)
7 years ago
Stefan Bodewig
f443a85b92
throw exception with useful message if input handler hits EOF
7 years ago
Gintas Grigelionis
291a214ace
Fix javadoc and imports
7 years ago
Gintas Grigelionis
4e3e565ece
Use String#contains() (cherry-pick 92f18cf)
7 years ago
Gintas Grigelionis
520c0c6de1
Revert use of Java 6
7 years ago
Gintas Grigelionis
4c03d7113c
More foreach loops (cherry-pick 061d29b)
7 years ago
Gintas Grigelionis
baba2b85bb
More merge problems
7 years ago
Gintas Grigelionis
64809d976e
Bad merge: missed a diamond
7 years ago
Gintas Grigelionis
8c38eb4c61
Use foreach loops (cherry-pick 1c80d50)
7 years ago
Gintas Grigelionis
8190d10317
Fix javadoc (cf master)
7 years ago
Gintas Grigelionis
f979b44443
Shorten fully-qualified names (cherry-pick 5c6e9ac)
7 years ago
Stefan Bodewig
fee6d73d57
add encoding attribute to in/excludesfile
https://bz.apache.org/bugzilla/show_bug.cgi?id=62379
7 years ago
Stefan Bodewig
2495b9a97e
add basedir attribute to <resourcelist>
https://bz.apache.org/bugzilla/show_bug.cgi?id=62379
7 years ago
Gintas Grigelionis
fd514f77c1
Shorten fully-qualified names (cherry-pick b4243b9)
7 years ago
Gintas Grigelionis
1909e147ee
Checkstyle: indentation/whitespace (cf master)
7 years ago
Stefan Bodewig
857095da51
change stripAbsolutePathSpec's default, credit Snyk
7 years ago
Stefan Bodewig
5e99fc2c1a
add properties created from Runtime's methods
inspired by https://stackoverflow.com/questions/1170337/how-can-i-get-the-number-of-availableprocessors-in-ant
7 years ago
Stefan Bodewig
e56e545658
unzip and friends could monitor where they write more closely
7 years ago
Stefan Bodewig
c851c3102f
add null guards when starting pumper threads
https://bz.apache.org/bugzilla/show_bug.cgi?id=62148
7 years ago
Stefan Bodewig
0d30693274
properly verify preconditions in PumpStreamHandler
https://bz.apache.org/bugzilla/show_bug.cgi?id=62148
7 years ago
Nicolas Lalevée
b38bf68f5c
fix incorrect warning in the junit task when includeAntRuntime="no"
fixed by making the classloader used by checkForkedPath behave like a real forked classpath, thus completely isolated from the launching jvm
7 years ago
Maarten Coene
6745574ec8
Merge from master
7 years ago