277 Commits

Author SHA1 Message Date
Stefan Bodewig
f0c70acd8f Make cvstagdiff inherit from AbstractCvsTask
PR: 12119
Submitted by:	Rob van Oostrum <rvanoo@xs4all.nl>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273295 13f79535-47bb-0310-9956-ffa450edef68
2002-09-04 11:51:03 +00:00
Stefan Bodewig
7f2af7960c <tag /> ---> <tag/>
remove some stray CRs
fix some typos

Submitted by:	Larry Shatzer <Larry.Shatzer@Spirent.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273291 13f79535-47bb-0310-9956-ffa450edef68
2002-09-04 11:05:19 +00:00
Stefan Bodewig
c0287b1df8 Replace > with &gt; where appropriate.
PR: 12193 and 12195
Submitted by:	Larry Shatzer


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273287 13f79535-47bb-0310-9956-ffa450edef68
2002-09-03 15:24:08 +00:00
Stefan Bodewig
f7cf153214 Fixing some typos - has been submitted as part of
PR: 11056


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273186 13f79535-47bb-0310-9956-ffa450edef68
2002-07-30 15:00:40 +00:00
Stefan Bodewig
1e5fa0492b <war> and <ear> have the duplicate attribute, too.
Submitted by:	Larry Shatzer <Larry.Shatzer@Spirent.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273182 13f79535-47bb-0310-9956-ffa450edef68
2002-07-30 10:38:56 +00:00
Stefan Bodewig
e69f35fd22 Merge changes from 1.5 branch to HEAD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273143 13f79535-47bb-0310-9956-ffa450edef68
2002-07-22 11:12:16 +00:00
Magesh Umasankar
fc6a4383fa * Add encoding attribute to <loadproperties>
* Remove dependency of <loadproperties> on StringInputStream
* Modify StringInputStream to support encoding
* Note that StringInputStream is not being used by any other Ant classes - the sole consumer was LoadProperties which no longer uses it.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273132 13f79535-47bb-0310-9956-ffa450edef68
2002-07-19 17:48:36 +00:00
Stephane Bailliez
5fa2b3cd64 trax factory settings are now configured within a <factory> element.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273104 13f79535-47bb-0310-9956-ffa450edef68
2002-07-12 21:25:29 +00:00
Stephane Bailliez
1e8307708d Allow to specify a given factory implementation for the transformer
(xsltc, xalan, saxon...) and to specify processor specific settings.

TraxLiaison has been completely refactored because the factory
needed to be created once everything was set up.

I don't think it is final state since it might be better to specify factory attributes
and element in a <factory> element rather than how it is now.

XSLTProcess starts to bevery difficult to read with all the inner classes as well...


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273089 13f79535-47bb-0310-9956-ffa450edef68
2002-07-11 22:52:55 +00:00
Magesh Umasankar
da5a13f8e4 Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
2002-07-09 21:06:15 +00:00
Magesh Umasankar
6bd8d6e938 Merge changes made to 1.5 Beta2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
2002-06-22 23:38:38 +00:00
Magesh Umasankar
ca91f8cb7e Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
2002-06-01 12:26:43 +00:00
Diane Holt
a87016010e Bye-bye <do>...
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272628 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 17:31:06 +00:00
Diane Holt
04f4f5364c Even though the enthusiasm (even to just vote) was a bit, ahem,
underwhelming, at least there weren't any overwhelming objections,
so...

Add the <do> task.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272595 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 22:50:16 +00:00
Stefan Bodewig
9fe0f5be4e Directory based <javadoc>.
Two new nested elements, <packageset> and <fileset>.  <packageset> is
a DirSet that points to directories which get translated into packages
if they contain .java sources, <fileset> points to sourcefiles.

<packageset> based on a patch by Daniel Ritchey <ritchey_49@hotmail.com>.

<fileset> allows you to select files in the default package as well.

