Stefan Bodewig
db63447739
size comparator was vulnerable to integer overflows. PR 54623
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452022 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Antoine Levy-Lambert
c4cc9c42b1
add suppresssystemout attribute to optionally make sshexec silent PR 52070
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1447370 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Antoine Levy-Lambert
8344e79c7d
removing Perforce Ant tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1442023 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
82641d77bb
don't search beyond the start of the archive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1439115 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
1a4946cfd6
improve performance when reading non zip64 zip files, merge from commons compress, based on patch by Robin Power
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1439044 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Antoine Levy-Lambert
f844348eff
Base64Converter not properly handling bytes with MSB set (not masking byte to int conversion). PR 54460
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1437268 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Antoine Levy-Lambert
b103f7e356
PR 54090 Depend task does not handle invokeDynamic constant pool entries - java.lang.ClassFormatError: Invalid Constant Pool entry Type 18
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1436748 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Antoine Levy-Lambert
0282d8fe2e
PR 54026 Zip task on <mappedresources> that excludes certain files by way of the mapper results in a NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1429613 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Antoine Levy-Lambert
a3bbe9f596
PR 53437prevent ssh tasks from prompting for kerberos username/password under Java 7
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1429602 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
98f306fa84
re-use a bunch of temporary arrays - merge from Compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1429370 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
1fe6b17d5f
another fix from commons - tar doesn't use specified encoding when reading GNU long names
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1429212 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
171220cb33
PR 54374: support status code 307 redirects in <get>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1429209 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
995856afcb
one more fix from Compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1426339 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
73d3298e62
merge recent fixes from Compress' tar package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1426337 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
ca86f16776
Inspired by PR 54056 I looked for thread-safety issues with HashMap in our code - nothing major found
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1407856 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
eb08ea9fd0
Add the possibility to register a custom command line argument processor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1385262 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
b031b8766d
getAbsoluteFile is useless since as the javadoc of File.toURI clearly explain, produced URIs are absolute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376167 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
97d423a273
Don't mess with classloading of the launcher
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376031 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
055f4eb650
Make Locator.fileToURL and replace its use by FileUtils.getFileUtils().getFileURL()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376019 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
9caeed5081
Java 1.5, continued
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376015 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
7829faf36a
To make an URL of a file, use FileUtils.getFileURL, which seems to do the job correctly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376014 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
62ebdd1f76
organize imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376012 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
da5f3bfd25
java 5, continued
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375571 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
3d706ab818
java 5 updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375137 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
d25488cbbb
Any FileResource whose represented File has a parent also has a basedir.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375136 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
b3f4d20328
java 5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1374458 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
5f3fe87dea
JDK 5 javac is apparently buggy; @Override should be allowed on methods implemented from an interface.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373836 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
f7f699feb5
Rounding out signature of DeweyDecimal and writing some tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373811 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
38688e7583
Add a log mode which logs nothing but ant task output and build failures; useful for using ant output in scripts, like for cacti for instance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373334 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
944210b384
BR 53550, thanks to Tim Pokorny
Improve the resolution of the extension point to bind to:
- first try the extension point which might be in the same file
- then try the one in the root file
Still some work to do: there might be intermediate file in the import stack which we would to resolve the name against, but the ProjectHelper doesn't hold the prefix stacking.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373326 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
d377aa50f3
BR 53549
Make the ProjectHelper class expose the method which properly bind targets and extension points.
Thanks to Jean-Louis Boudart
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373321 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
b8c35567ee
NPE in ExpandProperties when input is empty. PR 53626
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1372266 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
439545ad27
#53622 : faster VectorSet.retainAll.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367741 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
4e97d0d888
Fix the test of the unless condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367459 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
9585ec663a
Wrap the if/unless attribute evaluation by the PropertyHelper into the generic case via a Condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367335 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
1885612e5d
Allow Condition as if and unless attributes of targets and extension points (Java API only)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367306 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
e5f3393251
Allow Object to be injected as attribute of tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367303 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
261050f72e
fix the ponctuation of the error message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367299 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
e8a0f1f130
#53571 : ClassLoader problems with Subclass of JUnitTask
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1363748 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
3ea65f1cea
AntUnit test for commandlauncher and a typo fix by Vimil Saju
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1353811 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
6e192308c2
packagemapper mapped too uch with handlediresep true. PR 53399
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1351053 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
ca10b52e34
Add a longfile='posix' option to tar task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350904 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
b817fdb2b8
Properly expand bzip2 files with multiple streams in <bunzip2>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350883 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
a67cf020bd
Merge bzip2 input from Compress, bringing support for files with multiple streams
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350882 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
2e5b53fa10
merge tar package from Compress, bringing some POSIX tar support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350857 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
b43f4224d8
PR 52706: allow command launcher to be selected via a task. Submitted by Vimil Saju
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350461 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
abec7e48ef
PR 52706: allow command launcher to be selected via a task. Submitted by Vimil Saju
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350460 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
91daac5ad7
#53405 : ExtensionPoint doesn't work with nested import/include
Thanks to Jean-Louis Boudart
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350000 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
333b90446c
some stray @since tags from CC
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1346027 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
dee95e3acc
merge Zip64 support from Commons Compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1346025 13f79535-47bb-0310-9956-ffa450edef68
13 years ago