1763 Commits

Author SHA1 Message Date
Stephane Bailliez
d1b6046bae Try to be crystal-clear about what to do with ANTLR.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270162 13f79535-47bb-0310-9956-ffa450edef68
2001-12-15 19:01:45 +00:00
Stephane Bailliez
e854f481c9 Remove mention of fork attribute in ANTLR documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270157 13f79535-47bb-0310-9956-ffa450edef68
2001-12-15 13:41:39 +00:00
Stefan Bodewig
ccb4460206 Add documentation on Loggers and Listeners.
Submitted by:	Erik Hatcher <jakarta-ant@ehatchersolutions.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270143 13f79535-47bb-0310-9956-ffa450edef68
2001-12-14 12:23:50 +00:00
Diane Holt
32b5622cab Add TOCs for Installing, Using, Running, Developing; add some name tags;
clean-up tweaks here&there.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270139 13f79535-47bb-0310-9956-ffa450edef68
2001-12-13 17:16:26 +00:00
Stefan Bodewig
3745d5dc70 Add a new inheritRefs attribute to <ant> with a default value of false
that controls implicit copying of references - i.e. we don't copy
anything by default.

Try to copy a clone before copying the real object.

inheritRefs="true" doesn't make any sense for <antcall> as all
references of the calling project will be defined in the new project
and wouldn't be overwritten.  That's why <antcall> didn't even get
this attribute.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270136 13f79535-47bb-0310-9956-ffa450edef68
2001-12-13 11:56:25 +00:00
Stefan Bodewig
1eb5ef27e1 improve documentation of manifest task, using Conor's patch that
caught me mid-flight as a basis.

We really should coordinate from time to time 8-)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270132 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 11:05:34 +00:00
Stefan Bodewig
ceb720e799 Make Manifest.java a full flegded task that allows you to write a
manifest file.

PR: 5190


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270131 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 10:54:08 +00:00
Conor MacNeill
3aef6ddcfc Documentation of inline manifests (at last)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270130 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 10:31:25 +00:00
Stefan Bodewig
1318b84a90 remove exit ability from <input>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270129 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 09:31:51 +00:00
Stefan Bodewig
b251a9a8f5 Make <waitfor> set a property instead of throwing an exception if the
maximum time to wait has been exceeded.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270127 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 09:03:31 +00:00
Stefan Bodewig
b546691d3a Add if/unless attributes to <fail>.
PR: 1380

This is the first step to remove the fail functionality from input and
waitfor.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270126 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 08:48:42 +00:00
Steve Loughran
a87eaeff37 Things you never knew about this task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270125 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 06:59:31 +00:00
Steve Loughran
3b37eee831 has anyone used this task recently? It generates an exec usage complaint.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270124 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 06:58:27 +00:00
Stephane Bailliez
968b951f03 More refactoring, javadoc fixes and spellchecking.
The task is now failing for a failed checkout.

Submitted by: Steve Cohen <SteveC@ignitesports.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270123 13f79535-47bb-0310-9956-ffa450edef68
2001-12-11 21:08:23 +00:00
Stefan Bodewig
1e65e7f37f Don't require webxml in <war> or appxml in <ear> if updating an
existing archive.

Submitted by:	Stefano Mancarella <mancarella@opoipi.bancaintesa.it>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270120 13f79535-47bb-0310-9956-ffa450edef68
2001-12-11 14:55:45 +00:00
Magesh Umasankar
eed192aac1 Name of file attachments can be optionally included.
PR: 3024


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270111 13f79535-47bb-0310-9956-ffa450edef68
2001-12-10 18:01:16 +00:00
Magesh Umasankar
d53e8a4c2e Document a known modern compiler on windows bug.
PR: 3345
Submission By: jesse.glick@netbeans.com (Jesse Glick)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270107 13f79535-47bb-0310-9956-ffa450edef68
2001-12-10 15:31:54 +00:00
Stefan Bodewig
05b5cb8f3d Allow <ant> and <antcall> to pass references to the subbuilds.
Submitted by:	Matthieu Bentot <mbentot@arantech.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270105 13f79535-47bb-0310-9956-ffa450edef68
2001-12-10 10:10:35 +00:00
Stephane Bailliez
3489bebc3d Documentation patch from Scott Stirling <scottstirling@rcn.com>
about stack filtering.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270101 13f79535-47bb-0310-9956-ffa450edef68
2001-12-09 13:40:18 +00:00
Steve Loughran
0562565514 fractional doc clarification
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270093 13f79535-47bb-0310-9956-ffa450edef68
2001-12-08 06:50:18 +00:00
Stephane Bailliez
7fbbcdf665 Patch about targetfolder from Steve Cohen.
I also refactored the task a little bit to support directly primitive types such as
int or boolean and fixed a couple of mistakes about error handling in the original code.

