46 Commits

Author SHA1 Message Date
Steve Loughran
31a7e6611a delete spurious letter F; update copyright
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419978 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 20:46:16 +00:00
Matthew Jason Benson
381464153c Document since Ant 1.7 for textfile attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358864 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 20:17:11 +00:00
Matthew Jason Benson
2c04265ceb add the resourcesmatch condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358863 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 20:15:49 +00:00
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
2005-12-23 16:47:09 +00:00
Matthew Jason Benson
3bca66babd ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358812 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 14:39:50 +00:00
Matthew Jason Benson
e208a40a75 Add resourcecount + a little cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278359 13f79535-47bb-0310-9956-ffa450edef68
2005-05-25 21:50:15 +00:00
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
2005-05-20 22:36:59 +00:00
Peter Reilly
5a8d0dcb27 add uri attribute to typefound type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278308 13f79535-47bb-0310-9956-ffa450edef68
2005-05-20 16:33:15 +00:00
Steve Loughran
480363a8ca typefound logic.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278269 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 14:57:09 +00:00
Jesse N. Glick
2a0bbc499f Removing some gratuitous XHTML-isms. They still break JavaHelp, alas, and the manual is anyway not even strictly
formatted plain HTML, much less XHTML.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278201 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 18:58:16 +00:00
Steve Loughran
fc605cd185 nt->winnt
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278157 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 18:18:00 +00:00
Steve Loughran
9d42c87a1a Os gets
-specific test for nt based systems
 -refactored (less recursive) OS analysis
 -constant strings for every family
Patched into chmod.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278154 13f79535-47bb-0310-9956-ffa450edef68
2005-04-19 22:23:39 +00:00
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
2005-04-07 22:22:26 +00:00
Steve Loughran
80593698b1 Moving isreachable to reflect on the new method. On java <=1.4; if the hostname can be resolved then we are reachable.
All tests run against localhost. This *should* work everywhere, but no doubt someone with a confused /etc/hosts or no IPv4 stack will have different opinions.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277887 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 23:20:04 +00:00
Steve Loughran
f1414a37f2 documented, and renamed the test to isreachable, because there may be more than just ping going on here (it goes through our firewall where http doesnt)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277874 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 14:09:39 +00:00
Peter Reilly
f62a1b10b7 add reference to stylesheet for CoreTasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277821 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 18:09:10 +00:00
Matthew Jason Benson
ad37501556 Add a link to selectors from isfileselected.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277790 13f79535-47bb-0310-9956-ffa450edef68
2005-03-04 17:57:24 +00:00
Peter Reilly
30461e768c perpare to move to 1.6.3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277781 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 17:26:32 +00:00
Steve Loughran
6c13bc7130 condition to check for parser features. Left to others to put into Ant's build.xml.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277735 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 11:32:35 +00:00
Steve Loughran
17b08e6f01 minor doc updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277615 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 23:42:21 +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
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
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
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
Stefan Bodewig
3386b229bc 2004
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275959 13f79535-47bb-0310-9956-ffa450edef68
2004-01-23 16:41:13 +00:00
Steve Loughran
a20d0ddab1 new condition: typefound
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275950 13f79535-47bb-0310-9956-ffa450edef68
2004-01-22 18:02:57 +00:00
Peter Reilly
2a17990a71 add link to custom condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275086 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 14:06:54 +00:00
Stefan Bodewig
7411138e08 Detect OpenVMS as <os family>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274803 13f79535-47bb-0310-9956-ffa450edef68
2003-07-10 11:52:50 +00:00
Stefan Bodewig
ed475344e7 NonStop Kernel is Unix as far as Ant is concerned.
<attrib> doesn't like to be called with parallel.

<chgrp> and <chown> should also disable the addsourcefile attribute.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274607 13f79535-47bb-0310-9956-ffa450edef68
2003-05-23 13:40:37 +00:00
Stefan Bodewig
f624f1bf4d Add support for HP's NonStop Server (formerly known by several names,
including Tandem).