PR: 6433


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272583 13f79535-47bb-0310-9956-ffa450edef68
2002-04-26 16:06:52 +00:00
Stefan Bodewig
c1c1f4fcff New dir attribute for <patch>
Submitted by:	Thanou Thirakul <thanou@intelliware.ca>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272581 13f79535-47bb-0310-9956-ffa450edef68
2002-04-26 11:39:34 +00:00
Stefan Bodewig
84d34080aa pedantic mode again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272570 13f79535-47bb-0310-9956-ffa450edef68
2002-04-25 06:14:59 +00:00
Magesh Umasankar
ccef0f8982 Implement and document a compression attribute for the tar and untar tasks.
Submitted by: Curt Arnold <carnold@houston.rr.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272562 13f79535-47bb-0310-9956-ffa450edef68
2002-04-24 03:09:06 +00:00
Stefan Bodewig
150545be2f Add documentation for new input stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272545 13f79535-47bb-0310-9956-ffa450edef68
2002-04-22 13:22:57 +00:00
Erik Hatcher
422f63ab87 patches provided by Nicola Ken Barrozi. documentation added. the "[]" and indexed properties were removed as they did not work properly and were not desired.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272539 13f79535-47bb-0310-9956-ffa450edef68
2002-04-22 00:05:09 +00:00
Stefan Bodewig
0c54584d3d Update documentation of <concat> to reflect the tofile -> destfile
change made during development.

Fix typo.

Submitted by:	Derek Slager <derek@activate.net>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272522 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 07:16:18 +00:00
Steve Loughran
96ee13b7c9 new istrue/isfalse conditions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272521 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 07:15:44 +00:00
Stefan Bodewig
dd7c7098d8 <mapper> and srcfile can live together.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272514 13f79535-47bb-0310-9956-ffa450edef68
2002-04-18 15:49:19 +00:00
Stefan Bodewig
8fc7469be6 typo's in apply's docs.
PR: 8094
Submitted by:	Jesse Glick <jesse.glick@netbeans.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272512 13f79535-47bb-0310-9956-ffa450edef68
2002-04-18 14:59:19 +00:00
Stefan Bodewig
bc8388ee6e A couple of typos in cvs's documentation.
PR: 8243
Submitted by:	Ville Skytt� <ville.skytta@iki.fi>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272511 13f79535-47bb-0310-9956-ffa450edef68
2002-04-18 14:56:37 +00:00
Stefan Bodewig
55811ba73b Decide whether javac will be invoked with -depend od -Xdepend on the
compiler attribute rather than the current JDK (falling back to
assuming the current JDK if compiler has not been specified).


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272509 13f79535-47bb-0310-9956-ffa450edef68
2002-04-18 14:19:00 +00:00
Stefan Bodewig
e79b77b82b Add compiler attribute and nested <compilerarg> element to <rmic>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272440 13f79535-47bb-0310-9956-ffa450edef68
2002-04-15 13:20:26 +00:00
Peter Donald
784f04c929 org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
The goal of this task is to give a list of differences between two tags or
dates. It produces an xml report like the changelog report of the CvsChangeLog
task. The output gives the list of modified files, removed files and new files.

The proposed task name is cvstagdiff.

PR: 8086
Submitted by: fred@castify.net (Frederic Lavigne)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272429 13f79535-47bb-0310-9956-ffa450edef68
2002-04-15 09:53:24 +00:00
Diane Holt
a7255e1083 Add note wrt case issues on Windows. (PR 6694)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272419 13f79535-47bb-0310-9956-ffa450edef68
2002-04-14 16:36:23 +00:00
Erik Hatcher
9115223753 Added <xslt> alias for the Style task to make it easier to find for users
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272416 13f79535-47bb-0310-9956-ffa450edef68
2002-04-13 11:18:28 +00:00
Stefan Bodewig
7114de8f2b typo.
PR: 8019


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272413 13f79535-47bb-0310-9956-ffa450edef68
2002-04-12 15:26:22 +00:00
Stefan Bodewig
12a8163d89 Document new replacefilterfile attribute of <replace>
PR: 7320

Make sure <replace> resets its state.
Cosmetics.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272398 13f79535-47bb-0310-9956-ffa450edef68
2002-04-12 10:17:53 +00:00
Stefan Bodewig
9489d9ffc1 Add emacsmode to <recorder>.
PR: 7432