It should be a good starting point for further refactoring.

pr: 5138, 5187
by: stevec@ignitesports.com (Steve Cohen)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270091 13f79535-47bb-0310-9956-ffa450edef68
2001-12-07 21:51:01 +00:00
Stefan Bodewig
d21e6ff3f5 improve documentation of the regexp mapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270086 13f79535-47bb-0310-9956-ffa450edef68
2001-12-07 10:55:25 +00:00
Magesh Umasankar
66716b51ad Valid values for waitforunit and checkeveryunit provided.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270075 13f79535-47bb-0310-9956-ffa450edef68
2001-12-05 20:30:49 +00:00
Magesh Umasankar
dd5b247d5a More setFoo(String) to setFoo(Bar) conversions.
Didn't worry too much about WaitFor's backward compatibility issues as it is hardly a week old.
WaitFor has ben modified this way so that it is consistent with Tstamp and takes in enumerated attributes for unit instead of allowing arbitrary letters/ words suffixed to the time.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270074 13f79535-47bb-0310-9956-ffa450edef68
2001-12-05 20:22:19 +00:00
Stefan Bodewig
76fa4670c5 add BCEL to the list of required libraries.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270073 13f79535-47bb-0310-9956-ffa450edef68
2001-12-05 08:52:56 +00:00
Steve Loughran
0d8d34b93f PR: 5255
Clarified that <copy> doesnt preserve file perms on unix.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270069 13f79535-47bb-0310-9956-ffa450edef68
2001-12-04 03:06:04 +00:00
Magesh Umasankar
c12aaa8a06 Typo fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270066 13f79535-47bb-0310-9956-ffa450edef68
2001-12-03 16:37:42 +00:00
Steve Loughran
85ea2966d2 timeout actions stated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270058 13f79535-47bb-0310-9956-ffa450edef68
2001-11-30 21:07:50 +00:00
Stefan Bodewig
f6db0835f7 New task <input>
Submitted by:	Ulrich Schmidt <ulrich.schmidt@gmx.net>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270051 13f79535-47bb-0310-9956-ffa450edef68
2001-11-30 12:24:17 +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
Stefan Bodewig
0c5f76d9f8 Add warning that the XSL:P link doesn't work.
Submitted by:	Michel Casabianca <casa@sweetohm.net>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270048 13f79535-47bb-0310-9956-ffa450edef68
2001-11-30 11:23:24 +00:00
Steve Loughran
217e325602 PR 5025 : no MSJVM support.
This is documented upfront. Also added some more stuff to the file while I was at it, including a list of platforms ant runs happily on. The implicit message there is 'if it doesnt work, it is your fault :-)'


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270037 13f79535-47bb-0310-9956-ffa450edef68
2001-11-28 00:49:02 +00:00
Steve Loughran
8379ced1dc PR 5025 : no MSJVM support.
This is documented. Also clarified failonerror usage, added another example


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270034 13f79535-47bb-0310-9956-ffa450edef68
2001-11-27 20:17:02 +00:00
Steve Loughran
02673734f3 PR 4345 :Request for addition of "rcproperty" attribute to <exec>
Documented new property


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270033 13f79535-47bb-0310-9956-ffa450edef68
2001-11-27 19:44:46 +00:00
Sam Ruby
3781d8b0e1 Add support to for XSLT output types. This maps to TraX's:
transformer.setOutputProperty(OutputKeys.METHOD, type);

Background/rationalle: I'm looking into spliting Gumps gen.bat and gen.sh
scripts into a minimal bootstrap and a normal Ant "build.xml".  In order
to achieve this, I need access to the functionallity that Xalan supports
from the command line via the -text parameter.

