Stefan Bodewig
a799f17a4e
Turn <deleteFromTarget> into <preserveInTarget> in <sync>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277591 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
13b07b313f
Make javah a facade task, support kaffeh
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277590 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1225a5a849
Added level attribute to zip & subclasses.
PR: 25513
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277577 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
1816e79c3a
Add a very tiny test for native2ascii
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277563 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5947ffd64f
Added else attribute to condition task.
PR: 33074
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277520 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
d273066a17
Missed a few...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277503 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
e1b0730f5e
Changing the verification process not to rely on isfileselected because I'm
too lazy to move it to the 1.6 branch right now when it's not even mine. :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277502 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
23a1c7d3a7
Make apply's dest attribute optional.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277464 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4c77f5ea1b
<available> returned false positives when checking a file
passed in with the current basedir leading twice.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277462 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4eefafe2bf
Make $TMP handling more consistent, add subversion support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277452 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
ddb6b066ca
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277450 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
f119bd971b
Xor. Not strictly necessary, but the logical equivalent is a dog to type.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277431 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4122b8a95f
Add size to Resource info; switch length task to use Resources
instead of files so that it can report lengths for zipfilesets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277427 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
38c1ea2a88
First updates to library
-default dest, repository
-override properties
-changes to tests to keep working
-enhancements to tests so they work behind a firewall if ~/.ant/proxy.properties contains the settings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277397 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
28d39b09a7
Allow <sync> to keep files in target even if they are not in any source directories, PR 21832
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277393 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
ff0cfb8ee7
propertyset references did not handle nested propertyset references
Reported by: Matthew Nelson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277378 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
891ef3586b
Adding scripting support to conditions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277374 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
5fa7f18c21
Adding scripting support to selectors. No personal need for this right now, just rounding off what you can now do with mappers via filterchains
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277368 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0d08780618
Allow references to keep references to the project that
they were created in and use that project to deference the reference.
PR: 25777
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277352 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
f5d98f1e2c
Extended FileUtils with a comparison that ignores the kind of line break.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277345 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
810c2bde30
Oops, used setProperty() instead of setNewProperty().
Thanks to Jan for the example on the userlist reminding me of my error. ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277336 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
6ca8466008
Add clone task.
PR: 32631
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277320 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5451feff7d
Remove order assumption from testEach.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277307 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
f3af5a6f26
Add length task to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277277 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
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