<recorder> is a difficult beast with regard to bug 7552 as it holds
state in a static Hashtable - at least it won't create multiple
loggers for the same files, so it should be relatively save.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272397 13f79535-47bb-0310-9956-ffa450edef68
2002-04-12 09:35:39 +00:00
Steve Loughran
cc842d12de using concat everywhere
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272390 13f79535-47bb-0310-9956-ffa450edef68
2002-04-12 03:22:28 +00:00
Stefan Bodewig
49ac8075b8 bug 7552 audit of <cvs> - ensure command gets reset.
You cannot have an attribute that accepts a boolean or an integer, at
least not the way it has been done - split into two attributes.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272368 13f79535-47bb-0310-9956-ffa450edef68
2002-04-11 09:52:48 +00:00
Steve Loughran
b4c9277617 PR5025 ; doc new attr, bit of text on failure altogether
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272355 13f79535-47bb-0310-9956-ffa450edef68
2002-04-11 06:37:59 +00:00
Stefan Bodewig
d53f5e9612 Make concat reset its state (bug 7552 audit), make it use encoding
even when not logging to the console, make it fail-fast if nested text
has been specified together with nested filesets.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272346 13f79535-47bb-0310-9956-ffa450edef68
2002-04-10 15:33:09 +00:00
Stefan Bodewig
7c24f9164c Make sure the dest attribute gets reset at the end of execute in
<bunzip2> and <gunzip> (bug 7552 audit).

Fix documentation for <gzip> and <bzip2> - these tasks perform
dependency checks.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272343 13f79535-47bb-0310-9956-ffa450edef68
2002-04-10 14:13:59 +00:00
Stefan Bodewig
895ef094bb Make sure <basename> and <dirname> don't break property immutability
rules.

Minor corrections to their documentation.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272341 13f79535-47bb-0310-9956-ffa450edef68
2002-04-10 13:47:46 +00:00
Stefan Bodewig
1d7d78ea0d Bug 7552 auditing of <antstructure> - reset cache of visited elements
at the end of execute.

Add typedef to the child elements of project.

Fix some docs.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272334 13f79535-47bb-0310-9956-ffa450edef68
2002-04-10 10:02:54 +00:00
Stefan Bodewig
e2aa7c41ea Add -source switch to <javadoc>
PR: 5645


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272299 13f79535-47bb-0310-9956-ffa450edef68
2002-04-08 16:11:27 +00:00
Stefan Bodewig
f5b6799863 Add documentation for <java>'s new timeout attribute.
PR: 5299


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272291 13f79535-47bb-0310-9956-ffa450edef68
2002-04-08 12:04:07 +00:00
Stefan Bodewig
0614659ed5 2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272290 13f79535-47bb-0310-9956-ffa450edef68
2002-04-08 11:49:01 +00:00
Steve Loughran
20b0507cd3 adding inheritRefs to <antcall>, for better consistency with ant. The default is of course false.
No need to update whatsnew, as that already implies that antcall does this.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272284 13f79535-47bb-0310-9956-ffa450edef68
2002-04-08 06:41:27 +00:00
Peter Donald
5b95034bfc Add changelog.xsl to distribution and also make sure it is documented.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272249 13f79535-47bb-0310-9956-ffa450edef68
2002-04-06 01:32:22 +00:00
Stefan Bodewig
eebfd94f70 <chmod> doesn't support in/excludesfile attribute.
PR: 6016


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272242 13f79535-47bb-0310-9956-ffa450edef68
2002-04-05 14:54:05 +00:00
Stefan Bodewig
6258074cd0 Add append attributes to <exec>, <java> and <sql>
PR: 3234, part of 5299


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272234 13f79535-47bb-0310-9956-ffa450edef68
2002-04-05 09:28:54 +00:00
Conor MacNeill
8bd72d6533 Add taglets support to javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272232 13f79535-47bb-0310-9956-ffa450edef68
2002-04-05 05:42:26 +00:00
Stefan Bodewig
f9d745ee48 Documentation for <cvs> changes
PR: 7433
Submitted by:	stephan beal <stephan@wanderinghorse.net>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272202 13f79535-47bb-0310-9956-ffa450edef68
2002-04-04 10:34:22 +00:00
Stefan Bodewig
62a2e7a759 If package attribute has been set, <cvs> would place it in front of
the command - which is wrong.

Reported by:	Ovidiu Predescu <ovidiu@apache.org>

Updated cvs example to point to something usable.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272193 13f79535-47bb-0310-9956-ffa450edef68
2002-04-04 07:43:36 +00:00