1189 Commits

Author SHA1 Message Date
Stephane Bailliez
59c8791c70 Add additional StarTeam tasks
PR: 5650
Submitted by: stevec@ignitesports.com (Steve Cohen)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270763 13f79535-47bb-0310-9956-ffa450edef68
2002-01-14 22:25:56 +00:00
Steve Loughran
b810d36e3b moved up the condition list to the top index, to make it more obvious what we can test for ... added a couple of nbsp; chars to make the page subsidiary to the <condition> test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270749 13f79535-47bb-0310-9956-ffa450edef68
2002-01-14 00:10:13 +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
3fddc0bcfd License police on documentation files:
(1) Make sure all years in which a file has been modified are
listed.

(2) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.

Also: the initial checkin into this CVS module was in 2000, not 1999.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270657 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 11:21:21 +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
Erik Hatcher
9d85b36bc8 redirect some of the spam! :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270610 13f79535-47bb-0310-9956-ffa450edef68
2002-01-07 12:32:24 +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
f87b5ed775 - Add "label" attribute on checkout per request from Greg Frank - checks out a specific view label.
- Add "recursive" attribute as in the deprecated <starteam> task.
- Add "forced" attribute as in the deprecated <starteam> task and avoid checking StarTeam statuses when true.
- Make sure all exceptions are caught on execution and rethrown as build exceptions.
- Fixed a bug (using the "forced" attribute) which were causing files to be incorrectly not checked out when a rootLocalFolder was specified because the StarTeam file statuses were being checked in relation to the default directory.
- Fixed a bug where files were deleted immediately after being checked out when a rootLocalFolder was specified because the task erroneously thought the file was not under starteam control.
- Code layout to fix weird indent issues.

PR: 5583
Submitted by: stevec@ignitesports.com (Steve Cohen)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270490 13f79535-47bb-0310-9956-ffa450edef68
2001-12-31 20:15:57 +00:00
Erik Hatcher
90164753d1 added package mapper as an official mapper type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270486 13f79535-47bb-0310-9956-ffa450edef68
2001-12-30 14:32:59 +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
Erik Hatcher
c2a86d83a1 fixing incorrectly specified FQCN
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270387 13f79535-47bb-0310-9956-ffa450edef68
2001-12-28 00:16:15 +00:00
Steve Loughran
8542c23978 add detail on the nested elements; wrapping a few lines in the process.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270381 13f79535-47bb-0310-9956-ffa450edef68
2001-12-26 20:37:10 +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
24f8b28b01 stuck pointers to the mimemail dependencies in here
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270369 13f79535-47bb-0310-9956-ffa450edef68
2001-12-24 03:21:05 +00:00
Steve Loughran
414d204102 we will have no tabs here!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270368 13f79535-47bb-0310-9956-ffa450edef68
2001-12-24 03:20:19 +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
Stephane Bailliez
63b2c1c40a Major refactoring of Starteam tasks.
This is based on the original submission from the CruiseControl project.
Original <starteam> task has been deprecated
Starteam tasks now resides in the starteam package rather than scm.
Submitted by: stevec@ignitesports.com (Steve Cohen)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270254 13f79535-47bb-0310-9956-ffa450edef68
2001-12-18 22:18:17 +00:00
Stephane Bailliez
65cff2412c Fixed jpcovmerge example. It was incorrectly using jpcovreport instead of jpcovmerge
Reported by: scottstirling@rcn.com (Scott Stirling)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270253 13f79535-47bb-0310-9956-ffa450edef68
2001-12-18 21:27:01 +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
Stephane Bailliez
6ccebc2f7b Fixed some external links.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270163 13f79535-47bb-0310-9956-ffa450edef68
2001-12-15 20:17:20 +00:00
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