910 Commits

Author SHA1 Message Date
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
2005-01-27 21:01:05 +00:00
Jesse N. Glick
88c3b313e0 Permit <java fork="true"> to accept standard input from console.
PR: 24918


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277513 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 16:36:11 +00:00
Matthew Jason Benson
3ece4e00cf Lost the stylesheet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277498 13f79535-47bb-0310-9956-ffa450edef68
2005-01-26 23:16:52 +00:00
Matthew Jason Benson
427e62a48d Make dest optional; some reformatting.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277465 13f79535-47bb-0310-9956-ffa450edef68
2005-01-25 22:13:47 +00:00
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
2005-01-22 22:01:15 +00:00
Steve Loughran
f3a1a77fc5 missing documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277430 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 20:08:55 +00:00
Matthew Jason Benson
29f389f7bc Nitpicking.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277420 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 15:12:54 +00:00
Steve Loughran
7e5302e625 renaming as per Peter's suggestion. Made one of the attributes visible, too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277409 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 13:15:34 +00:00
Stefan Bodewig
42e242e090 2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277406 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 07:12:52 +00:00
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
2005-01-20 15:59:52 +00:00
Steve Loughran
6bdc259c2e gave up on xdoc updates for now; did the libraries task by hand. minor updates of nice + mapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277392 13f79535-47bb-0310-9956-ffa450edef68
2005-01-19 23:15:26 +00:00
Peter Reilly
8d72468ce0 Add support of zip comment.
PR: 22793
Obtained from: Larry Shatzer


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277383 13f79535-47bb-0310-9956-ffa450edef68
2005-01-18 12:35:37 +00:00
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
2005-01-17 21:54:34 +00:00
Steve Loughran
cface5ce71 updating year before Stefan gets there.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277326 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 10:59:31 +00:00
Steve Loughran
ec1635e90b More on jar attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277325 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 10:55:23 +00:00
Stefan Bodewig
da0db0f0f5 Yes, it's that time of the year again. Happy new year
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277322 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 08:37:07 +00:00
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
2005-01-07 21:57:00 +00:00
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
2005-01-04 22:20:44 +00:00
Jacobus Martinus Kruithof
027027618d Looking in the sources, 1 second is used (the "unix" granularity) instead of the claimed 0 milliseconds.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277275 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 19:39:01 +00:00
Stefan Bodewig
3c73be7a14 java.library.path != PATH - PR: 32523
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277257 13f79535-47bb-0310-9956-ffa450edef68
2004-12-21 14:58:33 +00:00
Matthew Jason Benson
589f44690b Missing period
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277252 13f79535-47bb-0310-9956-ffa450edef68
2004-12-18 17:50:40 +00:00
Matthew Jason Benson
c6995b83d9 Merging to the 1.6 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277200 13f79535-47bb-0310-9956-ffa450edef68
2004-12-14 21:19:28 +00:00
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
2004-12-14 17:56:35 +00:00
Jesse N. Glick
c84ce0470e The manual strongly encourages you to specify source/target levels, yet it gave no examples that did so! Putting
in some usages to plant the bug in people's minds. (Especially important for people just starting to use JDK
1.5, which changed the default source level.)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277171 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 23:16:08 +00:00
Peter Reilly
8263f39a5a doc for use of filenamemaper in uptodate
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277163 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 17:10:07 +00:00
Peter Reilly
4fed10f736 document using a filenamemapper type in place of the mapper element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277158 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 13:17:51 +00:00
Matthew Jason Benson
77b4a86f31 Clarify failonerror.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277148 13f79535-47bb-0310-9956-ffa450edef68
2004-12-07 23:42:41 +00:00
Peter Reilly
4d34b03883 added isfileselected test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277088 13f79535-47bb-0310-9956-ffa450edef68
2004-12-01 11:25:47 +00:00
Jesse N. Glick
3703724a1d s/can not/cannot/
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277085 13f79535-47bb-0310-9956-ffa450edef68
2004-12-01 04:02:33 +00:00
Jesse N. Glick
5741675eec 1. Removing mention of JDK 1.1 which is no longer supported anyway.
2. More readable HTML source formatting - reduce merge conflicts, e.g.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277084 13f79535-47bb-0310-9956-ffa450edef68
2004-11-30 21:57:17 +00:00
Peter Reilly
332c6b20f8 add doc for issigned condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277081 13f79535-47bb-0310-9956-ffa450edef68
2004-11-26 13:42:43 +00:00
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
2004-11-26 09:52:06 +00:00
Stefan Bodewig
a646d6f002 Use new mapper syntax in an example, submitted by Russel Gold
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277075 13f79535-47bb-0310-9956-ffa450edef68
2004-11-24 14:06:49 +00:00
Matthew Jason Benson
32b3d6458b Added warnings regarding duplicate files to <zip> and family.
PR: 30339


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277071 13f79535-47bb-0310-9956-ffa450edef68
2004-11-22 22:53:50 +00:00
Matthew Jason Benson
1953e4f720 Clarify that multiple targetfileset/list elements can exist
in the manner of srcfileset/list elements.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277059 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 20:30:45 +00:00
Stefan Bodewig
3935a662f5 consistent use of <code> - submitted by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277057 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 09:07:12 +00:00
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
2004-11-16 21:46:46 +00:00
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
2004-11-16 20:58:22 +00:00
Stefan Bodewig
706bba41a5 > -> &gt;
Submitted by:	Larry Shatzer


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277037 13f79535-47bb-0310-9956-ffa450edef68
2004-11-16 08:12:35 +00:00
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
2004-11-11 17:48:36 +00:00
Steve Loughran
e4160c6fe5 PR: 32066: exec favours .exe over . com. Yes, it does.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276993 13f79535-47bb-0310-9956-ffa450edef68
2004-11-05 08:58:09 +00:00
Matthew Jason Benson
b90c4f8eca Deprecate defaultexcludes; consistency.
PR: 31834


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276991 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 21:50:26 +00:00
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
2004-10-30 19:44:02 +00:00
Stefan Bodewig
52045d8f59 Some words of warning - always specify -target and -source or you are lost with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276974 13f79535-47bb-0310-9956-ffa450edef68
2004-10-28 11:34:12 +00:00
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
2004-10-20 08:38:05 +00:00
Steve Loughran
00a70173b2 Apt docs. Also flipped the nocompile flag in name and meaning
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276939 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 20:51:29 +00:00
Peter Reilly
68ec6c3b56 document classpathref for <typedef>
PR: 31555
Reported by: Nathan Robertson


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276913 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 09:17:36 +00:00
Peter Reilly
e7e3a35529 Manual page for cvsversion contained incorrect attributes and did not say since 1.6.1
PR:  31408
Reported by: Andy Wood


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276883 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 14:26:09 +00:00
Matthew Jason Benson
1e6b276526 Added searchpath attribute to <exec> for searching path
variables when resolveexecutable = true.  Thanks to Stefan
for having already written the path-searching code.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276847 13f79535-47bb-0310-9956-ffa450edef68
2004-09-10 15:16:11 +00:00
Stefan Bodewig
961cb53ce8 docs for PR 16539
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276845 13f79535-47bb-0310-9956-ffa450edef68
2004-09-10 14:19:26 +00:00