87 Commits

Author SHA1 Message Date
Stefan Bodewig
ede07a7c22 Add new <isset> condition, simplify ConditionBase by using ProjectComponent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269756 13f79535-47bb-0310-9956-ffa450edef68
2001-10-01 14:14:22 +00:00
Conor MacNeill
bec2a0777e Merge of 1.4.1 changes into Main truck for Gump testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269745 13f79535-47bb-0310-9956-ffa450edef68
2001-09-30 13:21:54 +00:00
Conor MacNeill
304895ce62 Add encoding to <replace> task so that replace can work on double byte
characters


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269721 13f79535-47bb-0310-9956-ffa450edef68
2001-09-19 12:10:25 +00:00
Conor MacNeill
2b0ab1d4d0 Add an encoding attribute so SQL statements can be double byte
PR:	3080


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269719 13f79535-47bb-0310-9956-ffa450edef68
2001-09-19 12:06:11 +00:00
Peter Donald
e4957c5f19 Oops I used the wrong convention!!!
This patch corrects it so that the old zipfile attribute is now tofile.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269692 13f79535-47bb-0310-9956-ffa450edef68
2001-09-12 16:43:26 +00:00
Peter Donald
d0c933c320 Deprecated zipfile in favour of file to follow siuit with the other tasks that d
eal with archives.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269689 13f79535-47bb-0310-9956-ffa450edef68
2001-09-12 15:23:41 +00:00
Peter Donald
14d5788636 Deprecated earfile in favour of file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269687 13f79535-47bb-0310-9956-ffa450edef68
2001-09-12 15:19:47 +00:00
Peter Donald
16e0c28649 Unify the attribute of the archive to "file" rather than having three separate attributes (zipfile, jarfile and warfile).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269684 13f79535-47bb-0310-9956-ffa450edef68
2001-09-12 14:21:43 +00:00
Nico Seessle
c6124454ff - Applied manual patches supplied by Daniel Martin <dtmartin24@home.com>
- Fixed some other places too.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269675 13f79535-47bb-0310-9956-ffa450edef68
2001-09-08 01:05:18 +00:00
Conor MacNeill
a8d4391240 Merge from 1.4 changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269662 13f79535-47bb-0310-9956-ffa450edef68
2001-08-30 13:23:14 +00:00
Conor MacNeill
b8d229b18c Description of sequential task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269530 13f79535-47bb-0310-9956-ffa450edef68
2001-08-09 11:03:39 +00:00
Conor MacNeill
12fb88e093 Description of parallel task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269529 13f79535-47bb-0310-9956-ffa450edef68
2001-08-09 10:48:12 +00:00
Stefan Bodewig
2fb9b9ca21 Documentation for <condition>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269528 13f79535-47bb-0310-9956-ffa450edef68
2001-08-09 05:48:49 +00:00
Stephane Bailliez
8730c548ee Must be in CoreTypes..not CoreTasks.
This is really not a good day....


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269525 13f79535-47bb-0310-9956-ffa450edef68
2001-08-08 21:13:56 +00:00
Stephane Bailliez
72be7d7f00 Convenient description task that allows a multiple line description of a buildfile
with a <description> element.
Submitted by Craeg K. Strong <cstrong@arielpartners.com>

Not committed in the first shot..er..forgot to add them.
Thank to Craeg for paying attention.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269524 13f79535-47bb-0310-9956-ffa450edef68
2001-08-08 20:18:34 +00:00
Conor MacNeill
c8691cff5b Clarify what happens in an antcall and why some targets are
evaluated twice

