mclarke
6af3818376
Re-introduce ability to build JUnit task for only JUnit3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1471109 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
mclarke
a1d12934e3
Fixing external dependency loading in JUnit task. PR 54835.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1470668 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Stefan Bodewig
ef4c94df7d
Provide more control over Zip64 features, in particilar turn them off in <jar> by default - this might fix bugzilla issue 54762
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1462911 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Stefan Bodewig
30a0e6bf89
intermediate stream is not needed and may even cause issues with Zip64 support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1462890 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jesse N. Glick
aa200450f5
Still more diagnostics for #54641 .
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453400 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jesse N. Glick
d5e0cccd5d
Unused import.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453399 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jesse N. Glick
aea016a70f
StringUtils.replace is obsolete.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453133 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jesse N. Glick
3e7e9989ab
Diagnosis of XMLResultAggregatorTest.testFrames failure on Java 7.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453122 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jesse N. Glick
cefa594fa6
Restored Java 5 compilability.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453118 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jesse N. Glick
d5131086b9
Was not compatible to make systemClasspath (and systemBootClasspath) final; the NetBeans Ant integration in fact overwrites this value (for a reason).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453111 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jesse N. Glick
4e101e3c49
Junit → JUnit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453094 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Antoine Levy-Lambert
3930d3e938
JUnit4 tests marked @Ignore do not appear in XML output. PR 43969
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452674 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Antoine Levy-Lambert
eb46493de0
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452123 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Antoine Levy-Lambert
06dc6c0eea
adding an encoding attribute to the contains selector
StringResource default encoding becomes UTF-8
changing ResourceUtils to use the String's encoding when copying from a String
Bug Report 54606
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452118 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
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
13 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