Steven M. Cohen
f2d32ac66d
Add initialSiteCommand and siteCommand attributes.
PR:34257, 34853
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278378 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
2a816a5361
* <macrodef> with redefined default values was incorrect. (Fix for
31215 had a bug). Bugzilla report 35109.
PR: 35109
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278376 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steven M. Cohen
fc469f9318
improve new test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278375 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steven M. Cohen
d0cb590844
Based on a patch submitted by Neeme Praks, allow support for a retry count on FTP transfers. Some
servers are unreliable for unknown - this allows for a retry count to be specified to accomodate work on such
flaky servers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278374 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steven M. Cohen
536a84c211
convert serverLanguageCodeConfig attribute to use EnumeratedAttribute pattern
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278373 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steven M. Cohen
3885afdd77
Convert ftp task systemTypeKey and timestampGranularity attributes to using the EnumeratedAttribute pattern
and add some JUnit tests of the new configuration stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278372 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
626c03beb1
Add an echoxml task just for Steve!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278356 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
b746aeaa37
go ahead and close elements with no children
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278355 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
d716a8309d
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278348 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
1480e646f9
Remove clone task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278339 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
fbb9886634
ResourceCollections
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278337 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
b92e6b644f
allow absolute include paths & no basedir for Directory scanning
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278334 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
fa038427c2
Removing constructs to close streams that catch Throwable -> FileUtils.close.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278328 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steven M. Cohen
6706bbc03b
Added tests for the "newer" attribute in conjunction with the servertimezoneconfig attribute in the PUT and GET actions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278320 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
5cf7540ba1
Add isfailure condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278314 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
c09b4ad628
propertyset threw NPE with nested, mapped propertysets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278290 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
140403da7d
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278276 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
5ee66cf257
<scriptmapper>, with tests and docs. At this point we have near total script coverage of all the core ant extension points. Note the refactoring of scriptcondition to give us a better base for these things.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278273 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
3d66f4ef91
Allways create qualified targets in imported build files
PR: 28444
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278272 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
da4aeef1c3
and of course the date change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278262 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
07680bb2e3
tests for junitreport handling various forms of bad data, plus explicit handling of zero-byte files with a different error message..
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278261 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
091610197b
Patch XMLValidate to create a new parser every time, plus test case that verifies it works.
Note that there is an extra change, the return code of doVerify() is now boolean and not void. I have plans for an option to halt the build only if a schema is valid (I'm using ant/gump) to validate XSD files, and want to test that a schema correctly rejects invalid files. This is just a step on the way, while I was in the method.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278246 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
4439a0410e
removes fork option from Apt, in code, in docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278229 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
0a36bf20ec
check for same targets in a source file
PR: 34566
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278179 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
a1102edeba
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278172 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
eaef2bfdbe
add backtrace attribute to <macrodef>
PR: 27219
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278161 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
370ac32906
Now for the fun. Exec adds an osfamily attribute, so you can restrict execution to a platform such as nt, or unix. This propagates to execon, so into chmod, attrib, etc. We could therefore adapt them use osfamily as their way of being unix or windows only.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278155 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
500030a537
Make Zip#createEmptyZip be called again when empty zips need to be created
(similar for overrides in superclasses)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278143 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4b343f551b
The refid attribute of the I/O redirector was not functional.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278141 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
134d95afef
Major speed improvements on BZip2 streams.
PR: 24798
Submitted by: Joerg Wassmer <joerg dot wassmer at web dot de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278137 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
86cd020ce9
Add negate attribute to linecontains and linecontainsregexp filterreaders.
PR: 34374
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278124 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
6bd9a3ed78
Remove "strip-duplicates" behavior from; add condition behavior to, Length task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278120 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
2c68e6ab60
Add subproject Executor to Executor interface + its use to Project & Ant task.
Move keep-going awareness to Executors.
PR: 22901
Submitted by: Alexey Solofnenko
Reviewed by: Matt Benson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278114 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
debc4cf475
s/occured/occurred/g wherever possible - unfortunately we included the spelling error in several public method
signatures. Just like java.lang.Cloneable. :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278092 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4f0b931824
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278083 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
a898d14776
#31885 : <junit> logs more detailed events for individual tests it is running.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278072 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
126daf8b31
Removing old code testing for JDK 1.0 and 1.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278071 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
8a86b8228f
#25832 : deprecating the task names <WsdlToDotnet> and <style>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278068 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
df49dea906
#32463 : deprecate WeakishReference since we can assume JDK 1.2 APIs now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278067 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
41985851e2
change name of handledirchar to handledirsep to be similar to pathconvet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b02d774374
Well, a bit of hackery and you can verify that JAR is signed. But there is *nothing* to verify that the signature itself is trusted. Essentially "jarsigner -verify" is a worthless piece of junk from the security perspective.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278060 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
25e6c497c3
system properties are in <signjar>, so you can (manually) propagate proxy settings. Updated docs and examples.
Patched Environment.java for raw access to the variables, rather than just a string array.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278059 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
53bcbf1d66
Unit Test for PR 32973
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278056 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
450c0f1f2f
Factor out a base classs and add a verification task, a verification which cannot rely on return codes as a success metric, as the program returns 0 even for invalid jars. Hence the disabled test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278052 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
7229e5923e
-env util to get an ordered version number,
-test of tsa only runs on java1.5+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278051 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b41196e3ea
-TSA support, bug 32390
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278050 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
abf8e1ecce
-tests for old and new signjar features written; working
-signjar test patched for offline testing
-fixed SignJar to pass the tests
-doc updates to match tested code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278049 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
f39da1b5b5
unit test for PR 25911
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278034 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a1634b4203
Unit test for PR 24866
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278031 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
aff45f3377
Add unit test for <rpm> failonerror
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278027 13f79535-47bb-0310-9956-ffa450edef68
21 years ago