Stefan Bodewig
5a381558ae
<copy> and <sync> can now work on non-filesystem resources as well
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@306521 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
582bc0f7f6
docs and tests for unzip/tar and resource collections
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@306519 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
4db83aaa5b
Support filesystem-only resource collections in checksum.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292804 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
e562f879e8
antunit-ize checksum tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292775 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
7204df0def
Fix wrongly-defined build.dir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292551 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
2b05b66c0a
cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292418 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
a7d38cf263
resource collection support for apply and friends
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292251 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
575148a663
resource collection support for xslt
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292249 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
d93d7b0916
Add resource collection support to copy and friends
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292247 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
0ffd5612f5
lay grounds for Schema or Relax NG description generators as plugins in antstructure
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292244 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
c0a1de714b
make it work for directries with spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292239 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
2f69b089b4
Don't try to delete nonexistent resources; switched to a single static
reverse filesystem ResourceComparator.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292236 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
d8a41c88be
dependset + resource collection support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@289262 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
6066238e5e
partially antunit-ize DependSetTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280954 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
ec53cbb02a
delete + resource collection support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280944 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
611d085ff6
update with depends and copy instead of copydir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280657 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
7527ef1962
Antlib changes. One I like, one I am still not sure I have right
1. you can go <typedef uri="antlib:something" /> and the resource is worked out automatically from the URI.
2. if you use antlib://org/ex/resource.xml we load in the resource by its full path, so you dont need multiple packages to have multiple antlib files.
I'm not sure about #2 ; I think it is convenient once you have antlib-only distros (i.e. inline declaration and script; nothing else), but am not sure about the syntax. Maybe
antlib://org.ex/antlib.xml would be better, and more in keeping with WWW URLs; if /antlib.xml is omitted, we would add it by default.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278535 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
afca241f1f
This is an official contrib of the smartfrog tourl task to the apache codebase; its aim has been to set up rmic classpaths, but it turns out to use maven2 its kind of convenient to be able to turn any location into a file: url. That is only, what, 3 lines of code, but what this task does is bulk conversion and a set of unit tests that work.
Docs are to be xdoc generated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278531 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jan Materne
47b6202445
Starting introducing Resources in <copy>. (Committing for SVN-migration)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278508 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
90641f10bb
viewcvs down, relocated file to normal web part
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278463 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
d2369960ba
Unit test for 34963
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278427 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
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
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
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
Steven M. Cohen
7541413480
Add new timestampGranularity attribute to account for the typical case in PUT operations where the client
is HH:mm:ss and the ftp server is HH:mm.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278325 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
Steven M. Cohen
2e04fa9854
add option to read properties file from the user's home directory as well as from the top of the ant tree, where it is vulnerable to being wiped out from cvs
replace operations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278317 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
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
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
Jacobus Martinus Kruithof
c0bb2736d0
Somehat more intelligent way to let windows catch up in java test
PR: 34502
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278168 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
c1153f2f17
time /t gives IOException / error=2 (file not found) on win XP home NL.
cmd.exe should be available on all NT versions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278167 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
fc605cd185
nt->winnt
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278157 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
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
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
33832587a4
Ignore stray dir that can be left behind after an interrupted test.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278070 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
Steve Loughran
a6583cdfa6
fork in the test that says so
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278062 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