Submitted by:	Steve Loughran <steve_l@iseran.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269519 13f79535-47bb-0310-9956-ffa450edef68
2001-08-08 12:09:08 +00:00
Stefan Bodewig
aa4eb280ad Ignore fork attribute if build.compiler doesn't point to a JDK javac.
Submitted by:	Brian Deitte <bdeitte@macromedia.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269488 13f79535-47bb-0310-9956-ffa450edef68
2001-08-07 11:53:43 +00:00
Stefan Bodewig
deadaf0b01 fix typo
I must save the files before I commit, I must save the files before I
commit, I must save the files before I commit, I must save the files
before I commit, ...


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269484 13f79535-47bb-0310-9956-ffa450edef68
2001-08-07 05:59:58 +00:00
Stefan Bodewig
4ad42dc531 clarify tarfileset documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269483 13f79535-47bb-0310-9956-ffa450edef68
2001-08-07 05:58:12 +00:00
Stefan Bodewig
8bde1a4491 leave it to the imagination of the users what may happen if you
specify both, eol and cr.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269480 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 15:10:41 +00:00
Stefan Bodewig
bdf4456a77 New task dependset
Submitted by:	Craeg K. Strong <cstrong@arielpartners.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269479 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 14:32:46 +00:00
Stefan Bodewig
329021e4de update documentation for <fixcrlf>
PR: 1053
Submitted by:	Peter B. West <pbwest@powerup.com.au>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269468 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 09:15:14 +00:00
Stefan Bodewig
00e45341a1 Add support for Symantec's javac.
Submitted by:	Don Ferguson <don@bea.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269467 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 09:04:26 +00:00
Stefan Bodewig
b162d6d5c4 Add fork attribute to <javac>.
PR: 383
Submitted by:	Brian Deitte <bdeitte@macromedia.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269453 13f79535-47bb-0310-9956-ffa450edef68
2001-08-03 14:36:48 +00:00
Stephane Bailliez
1228b336de doc update to reflect the addition of the -jar option
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269447 13f79535-47bb-0310-9956-ffa450edef68
2001-08-02 22:07:47 +00:00
Stefan Bodewig
f9a500cd6b Support for kopi and gcc implementations of <javac>.
PR: 2476
Submitted by:	Takashi Okamoto <tora@debian.org>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269434 13f79535-47bb-0310-9956-ffa450edef68
2001-08-01 15:54:24 +00:00
Conor MacNeill
e2ae69c528 Documentation for new Locale option in <tstamp>
Submitted by:	Michal Pise <michal.pise@st.ms.mff.cuni.cz>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269429 13f79535-47bb-0310-9956-ffa450edef68
2001-08-01 11:22:18 +00:00
Conor MacNeill
6ed54839c9 Produce a summary, on request, of the actions taken by the replace
task

PR:	956


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269409 13f79535-47bb-0310-9956-ffa450edef68
2001-07-30 13:35:23 +00:00
Stefan Bodewig
fabddf48aa update documentation for <apply> to add outputproperty attribute here
as well.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269401 13f79535-47bb-0310-9956-ffa450edef68
2001-07-27 09:57:35 +00:00
Stefan Bodewig
f3b55df1fa Add outputproperty attribute to <exec> to capture the output of the
external command in a property.

Submitted by:	Peter  Vogel <pvogel@arsin.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269400 13f79535-47bb-0310-9956-ffa450edef68
2001-07-27 09:55:46 +00:00
Stefan Bodewig
b263b1e282 Add failonerror attribute to <delete>.
Submitted by:	Steve Loughran <steve_l@iseran.com>

I've modified Steve's original submission to ensure quiet and
failonerror don't get set to true at the same time - also fixed the
logging a little as messages about failures to delete a file would go
to verbose logging or swallowed inconsistently in quiet mode.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269397 13f79535-47bb-0310-9956-ffa450edef68
2001-07-27 08:24:59 +00:00
Stefan Bodewig
9e9d8fecc5 Add overwrite attribute to unjar/war/zip and untar - if set to false,
files newer than the entries in the archive will not be replaced.

Default is true for backwards compatibility.

PR: 1667


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269394 13f79535-47bb-0310-9956-ffa450edef68
2001-07-27 06:52:51 +00:00
Stefan Bodewig
08535a06a2 document handling of inner classes in <rmic>.
PR: 2436


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269378 13f79535-47bb-0310-9956-ffa450edef68
2001-07-24 08:18:52 +00:00
Stefan Bodewig
d471a816cb Make inheritall attribute available to <antcall> as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269367 13f79535-47bb-0310-9956-ffa450edef68
2001-07-20 10:07:35 +00:00
Conor MacNeill
47f06debb3 Add example of environment variables being read in as properties.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269359 13f79535-47bb-0310-9956-ffa450edef68
2001-07-18 13:05:19 +00:00
Stefan Bodewig
2ecc6fa52a Add ability to define several tasks/types at once, reading definitions
from a property file.

