Matthew Jason Benson
3ab2f5cd55
make different line endings different lengths so file sizes will differ,
increasing the validity of the test.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358849 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
bc6cf071ab
add textfile attribute to filesmatch condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358828 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
456488aec5
fix failonerror="false" includeemptydirs="true"; reported by Alexey.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358653 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
b96c217e11
international tests for ManifestClassPath
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@357651 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
4e7f82aede
<echo> gets encoding support. I cannot believe we never noticed this was missing. Wherever I have been echoing out XML, I have been creating encoding bugs waiting to surface.
Also, echoxml closes its file handles.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@356356 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
54be7a626d
remove java resource support from URL resource in favor of JavaResource.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@351741 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
ef830de68e
Add support for arbitrary resource collections to <zip> and friends, preserve permissions read via a <tarfileset>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349643 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
d99445bb67
support for arbitrary resource collections as sources in <uptodate>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349641 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
c51cce56b8
support for filesystem based resource collections in <signjar> and VerifyJar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349639 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
3af551b1bb
support for Touchable resource collections in <touch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349637 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
861a449064
resource support for <loadproperties>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349636 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
4abb17d87b
new resource <javaresource> for stuff that can be loaded via a classloader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349633 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
6a71283099
properly convert URIs back to file paths when non ascii characters are percent-encoded
matches with the change in FileUtils.toURI recently done
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349552 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
db060df3c3
add filenamemapper support to <xslt>.
Bugzilla 37604. Submitted by Maarten Coene.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@348509 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Dominique Devienne
29435d2c47
Add new manifestclasspath core task. Make BuildFileTest call tearDown target automatically in build file test if one is defined.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@348500 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
98f8daca39
add a test case for bugrep 37348 in the xslt task, also remove
unneeded imports in FileUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@345256 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
5e407c51a7
add resource support to gzip/bzip2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@344334 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
86ffd42246
add resource support to xmlproperty
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@344333 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
f619294872
delete the libraries prototype
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@332492 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
e3707fdec8
resource collections for [bg]unzip2?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@329409 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Alexey N. Solofnenko
1019168a0b
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@329249 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Alexey N. Solofnenko
6f8402d926
Bugzilla 28773
* added support for nested filesets into DotnetResource
* fixed problem when compiling with several references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@329234 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
a360e39fa7
<delete failonerror="false" /> was still failing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@328172 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
d6bf14f707
solve problem refering jars specfied by Class-Path attribute in manifest of a ant task jar file, when this ant task jar file is located in a directory with space. Bugzilla Report 37085.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@327058 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
b5fcf10604
add resource collection support to tar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@326643 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
976ce81377
more docs and tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@326639 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
cf5c5625e9
more docs and tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@326636 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
a96627738d
Now that resources become available in more tasks, throw in a couple of new resources, including tarfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@314776 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
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
Steve Loughran
84bb23262f
bugrep 36226 : error and failure pages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278523 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
Matthew Jason Benson
5d021519e7
debugging aid
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278504 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
cf12b9b863
Make testname2 pass after FileResource name modification.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278494 13f79535-47bb-0310-9956-ffa450edef68
20 years ago