1189 Commits

Author SHA1 Message Date
Stefan Bodewig
57f78f8111 Use valid URLs even in the text links, some people use copy'n'paste instead of clicking links
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275172 13f79535-47bb-0310-9956-ffa450edef68
2003-09-03 07:58:04 +00:00
Jan Materne
0c15aeca64 spell check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275171 13f79535-47bb-0310-9956-ffa450edef68
2003-09-02 16:24:02 +00:00
Stefan Bodewig
468d6cb9f4 Add a reallyquiet attribute to <cvs>.
PR: 22774
Submitted by:	Larry Shatzer <larry dot shatzer at spirent dot com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275167 13f79535-47bb-0310-9956-ffa450edef68
2003-09-02 14:38:19 +00:00
Peter Reilly
62e36bbd11 manual page for antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275164 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 14:22:04 +00:00
Antoine Levy-Lambert
543e74c784 Use again Permissions to catch non zero exit statuses when using the Java task
with FailOnError = "true"
PR: 22533


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275162 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 12:45:07 +00:00
Antoine Levy-Lambert
229b965e9c Adding a line about file.encoding, adding also missing quotes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275159 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 10:13:44 +00:00
Stefan Bodewig
26eb04c78c label and lock/unlock cannot be used at the same time in <stcheckout>.
PR: 22829
Submitted by:	Steve Cohen <scohen at apache dot org>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275157 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 09:53:05 +00:00
Antoine Levy-Lambert
1df7fd17ca Rollback temporarily the setting of new permissions when failonerror="true"
and fork="false"


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275155 13f79535-47bb-0310-9956-ffa450edef68
2003-08-29 13:05:06 +00:00
Antoine Levy-Lambert
1de5995d90 Set default permissions appropriate to fail the builds when failonerror is
true (and fork false) and no other permissions were set.
Suggestion of Steve Loughran.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275153 13f79535-47bb-0310-9956-ffa450edef68
2003-08-28 13:46:33 +00:00
Stefan Bodewig
70802b2319 Make <sshexec> evaluate the exit code of the remote command.
PR: 19237
Based on a submission by:	Rob Meyer <rob at bigdis dot com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275151 13f79535-47bb-0310-9956-ffa450edef68
2003-08-28 07:10:40 +00:00
Antoine Levy-Lambert
8fab9564d5 PR: 22533
Submitted by: J.M. (Martijn) Kruithof (ant at kruithof dot xs4all dot nl)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275149 13f79535-47bb-0310-9956-ffa450edef68
2003-08-27 14:23:17 +00:00
Antoine Levy-Lambert
eda63287a3 Add example supplied by Rob Oxspring
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275140 13f79535-47bb-0310-9956-ffa450edef68
2003-08-25 15:58:38 +00:00
Antoine Levy-Lambert
7ef94af799 Add an example with an octal permission for chmod's documentation.
PR: 22445


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275135 13f79535-47bb-0310-9956-ffa450edef68
2003-08-24 14:24:53 +00:00
Antoine Levy-Lambert
3effe75129 Change anchor name (thanks Dominique).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275134 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 17:32:37 +00:00
Antoine Levy-Lambert
1a702111ea Define better the case sensitive attribute of the fileset type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275132 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 14:24:57 +00:00
Antoine Levy-Lambert
ebce0ec700 fixed title
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275128 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 10:00:06 +00:00
Antoine Levy-Lambert
a0406cafe6 Quoting Rob Oxspring :
I was using the image task to create thumbnails and couldn't figure out
how to keep proportions of an image but keep it within a fixed size.
My solution was to change the keepproportions attribute to be a little cleverer.
The keepproportions attribute is no more and has been replaced by the proportions
attribute, which has been added with the following features:

proportions="ignore" - treat the dimensions independently (==keepproportions="false" and is default)
proportions="width" - keep proportions based on the width (==keepproportions="true")
proportions="height" - keep proportions based on the height
proportions="fit" - keep proportions and fit in the supplied dimensions
proportions="cover" - keep proportions and cover the supplied dimensions

