600 Commits

Author SHA1 Message Date
Magesh Umasankar
dc060b5ab0 AnsiColorLogger is an extension of DefaultLogger. It provides colorized
messages based on the message level.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271022 13f79535-47bb-0310-9956-ffa450edef68
2002-01-31 19:56:33 +00:00
Erik Hatcher
8dc6be273c SourceOffSite tasks submitted by Jesse Stockall <jesse@cryptocard.com>.
The sos.html file is slightly out of synch with the actual attributes - but Jesse will submit updated documentation soon.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271021 13f79535-47bb-0310-9956-ffa450edef68
2002-01-31 19:47:40 +00:00
Stefan Bodewig
f5a525c370 filling my role as post-commit script ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271018 13f79535-47bb-0310-9956-ffa450edef68
2002-01-31 09:24:16 +00:00
Stephane Bailliez
4e15b5f434 Add a note to users so that they are aware of this cross platform
problem for line terminator and the differences between
regular expressions libraries.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271013 13f79535-47bb-0310-9956-ffa450edef68
2002-01-30 21:32:08 +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
4687c7dd41 add environment variable support to <junit> if VM is forked.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271001 13f79535-47bb-0310-9956-ffa450edef68
2002-01-29 16:35:46 +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
Erik Hatcher
8217bd377d added <dtd> documentation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270790 13f79535-47bb-0310-9956-ffa450edef68
2002-01-19 21:19:42 +00:00
Stefan Bodewig
1c54377d1d Copyright statement police catching up with latest commits 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270772 13f79535-47bb-0310-9956-ffa450edef68
2002-01-16 11:25:49 +00:00
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