I've provided an implementation to seed the discussion on how this should
be supported.  I am by no means wedded to this approach - if others see a
better way, either let me know or directly make the change.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270023 13f79535-47bb-0310-9956-ffa450edef68
2001-11-26 18:10:45 +00:00
Magesh Umasankar
b261a711ce Clarify evaluation pattern of attributes defined for <os>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270022 13f79535-47bb-0310-9956-ffa450edef68
2001-11-26 14:22:19 +00:00
Stephane Bailliez
9b3ee48039 Fix grammatical errors or incorrect documentation.
PR: 4993
Submitted by: jeff@socialchange.net.au (Jeff Turner)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270006 13f79535-47bb-0310-9956-ffa450edef68
2001-11-25 16:32:51 +00:00
Stephane Bailliez
3b2f961a60 tstamp now supports a timezone attribute for a custom format.
PR: 5000
Reported by: max@eos.dk (Max Rydahl Andersen)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270005 13f79535-47bb-0310-9956-ffa450edef68
2001-11-25 16:01:57 +00:00
Magesh Umasankar
82cc947b98 Added name, arch, version as attributes to Os.
This would let one to, say, run different things on sparc or x86 solaris...


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270001 13f79535-47bb-0310-9956-ffa450edef68
2001-11-25 07:54:28 +00:00
Magesh Umasankar
6687927529 Close HTML tags.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269987 13f79535-47bb-0310-9956-ffa450edef68
2001-11-22 01:55:10 +00:00
Magesh Umasankar
b7f51d116b Classic compiler, so long as it is not Version 1.0 or 1.1.x, also recognizes
debuglevel.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269986 13f79535-47bb-0310-9956-ffa450edef68
2001-11-21 23:09:39 +00:00
Magesh Umasankar
95fa304e14 1. As suggested by Peter, nixed the attributes outfile & verbose
previously added to Untar, Unjar, Unwar and Unzip, so that these tasks stay
focussed on unarchival and nothing but it.
2. If the Src attribute represents a directory, an exception is thrown, as Stefan
suggested.  Nested Filesets to be used instead.
3. Testcase added to catch this exception.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269985 13f79535-47bb-0310-9956-ffa450edef68
2001-11-21 22:36:12 +00:00
Stefan Bodewig
45660d1b2d Add a "relative" attribute to <apply> - this allows users to pass
relative paths on the command line instead of absolute.

Submitted by:	Matthew O'Haire <mohaire@trysoft.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269982 13f79535-47bb-0310-9956-ffa450edef68
2001-11-21 17:20:29 +00:00
Stefan Bodewig
427d2d0491 add pointer to list of default excludes to the fileset documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269979 13f79535-47bb-0310-9956-ffa450edef68
2001-11-21 16:29:49 +00:00
Magesh Umasankar
80d371a3b4 1. Refactored Untar to extend from Expand, as untar is very similar to unjar, unwar and unzip.
2. Added 2 new attributes to these tasks - outfile and verbose
3. Nested Patternsets can be used to specify what files are to be extracted from within the archive.
4. Nested Filesets can be specified to select previously archived files for unarchival (PR: 3074)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269973 13f79535-47bb-0310-9956-ffa450edef68
2001-11-21 07:31:01 +00:00
Steve Loughran
dc00bd536b Fix Bug 4991; add more examples of other options.
This should mark the last change to echo.html for a while. Except.

We say that message is required unless text is provided, but in fact
<echo/> is perfectly valid, is it not?


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269972 13f79535-47bb-0310-9956-ffa450edef68
2001-11-21 06:09:41 +00:00
Magesh Umasankar
072028843a New debuglevel attribute for Javac - will be used only when the modern
complier is used.

PR: 4127


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269971 13f79535-47bb-0310-9956-ffa450edef68
2001-11-20 22:24:14 +00:00
Steve Loughran
b904b3ac0b Pulled the stuff on system.exit, because that is caught, and left a 'fork if things go wierd' message to handle the other cases :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269968 13f79535-47bb-0310-9956-ffa450edef68
2001-11-20 06:53:06 +00:00
Steve Loughran
cbd09b7071 typo fix
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269967 13f79535-47bb-0310-9956-ffa450edef68
2001-11-20 06:51:57 +00:00
Stefan Bodewig
495b7c4688 Add testcase for <checksum>, clarify its documentation when used as a
condition and create checksums in Ant's distribution target.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269963 13f79535-47bb-0310-9956-ffa450edef68
2001-11-19 15:18:46 +00:00