Submitted by: Rob Oxspring (roxspring at imapmail dot org)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275127 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 09:20:56 +00:00
Stefan Bodewig
a08de46903 close document, add copyright line
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275125 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 09:20:12 +00:00
Steve Loughran
af9118ba77 Documented assertions..still need the tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275117 13f79535-47bb-0310-9956-ffa450edef68
2003-08-21 00:34:27 +00:00
Antoine Levy-Lambert
f1a4a51478 Changes to the constructor of EmailAddress(String address) to make it support
addresses containing also the name such as name <address> or (name) address.
This allows these syntaxes to be used in the attributes from, tolist, cclist, replyto
of the email task.
PR: 22474
Submitted by: Michael Davey ( michael dot davey at coderage dot org)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275114 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 12:15:04 +00:00
Antoine Levy-Lambert
e61bd2d386 Date selector's behavior was inconsistent with the documentation
PR: 22473
Submitted by: gudnabrsam at yahoo dot com


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275107 13f79535-47bb-0310-9956-ffa450edef68
2003-08-15 21:18:23 +00:00
Peter Reilly
e211cf05f7 macrodef changes:
* change nested element name from param to attribute
   (now the same as scriptdef)
 * expermintal testing for @attribute notation - controlled
   by an attributeStyle attribute
 * checking if correct attribute/element names are used
 * samedefinition method overloaded


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275105 13f79535-47bb-0310-9956-ffa450edef68
2003-08-15 09:33:45 +00:00
Stefan Bodewig
0afe39c8f7 Add example for sourcepath="".
PR: 22427
Submitted by:	Jaroslav Tulach <jtulach at netbeans dot org>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275104 13f79535-47bb-0310-9956-ffa450edef68
2003-08-15 09:11:47 +00:00
Antoine Levy-Lambert
ad1b099b28 Add two new attributes timediffmillis and timediffauto for the ftp task
so that the newer attribute can take into account time differences between local
machine and remote server.
PR: 19358


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275097 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 21:01:43 +00:00
Antoine Levy-Lambert
519d7ff690 changed the info concerning followsymlinks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275092 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 15:32:36 +00:00
Stefan Bodewig
58968aaa63 Make <jjtree>'s outputdirectory and outputfile attributes work as
expected (i.e. consistent with the command line of jjtree).

PR: 21526
Submitted by:	Jene Jasper <jjasper at abz dot nl>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275090 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 14:52:42 +00:00
Stefan Bodewig
8b13ca9c93 Record default for <javac>'s verbose attribute, submitted by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275088 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 14:37:07 +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
Peter Reilly
95e912bb73 adding doc for presetdef and macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275083 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 12:48:10 +00:00
Peter Reilly
8356d61ee6 add in attribute uri for typedef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275065 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 13:22:58 +00:00
Peter Reilly
27d3bb5e6f fix selector example
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275062 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 09:05:22 +00:00
Peter Reilly
bc95ec302d initial attempt to describe introspection based components
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275061 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 08:35:50 +00:00
Antoine Levy-Lambert
deb6774e58 There have been several bug reports showing that users did not understand
the meaning of remotedir and of the nested fileset(s) for the different actions
of the ftp task.
I have added a table to explain this.
Also removed the warning concerning Win2000 ftp servers (I am not sure the problem
is still actual) and added instead a warning concerning the newer option.
PR: 13876


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275044 13f79535-47bb-0310-9956-ffa450edef68
2003-08-07 22:20:34 +00:00
Antoine Levy-Lambert
63382d9cbf Fix the ftp task, its documentation and testcases to maintain backward
compatibility.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275035 13f79535-47bb-0310-9956-ffa450edef68
2003-08-06 10:58:24 +00:00
Stefan Bodewig
8975a12087 Add a keepcompression attribute to control the compression of entries
that come from existing archives.

