206 Commits

Author SHA1 Message Date
Steve Loughran
eb67d9f5c9 doc improvements
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271606 13f79535-47bb-0310-9956-ffa450edef68
2002-02-28 18:26:57 +00:00
Stefan Bodewig
cf72dc9e50 Add an attribute to avoid <junit>'s classpath magic.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271554 13f79535-47bb-0310-9956-ffa450edef68
2002-02-26 10:11:19 +00:00
Stefan Bodewig
939e7c021e Move the <exclude> patterns for <javac> and <junit> to external
patternsets so that they are in one place instead of repeated up to
three time.

update link for BSF.

Add pointer to JDepend in the Library Dependencies section.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271512 13f79535-47bb-0310-9956-ffa450edef68
2002-02-22 15:38:03 +00:00
Stefan Bodewig
a7f9947566 year 2002 squad at work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271508 13f79535-47bb-0310-9956-ffa450edef68
2002-02-22 09:20:34 +00:00
Steve Loughran
3a60c3af7e Utility task to list all your current properties along with unit tests, as written by Matt Albrecht . Added a prefix to save a subset of the properties for the very silly. Left it in optional.jar although it has no dependencies.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271507 13f79535-47bb-0310-9956-ffa450edef68
2002-02-22 08:29:37 +00:00
Steve Loughran
13fd7b8d53 minor tweaking
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271506 13f79535-47bb-0310-9956-ffa450edef68
2002-02-22 06:45:09 +00:00
Steve Loughran
9bfe594477 bit more detail on dependencies
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271505 13f79535-47bb-0310-9956-ffa450edef68
2002-02-22 06:44:54 +00:00
Erik Hatcher
6cbeee38fa Here goes: propertyfile refactoring to hopefully fix all outstanding issues with it. "now" and "never" were removed as operations (didn't make sense). "never" was removed as a value (it caused a null pointer exception anyway).
Other code cleanup (axing "m_" prefixes).

Added "unit" attribute to <entry> defaulting to DAY. This was essentially the previous default, but it was far too confusing.

Test cases beefed up to consider several scenarios.

There may be more changes needed to satisfy other use cases, and certainly some previous (undocumented) behavior has been changed (for the better!).

Is there a use-case for "never" as a value?


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271503 13f79535-47bb-0310-9956-ffa450edef68
2002-02-22 01:53:36 +00:00
Stefan Bodewig
17832b2eea <path> is not a task but a data type - and all data types can be used
outside of targets.

<typedef> is another task that may be used outside of targets.

I "fixed" that by replacing path with typedef in Steve's text, but we
really should talk about data types here as well - unfortunatley we
don't talk about data types in the manual at all, so it takes a bigger
effort.

Some year 2002 bugs.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271491 13f79535-47bb-0310-9956-ffa450edef68
2002-02-21 10:00:17 +00:00
Steve Loughran
80b247061b things to find out when you look at the source
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271460 13f79535-47bb-0310-9956-ffa450edef68
2002-02-21 06:24:54 +00:00
Stefan Bodewig
d3cd72efd0 <regularexpression> --> <regexp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271430 13f79535-47bb-0310-9956-ffa450edef68
2002-02-19 16:48:47 +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
Stefan Bodewig
8bad90e21d Sometimes, all you need is a pedant ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271138 13f79535-47bb-0310-9956-ffa450edef68
2002-02-04 11:03:04 +00:00
Stephane Bailliez
777b00eee6 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@271132 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 22:11:39 +00:00
Magesh Umasankar
dc9feca6e3 Misspelt words corrected.
PR: 6203

Submitted by: cyrille_list@ingenosya.com (Cyrille Morvan)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271129 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 21:26:18 +00:00
Magesh Umasankar
48de0c3b86 Websphere Support Documentation
Submitted by: "Holger Engels" <hengels@mercatis.de>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271100 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 02:36:53 +00:00
Conor MacNeill
334597d246 Add Support for JOnAS EJB server
Submitted by:	 Cyrille Morvan <cyrille_list@ingenosya.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271069 13f79535-47bb-0310-9956-ffa450edef68
2002-02-02 11:04:43 +00:00
Stephane Bailliez
8d226e312c Fix some documentation issues.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271029 13f79535-47bb-0310-9956-ffa450edef68
2002-02-01 00:26:33 +00:00
Stephane Bailliez
2678f50fe7 Updated documentation for SOS
Submitted by: jesse@cryptocard.com (Jess Stockall)
Best thanks to Erik.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271028 13f79535-47bb-0310-9956-ffa450edef68
2002-02-01 00:02:24 +00:00
Stephane Bailliez
65dd2140a7 comment parameter documentation
Submitted by: stevec@ignitesports.com (Steve Cohen)
PR: 5930


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271025 13f79535-47bb-0310-9956-ffa450edef68
2002-01-31 22:52:19 +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
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
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
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
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
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
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
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
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
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
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
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
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
Stephane Bailliez
90dcced6ab ANTLR task will now work with the jar being in ${ant.home}/lib rather than in the classpath.
Bug 4899 reported by David Holscher <David.Holscher@nav-international.com>

I copied the code snippet that Stefan did for JUnit. Thanks Stefan.
I added the possibility to specify a classpath and jvm args to ANTLR and fixed the code so that the working dir is not mandatory as specified in the docs.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269952 13f79535-47bb-0310-9956-ffa450edef68
2001-11-18 15:59:18 +00:00
Stefan Bodewig
e812438e4e Add documentation for the replaceregexp task
Submitted by:	Matthew Inger <matti@sedonacorp.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269900 13f79535-47bb-0310-9956-ffa450edef68
2001-11-12 11:26:48 +00:00
Peter Donald
6b7e33e2e3 A task for performing 18n translations on files via preprocessing.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269860 13f79535-47bb-0310-9956-ffa450edef68
2001-11-02 23:30:44 +00:00
Stefan Bodewig
93ee07ad35 Show that Ant is an Apache project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269839 13f79535-47bb-0310-9956-ffa450edef68
2001-10-30 10:05:39 +00:00
Steve Loughran
2f1d7a8811 bug #4111: ftp task does not work with a Windows 2000 ftp server with "MSDOS" directory listing. This is now documented.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269806 13f79535-47bb-0310-9956-ffa450edef68
2001-10-19 00:48:54 +00:00
Steve Loughran
2ddeb409bb documented uriroot and uribase options; cleaned up some other bits based on more experience with the task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269805 13f79535-47bb-0310-9956-ffa450edef68
2001-10-19 00:34:05 +00:00
Stefan Bodewig
09a7def3cd Make <propertyfile>'s default attribute work as expected.
PR: 3955
Submitted by:	Erik Hatcher <jakarta-ant@ehatchersolutions.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269802 13f79535-47bb-0310-9956-ffa450edef68
2001-10-18 10:16:18 +00:00
Peter Donald
11d421035c I've just put together a patch for the JDepend task to use xml
output. A new
attribute "format" has been added that can take either "xml" or "text"
defaulting to the latter. �Appropriate changes have been made to the
documentation, and additionally a .xsl file is attached to
produce html with
a similar style to that of junitreport.

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


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269796 13f79535-47bb-0310-9956-ffa450edef68
2001-10-16 10:12:23 +00:00
Steve Loughran
e98cb1b048 other unices have rpm too, I am told.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269794 13f79535-47bb-0310-9956-ffa450edef68
2001-10-14 04:44:24 +00:00