Submitted by:	Mirko Zeibig <Mirko dot Zeibig at t dash systems dot com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274262 13f79535-47bb-0310-9956-ffa450edef68
2003-03-14 16:01:04 +00:00
Steve Loughran
7584391fe4 cleaning up something that looks like an incomplete tag otherwise
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273591 13f79535-47bb-0310-9956-ffa450edef68
2002-12-01 01:30:08 +00:00
Stefan Bodewig
58cee40515 <http>'s errorsbeginat didn't work, Bug 14833
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273585 13f79535-47bb-0310-9956-ffa450edef68
2002-11-27 17:01:12 +00:00
Stefan Bodewig
8e67850ad6 Add <os> and <exec> support for OS/400.
PR: 13047
Submitted by:	Brian Farrar <brian_farrar at countrywide.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273380 13f79535-47bb-0310-9956-ffa450edef68
2002-09-27 08:18:51 +00:00
Stefan Bodewig
2807b6e3f6 New <isreference> condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273309 13f79535-47bb-0310-9956-ffa450edef68
2002-09-09 08:21:39 +00:00
Stefan Bodewig
7f2af7960c <tag /> ---> <tag/>
remove some stray CRs
fix some typos

Submitted by:	Larry Shatzer <Larry.Shatzer@Spirent.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273291 13f79535-47bb-0310-9956-ffa450edef68
2002-09-04 11:05:19 +00:00
Magesh Umasankar
da5a13f8e4 Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
2002-07-09 21:06:15 +00:00
Magesh Umasankar
ca91f8cb7e Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
2002-06-01 12:26:43 +00:00
Steve Loughran
96ee13b7c9 new istrue/isfalse conditions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272521 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 07:15:44 +00:00
Stefan Bodewig
01b79d1810 Add a new <contains> condition that looks for substrings.
Names are open to discussion, of course.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271444 13f79535-47bb-0310-9956-ffa450edef68
2002-02-20 08:36:27 +00:00
Stephane Bailliez
e967d77e02 Fix HTML title to be more useful for indexing.
PR: 5020
Reported By: jesse.glick@netbeans.com (Jesse Glick)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271131 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 22:00:42 +00:00
Steve Loughran
158906d666 test returns false (not an exception) if either file is missing, this provides better update semantics
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271034 13f79535-47bb-0310-9956-ffa450edef68
2002-02-01 07:24:49 +00:00
Stefan Bodewig
17243cca1d Add a new "os family" win9x. If I had a decent name for Windows that
is NT or 2000 or XP I would have added a family as well 8-)

Take advantage of that new family in Execute.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271005 13f79535-47bb-0310-9956-ffa450edef68
2002-01-29 17:22:56 +00:00
Steve Loughran
160e750485 condition for files matching
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270748 13f79535-47bb-0310-9956-ffa450edef68
2002-01-14 00:06:07 +00:00
Stefan Bodewig
b6a3e9df36 License police on documentation files:
(1) Make sure there is a Copyright notice on all visible files.

(2) Make sure all years in which the file has been modified are
listed.

(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.

When Stephane changed starteam.html it has been 2001 in France but
2002 in Australia - does that mean we add 2002 to the Copyright line
or not?  ;-)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270652 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 08:48:33 +00:00
Stefan Bodewig
aa27429577 Improve the <equals> condition by adding trim and casesensitive attributes.
Inspired by:	Frank Bechmann <frank.bechmann@dcw-software.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270621 13f79535-47bb-0310-9956-ffa450edef68
2002-01-08 08:52:32 +00:00
Stefan Bodewig
5021163e5c New task <waitfor> that waits until a given condition gets true or a
timeout occurs.

Submitted by:	Denis Hennessy <denis@network365.com>

As a side effect, <condition> gains two new conditions.  This also
means we now have a way to check whether we are on a networked system
and run/omit testcases that require network to be established based on
such a condition.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270050 13f79535-47bb-0310-9956-ffa450edef68
2001-11-30 12:05:27 +00:00