Submitted by:	<cmanolache@yahoo.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269355 13f79535-47bb-0310-9956-ffa450edef68
2001-07-18 08:06:35 +00:00
Stefan Bodewig
eefa2aba55 Make <apply> work really parallel and not parallel on a per fileset basis.
PR: 1763

Merge <apply> and <execon> into a single task (and keep Transform as
an empty class for backwards compatibility at the source level).


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269330 13f79535-47bb-0310-9956-ffa450edef68
2001-07-12 12:06:45 +00:00
Stefan Bodewig
e5fcb12320 New filesonly attribute for <zip> and friends - suppresses directories.
PR: 2053
Submitted by:	Peter Janes <peterj@liberate.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269324 13f79535-47bb-0310-9956-ffa450edef68
2001-07-12 07:36:50 +00:00
Conor MacNeill
70d8b69e67 Describe timestamp's ability to offset dates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269320 13f79535-47bb-0310-9956-ffa450edef68
2001-07-11 15:36:49 +00:00
Conor MacNeill
2fa84738b4 InheritAll documentation update
Submitted by:	Craeg K Strong <cstrong@arielpartners.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269306 13f79535-47bb-0310-9956-ffa450edef68
2001-07-10 13:23:29 +00:00
glennm
6ffa10f973 Overview of core tasks with a short description
of what each task does.

PR: 2328


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269303 13f79535-47bb-0310-9956-ffa450edef68
2001-07-08 20:30:59 +00:00
Conor MacNeill
c513333775 Made the meaning of the dest directory explicit.
PR: 1744


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269289 13f79535-47bb-0310-9956-ffa450edef68
2001-07-07 14:57:44 +00:00
Conor MacNeill
54550bf317 Update documentation stating where os attribute values come from.
PR:	1656


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269276 13f79535-47bb-0310-9956-ffa450edef68
2001-07-06 15:11:29 +00:00
Conor MacNeill
9301e386b3 Documentation update for vmlauncher attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269274 13f79535-47bb-0310-9956-ffa450edef68
2001-07-06 11:23:18 +00:00
Stefan Bodewig
fc7cfffc89 Add encoding attribute to the zip tasks and the ZipOutputStream to
make the classes flexible enough to deal with non US-ASCII filenames
either consistent with the command line ZIP tools (it has been since
it uses the org.apache classes instead of java.util.zip) or the jar
command (which it has been up to Ant 1.3).


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269272 13f79535-47bb-0310-9956-ffa450edef68
2001-07-05 13:10:26 +00:00
Stefan Bodewig
613142401d documentation for latest <style> changes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269218 13f79535-47bb-0310-9956-ffa450edef68
2001-06-22 07:45:16 +00:00
Stefan Bodewig
a26511e231 new files for new <sleep> task.
Submitted by:	Steve Loughran <steve_l@iseran.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269211 13f79535-47bb-0310-9956-ffa450edef68
2001-06-21 10:19:12 +00:00
Stefan Bodewig
49c24d0553 should have added this file 36 hours ago, sorry.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269174 13f79535-47bb-0310-9956-ffa450edef68
2001-06-15 05:33:14 +00:00
Stefan Bodewig
a891255928 Various typos and documentation fixes.
PR: 1464, 1483, 1523, 1873, 1621, 1839, 1840, 2011
Submitted by:	Daniel.Barclay@digitalfocus.com
                colin@bspark.com (Colin Sampaleanu)
                daveg@permabit.com
                arosen@silverstream.com (Alex Rosen)
                rxh@gers.com (Rey Hernandez)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269169 13f79535-47bb-0310-9956-ffa450edef68
2001-06-13 15:29:47 +00:00
Stefan Bodewig
060c8d7530 Fix typo in tar documentation.
PR: 2120
Submitted by:	rxh@gers.com (Rey Hernandez)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269147 13f79535-47bb-0310-9956-ffa450edef68
2001-06-12 09:39:55 +00:00