64 Commits

Author SHA1 Message Date
Stefan Bodewig
65c667d14c new islastmodified condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@805265 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 03:08:20 +00:00
Stefan Bodewig
c8232ed82c allow methods other than GET in http condition. Submitted by Robert Clark. PR 30244
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796762 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 15:17:00 +00:00
Stefan Bodewig
18141ca0aa really add setbeans attribute to scriptmapper/filter/condition. PR 47336
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@783050 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 15:48:29 +00:00
Stefan Bodewig
2714152a1e document resourcecontains condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738424 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 09:53:15 +00:00
Stefan Bodewig
bee14ad0d4 allow chmod, chgrp, chown and attribute to be used outside of their native environment. PR 7624
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@714025 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 15:12:26 +00:00
Matthew Jason Benson
17bd4f6670 document scriptcondition return value
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557001 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 18:02:20 +00:00
Jan Materne
b847391e05 fix html error
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537763 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 09:39:04 +00:00
Matthew Jason Benson
7a504524f2 fix textfile/astext attribute descriptions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536242 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 16:27:09 +00:00
Jan Materne
cb278717d8 Documented wrong attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@518151 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 14:02:03 +00:00
Jan Materne
44838dc238 Document <antversion> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@513733 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 12:35:02 +00:00
Kevin Jackson
14cdea5a95 -added hasfreespace doc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@492099 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 10:51:08 +00:00
Peter Reilly
9bead93cc5 add some more doc for the scripting changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486341 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 21:47:56 +00:00
Peter Reilly
ce83d9e0c7 update for script (partial)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@484998 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 15:28:19 +00:00
Peter Reilly
0a53c6b606 add a manual entry for antversion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@474508 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 20:48:56 +00:00
Peter Reilly
c8b5902d5d remove blockquote from long examples, correct name of attribute in <matches>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449833 13f79535-47bb-0310-9956-ffa450edef68
2006-09-25 22:06:09 +00:00
Peter Reilly
022d5119e9 add doc for <matches>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449826 13f79535-47bb-0310-9956-ffa450edef68
2006-09-25 21:39:08 +00:00
Stefan Bodewig
9a48ac8f87 weaken regexp enough to pick up all Copyright lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442328 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 20:22:51 +00:00
Stefan Bodewig
443e397b46 Add license header
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442089 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:19:00 +00:00
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