Antoine Levy-Lambert
6e72941062
Make it possible to create manifest only jars with the option duplicate="preserve"
PR: 32802
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277264 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
19d45cc66e
testcases for new attributes on globmapper and regexpmapper
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277236 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
fd1350c42a
use Touch#addConfigured(Mapper) rather than add(Mapper) as the mapper is
used in the method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277213 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1824d36b3b
Add time zone to the test case.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277210 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1ddaea8055
touch gets nested mapper plus verbose, mkdirs, and pattern attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277197 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5320013dd3
Address Windows CVS client line ending conversion incompatibility issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277153 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
b0229b0687
Hack to make the testcases pass.
PR: 32506
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277142 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
88b73e8d7f
Library flattens files; make class static in xmlvalidate
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277108 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a53a52b366
add unit test for signedslector
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277090 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a0a51d69b2
use isfileselected in test instead of the pathconvert hack
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277089 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
4d34b03883
added isfileselected test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277088 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
515949fd31
Please don't modify my working copy during tests, otherwise I'm going to commit changed files by accident
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277086 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6a3d5030bb
add new preservelastmodified attribute to signjar
PR: 30987
Obtained from: Ignacio Coloma
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277079 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
dea3b5a66a
Tuning
1-if you dont specify an archive name, use that of the project
2-its OK to specify suffix=""
3-you do need the "." in the suffix; this was not needed.
(3) will break anything which set the suffix. I assumed the user
base was small enough to avoid a compatibility hack.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277078 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
ea0d1cd08b
some simple tests for the issigned condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277069 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
db48fbb829
Various checkstyle violations
Submitted by: Larry Shatzer
And some
(untabify (point-min) (point-max))
on some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
f4c6f96bae
1. Move from optional.repository to tasks.repository
2. rename <libraries>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277054 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
f630ef56ed
Updated <getlibraries> code, plus new classes. After this
checkin I'm about to move and rename some of the existing stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277053 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
7e5837b080
Change <apply>'s "overwrite" attribute name to "force". Also commit missing
Java changes. Oops.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277044 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
2f1e0c35af
Add overwrite attribute to <apply>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277043 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stephane Bailliez
366f48ac93
Fixed escaping of stderr/stdout
PR: 30662
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277031 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
c8d28da5f8
Manifest task logs warnings: PR32190
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277015 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stephane Bailliez
d809433494
Make it compatible with Safari.. the open function does not return any document.
Thanks to Ingmar Stein
PR: 26953
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277013 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
b1186f08a3
Preparations for PR: 21832, in particular unit tests and some
refactorings for <sync>
Changes to Sync:
* drop JDK 1.1 compatibility,
* override scan instead of buildMap in MyCopy so that we get the
included directories even if includeEmptyDirs is false.
* use a DirectoryScanner to find orphaned files instead of the
recursive algorithm.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277005 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
53cd4e8958
Tests for recorder by Martijn Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276994 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
7651d02856
1. Updated repository work; now has the following from Russel Gold's contrib
-uses <get> to get
-sets a classpath after
2. some changes to Get to make this work. They also lay the way to adding progress indicators to guis, if that is felt useful in IDEs (it may be, once downloads become more common)
3. starting on security. This will need to work with <checksum> to get done. Currently the md5 can be fetched if asked for, and if so it must exist.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276989 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
844ca96965
merging features of Russell's dependencies contribution;
conditional dependencies and setting of a path to the dependency list.
Moving from httpclient to get is still todo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276982 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fdc903238f
Patch in PR# 21996
add a flatten to unzip.
I actually only patched in the mapper nested element support; with that the flatten attribute can only introduce inconsistency (what if you spec a mapper and flatten=true).
And the patch was modified to keep the attributes private, with a getMapper() operation for subclasses (like untar) to get when needed.
Did a bit of cleanup -especially of the unzip tests- while at it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276981 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
045a7004a1
Repository support; needs http client 2.x and commons-logging.
Broken: repository references (you'll see in the test results)
not tested: authenticated access to the repository.
Already had a feature request for multiple repository support;
would be nice. That and better diagnostics on failure.
Note that we dont currently probe ibiblio for availaibility; that was taking longer than the fetches themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276957 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7228bef97c
add failall value for onerror attribute of <typedef>
PR: 31685
Obtained from: steve morin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276950 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
a5a1cf2395
Restore <move>'s ability to replace existing files and/or write
into existing directories.
PR: 31031
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276925 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
66676d22f4
Make sure test output gets grabbed early enough to capture everything.
PR: 30798
While fixing this, I noticed that printsummary="withOutAndErr" didn't
work with fork="true".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276916 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1c48e016c2
Fix for execution of top level tasks getting delayed by targets.
PR: 31487
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276905 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
6f4f0c6075
Throw in some unit tests for <junit> - one of them will fail related to bug 30333
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276899 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4b2db7c0ca
Add alwayslog attribute to <redirector>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276889 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d4ebf04094
Try to get the correct task/type name for an unsupported attribute/element
exception thrown by IntrospectionHelper
PR: 31389 and 29499
Reported by: Tamas Szeredi and Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276882 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1ddab2c141
add xmlcatalog nested element to the xmlproperty task
PR: 27053
Obtained from: David Crossley and Dave Brondsema
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276840 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
2da1da584d
more to clean up
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276839 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
0f723fa82a
Support different output formats in checksum, PR 16539, based on a patch by Mark R. Diggory
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276838 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
84bfc9dabe
Allow <move>'s file attribute to rename a directory.
PR: 22863
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276806 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
12f1e22e1f
Zip task did not create tasks when there are only empty directories in the selection
I have simply added a testcase, the code was already fixed by Matt Benson in Zip.java
revision 1.128
PR: 30365
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276804 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
16904c3c17
reverting previous change
compiler is called weblogic in the documentation
the testcase seems to have been wrong
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276803 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a4e0e85b97
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276766 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
bdedc93fe1
missing license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276765 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
73bea8d87b
test fixup, I still think the csc tests are broken.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276762 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
85f05e8b8d
more tests; 'default' compiler and "" has a well defined behaviour.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276757 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fdf4bba148
rmic gets a fork option.
Most of the changes here are actually adding tests, which was surprisingly hard work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276755 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
803fb00df9
These changes will break Stefan's and my work builds, but they are for the better.
1. pull file/url stuff from the main class into another instance of the schema class.
2. added a makeURL flag that turns a file ref in a schema into a URL. v. useful for .net.
3. added a compiler enum and attr that lets you choose compiler. Compilers are microsoft|mono|microsoft-on-mono.
4. renamed parseableerrors to ideErrors.
5. dependency logic uses filesys granularity.
No tests for the compiler stuff, we need to think about how to do that.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276749 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
f53a735bae
fix case
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276744 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
72252a9148
Now support for nested schemas as add ons. Will probably break mono, but the tests have been written so as not to expose that break.
Also: protocol, parseableErrors. These are WSE2.0 options.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276740 13f79535-47bb-0310-9956-ffa450edef68
21 years ago