786 Commits

Author SHA1 Message Date
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
Diane Holt
77f3cb57b8 Make things a bit easier for people to find -- hopefully, anyway :)
(And the usual sorts of while-I'm-here-type clean-up).
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271437 13f79535-47bb-0310-9956-ffa450edef68
2002-02-20 01:16:20 +00:00
Stefan Bodewig
368861fc98 improve example of manifest task.
Submitted by:	hboutemy@business-village.fr


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271428 13f79535-47bb-0310-9956-ffa450edef68
2002-02-19 15:22:55 +00:00
Stefan Bodewig
022ed20a99 Add compiler attribute to <javac> that allows users to override
build.compiler on a task by task basis.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271362 13f79535-47bb-0310-9956-ffa450edef68
2002-02-15 13:42:53 +00:00
Stefan Bodewig
0e63e7acbb Show how to avoid the -sourcepath switch in <javac>
Submitted by:	Alex Rosen <arosen@silverstream.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271355 13f79535-47bb-0310-9956-ffa450edef68
2002-02-15 07:22:01 +00:00
Stefan Bodewig
271c73b91c Allow -sourcepath for <javac> to be set explicitly.
PR: 5268
Submitted by:	Alex Rosen <arosen@silverstream.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271351 13f79535-47bb-0310-9956-ffa450edef68
2002-02-14 17:34:19 +00:00
Diane Holt
fa3f35098e Maybe this will help as well.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271307 13f79535-47bb-0310-9956-ffa450edef68
2002-02-13 04:35:57 +00:00
Diane Holt
a533063b71 Apply a band-aid to a nasty open wound.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271306 13f79535-47bb-0310-9956-ffa450edef68
2002-02-13 03:51:58 +00:00
Erik Hatcher
b720f6461e Documenting a feature that had been previously added (oops!).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271248 13f79535-47bb-0310-9956-ffa450edef68
2002-02-09 22:34:38 +00:00
Diane Holt
77f2c0563f Put the old cruft back in (and devote some otherwise better-used energy
on cleaning it up).
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271224 13f79535-47bb-0310-9956-ffa450edef68
2002-02-08 21:07:21 +00:00
Diane Holt
e14c6af66c Ack! -- can't believe I forgot to update the copyright.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271160 13f79535-47bb-0310-9956-ffa450edef68
2002-02-05 20:34:29 +00:00
Diane Holt
5e16daf1e7 Fix the 'dir' attribute description, and usual general clean-up.
Also removed the block of deprecated attrs, since they were old
enough to qualify for social security :)
PR: 5777
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271159 13f79535-47bb-0310-9956-ffa450edef68
2002-02-05 20:21:59 +00:00
Conor MacNeill
d9b8ac29f2 Fix typo in documentatin of SQL task
PR:	6245
Submitted by:	info@juxti.com (eliot)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271152 13f79535-47bb-0310-9956-ffa450edef68
2002-02-05 12:58:22 +00:00
adammurdoch
e0fef5cf64 * Added new combined email task, which replaces the old <mail> and
<mimemail> tasks.

* Deprecated <mimemail> task, and old SendEmail and MimeMail classes.

Submitted by Rob Oxspring <roxspring@yahoo.com>.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271148 13f79535-47bb-0310-9956-ffa450edef68
2002-02-05 09:32:48 +00:00
Magesh Umasankar
9cc0ee59d9 Document new attributes.
PR: 5874

Submitted by: Stefan Heimann (mail@stefanheimann.net)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271141 13f79535-47bb-0310-9956-ffa450edef68
2002-02-04 21:50:42 +00:00
Magesh Umasankar
786e2e2e1c Prefix attirubte for tar task
PR: 6054

Submitted by: mail@stefanheimann.net (Stefan Heimann)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271134 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 22:23:37 +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
d65cafdcec adding destFile naming scheme to tar, for consistency with the zip family and other tasks. I know Costin thinks we do this deliberately, just to break his builds, so even though I have updated the manual and the test cases, I have commented out the deprecated message which users should get when they use the tarfile attribute. Which means old builds still work, but the old params are no longer documented for new users.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271035 13f79535-47bb-0310-9956-ffa450edef68
2002-02-01 07:34:34 +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
Steve Loughran
dd38c61aec two new attrs to loadfile to make it more flexible in feeding other tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271033 13f79535-47bb-0310-9956-ffa450edef68
2002-02-01 07:23:56 +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
Stefan Bodewig
17208490a1 make documentation match the code.
The sentence I've removed must be a left-over from the time before the
newenvironment attribute has been added.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271002 13f79535-47bb-0310-9956-ffa450edef68
2002-01-29 16:47:32 +00:00
Stefan Bodewig
1df308115f add environment variable support in <java> for forked VMs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271000 13f79535-47bb-0310-9956-ffa450edef68
2002-01-29 16:20:20 +00:00
Magesh Umasankar
e7ea34b930 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270997 13f79535-47bb-0310-9956-ffa450edef68
2002-01-28 19:50:32 +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
7cbd5df017 Remove code that has never been used in any released version of Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270645 13f79535-47bb-0310-9956-ffa450edef68
2002-01-09 09:08:39 +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
Steve Loughran
5d79a4f5eb Addition of destFile(File) attr to the zip/war/ear/jar tasks, fixup of docs, replacement of deprecation methods and appropriate changes to the tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270605 13f79535-47bb-0310-9956-ffa450edef68
2002-01-07 06:22:11 +00:00
Steve Loughran
e85c97dca8 I was wrong, classpath: may be supported by some xml parsers, but it aint a standard protocol/URL schema
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270604 13f79535-47bb-0310-9956-ffa450edef68
2002-01-07 05:54:57 +00:00
Steve Loughran
eaec028c89 doc failonerror tag
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270502 13f79535-47bb-0310-9956-ffa450edef68
2002-01-02 05:16:41 +00:00
Steve Loughran
0081f618d5 username and password doced and exampled; some tab to space corrections.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270501 13f79535-47bb-0310-9956-ffa450edef68
2002-01-02 05:16:04 +00:00
Stephane Bailliez
f1b8684907 Add an option to append output, I set it to false
to preserve behavior but I think it would be better
to true.
PR: 5559
Reported by: stefanf@decode.is (Stefan Freyr Stefansson)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270392 13f79535-47bb-0310-9956-ffa450edef68
2001-12-29 19:46:45 +00:00
Steve Loughran
e4f965ec8c spello
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270380 13f79535-47bb-0310-9956-ffa450edef68
2001-12-26 20:35:14 +00:00
Steve Loughran
a225264f50 new loadfile task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270374 13f79535-47bb-0310-9956-ffa450edef68
2001-12-25 06:14:40 +00:00
Steve Loughran
0954289e72 fixing doc to match code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270292 13f79535-47bb-0310-9956-ffa450edef68
2001-12-21 20:08:33 +00:00
Magesh Umasankar
bfcb52f9a2 Fix HTML Parse error
Submitted by: jakarta-ant@ehatchersolutions.com "Erik Hatcher"


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270164 13f79535-47bb-0310-9956-ffa450edef68
2001-12-15 22:26:46 +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
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