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
12 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
12 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
12 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
Stefan Bodewig
adede93ab1
port Tomcat's logic for setting JAVA_HOME to an script - PR 52632
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1434680 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Antoine Levy-Lambert
80cdef498a
fix indentation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1430692 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
41798d8d13
2013
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1430144 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
b5849676d8
Add a failing test case to illustrate an unexpected behavior on self-referencing Antlib (more explanation on ant-dev@ in a few minutes)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1385269 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
ee5f3b4185
Use the output dir which get cleaned up in the tearDown
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376403 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
dba10d633f
Fixing test: javac 1.5 doesn't seem able to infer properly types here (incomparable types: org.apache.tools.ant.types.Path and java.lang.Object)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376401 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
c88ff163cd
try to fix a random failure on Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376286 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
579f8745ec
switch to more informative idiom
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376017 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
27dfb191b1
Java 5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376016 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
e488c5bcbe
try cross-platform again; apparently my Ant-fu is horribly rusty :o
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375709 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
0b3dbe0ca8
this kind of problem should be rare and should only affect recompiles, thus doesn't impact drop-in BC
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375668 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
bb05312e66
cross-platform
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375570 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
Matthew Jason Benson
f0579bdbb7
improve readability of test failure info
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1374344 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
d8aad6eec2
Add .gitignore for thoses like me who need to "commit" while being offline
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373336 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
f194328382
Ignore Eclipse settings files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373335 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
Jesse N. Glick
a6aa4e67a9
Stronger tests in preparation for #53622 .
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367736 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