PR: 16084


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275025 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 16:13:02 +00:00
Peter Reilly
5d847c583e Add if/unless attributes to <param/> element of <style/> task
PR: 22044
Obtained from: Jens
Submitted by:	 Peter Reilly & Jan Mat��rne


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275023 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 16:01:10 +00:00
Stefan Bodewig
e67a40fbb3 Revert part of the commit that made tasks use Execute#isFailure.
On OpenVMS the Java VM will exit with a return code of 0 on success,
even though this is going to signal a failure for the OS.  All tasks
that spawn new VMs have now been reverted to explicitly check for
retCode != 0 instead of Execite.isFailure(retCode).

We could as well introduce Execute#isJavaFailure or something like
this in case future VM's on OpenVMS will start to do the right thing.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275005 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 10:08:12 +00:00
Steve Loughran
0f2ab7fa91 bug #20735 "Resource" is not explained;
explained what a resource is, clarified what property files do, to field off recurrent bugreps and show property expansion.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275001 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 06:30:01 +00:00
Antoine Levy-Lambert
3b3a4cd29f Add spawn attribute to java task as well
PR: 5907


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274992 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 13:56:06 +00:00
Antoine Levy-Lambert
27b47d055f roll-back wrong change concerning executable attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274990 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 10:32:43 +00:00
Antoine Levy-Lambert
aa82230244 added precisions regarding the executable attribute in the <exec/> task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274989 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 10:19:56 +00:00
Antoine Levy-Lambert
35845f7053 This change allows exec to start a process which will run independently of ant.
I have used the patch prepared by Charles Hudak and Peter Nimmervoll, but made it even
simpler, in the sense that I do not connect at all the new process to stream handlers
and the ant logging system, disabling input, output, error, and return exec attributes
in the case of spawn.
Strangely, it works well on Windows if one puts a sleep of one second after having spawned
the process. Why ? No idea.
PR: 5907
Submitted by: Charles Hudak ( CHudak at arrowheadgrp dot com)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274963 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 10:39:31 +00:00
Antoine Levy-Lambert
e0b6e804f0 XSLT/param@expression used as string instead of as expression as documented
There were 2 options to fix the bugreport :
- change the code
- change the documentation
I hope that the option to change the documentation is OK.
Thanks for the bug report.
PR: 21525


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274957 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 16:40:08 +00:00
Stefan Bodewig
96404f8700 Add support for OpenVMS logicals as "environment variables".
Submitted by:	Knut Wannheden <knut dot wannheden at paranor dot ch>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274952 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 14:06:36 +00:00
Conor MacNeill
db75fcb34e Add <daemons> element to <parallel> to start <daemon> threads which
continue to run after the <parallel> task has completed.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274950 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 11:02:53 +00:00
Stefan Bodewig
f30f3d21cb Add OpenVMS support to <exec>.
PR: 21877
Submitted by:	Knut Wannheden <knut at paranor dot ch>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274949 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 10:06:32 +00:00
Conor MacNeill
89847cdf7d Rework parallel
Remove need for poll interval (only covered race condition between isAlive
and notifyAll calls
Add timeout capability
Add flag to fail if any nested task fails without waiting for other tasks
to complete.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274937 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 14:24:07 +00:00
Peter Reilly
f3e3462d86 Add antlib xml functionality
This is patch 7204 the fourth patch of the antlib + ns enhancement. The
issues reported by Stephan will need be
addressed, so the implementation may change
before ant 1.6 is released.
PR: 19897


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274930 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 13:48:45 +00:00
Peter Reilly
99067d0607 Add multimapping to the copy and move task
Some slight changes from the orignal patch - rename
of ignoremultiplemapping to enablemultiplemapping and
some checkstyle changes
PR: 21320
Obtained from: Evan Easton


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274923 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 13:14:21 +00:00
Stefan Bodewig
2366612c9c New task <jjdoc>.
New attribute outputfile for <jjtree>.

PR: 21526
Submitted by:	Jene Jasper <jjasper at abz dot nl>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274913 13f79535-47bb-0310-9956-ffa450edef68
2003-07-23 14:12:12 +00:00