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
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
706051d860
#53617 : fixed POM URLs. (Patch thanks to Eric Barboni.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367076 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
aa467f9a24
test fails on Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1351077 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
4675145678
verifying resourcexists works for URLs, see PR 53383
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1351060 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
Stefan Bodewig
aa43e37a02
vararg calls
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1345954 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
4c1732b369
wrong type in carargs array
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1345827 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
ceaf7b9c69
@Override not supported when implementing interface methods in JDK 5 javac.
(Spec compliance bug fixed in JDK 6 even for -source 5.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1345337 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
0461296c63
#53347 : <javac> by default fails when run on JDK 8.
Follow-up to revision 1236803.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1345316 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jacobus Martinus Kruithof
1d63aeddfa
Bug 51792 - Unable to override system properties with 1.8.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1343304 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jacobus Martinus Kruithof
3d3f26df41
Bug 53036 - FixCRLF does not respect the eol="asis" setting
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342959 13f79535-47bb-0310-9956-ffa450edef68
13 years ago