1763 Commits

Author SHA1 Message Date
Stefan Bodewig
8b13ca9c93 Record default for <javac>'s verbose attribute, submitted by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275088 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 14:37:07 +00:00
Peter Reilly
2a17990a71 add link to custom condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275086 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 14:06:54 +00:00
Peter Reilly
95e912bb73 adding doc for presetdef and macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275083 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 12:48:10 +00:00
Peter Reilly
8356d61ee6 add in attribute uri for typedef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275065 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 13:22:58 +00:00
Peter Reilly
27d3bb5e6f fix selector example
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275062 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 09:05:22 +00:00
Peter Reilly
bc95ec302d initial attempt to describe introspection based components
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275061 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 08:35:50 +00:00
Antoine Levy-Lambert
deb6774e58 There have been several bug reports showing that users did not understand
the meaning of remotedir and of the nested fileset(s) for the different actions
of the ftp task.
I have added a table to explain this.
Also removed the warning concerning Win2000 ftp servers (I am not sure the problem
is still actual) and added instead a warning concerning the newer option.
PR: 13876


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275044 13f79535-47bb-0310-9956-ffa450edef68
2003-08-07 22:20:34 +00:00
Antoine Levy-Lambert
63382d9cbf Fix the ftp task, its documentation and testcases to maintain backward
compatibility.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275035 13f79535-47bb-0310-9956-ffa450edef68
2003-08-06 10:58:24 +00:00
Stefan Bodewig
8975a12087 Add a keepcompression attribute to control the compression of entries
that come from existing archives.

PR: 16084


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275025 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 16:13:02 +00:00
Peter Reilly
5d847c583e Add if/unless attributes to <param/> element of <style/> task
PR: 22044
Obtained from: Jens
Submitted by:	 Peter Reilly & Jan Mat��rne


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275023 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 16:01:10 +00:00
Stefan Bodewig
e67a40fbb3 Revert part of the commit that made tasks use Execute#isFailure.
On OpenVMS the Java VM will exit with a return code of 0 on success,
even though this is going to signal a failure for the OS.  All tasks
that spawn new VMs have now been reverted to explicitly check for
retCode != 0 instead of Execite.isFailure(retCode).

We could as well introduce Execute#isJavaFailure or something like
this in case future VM's on OpenVMS will start to do the right thing.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275005 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 10:08:12 +00:00
Steve Loughran
0f2ab7fa91 bug #20735 "Resource" is not explained;
explained what a resource is, clarified what property files do, to field off recurrent bugreps and show property expansion.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275001 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 06:30:01 +00:00
Antoine Levy-Lambert
3b3a4cd29f Add spawn attribute to java task as well
PR: 5907


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274992 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 13:56:06 +00:00
Antoine Levy-Lambert
27b47d055f roll-back wrong change concerning executable attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274990 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 10:32:43 +00:00
Antoine Levy-Lambert
aa82230244 added precisions regarding the executable attribute in the <exec/> task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274989 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 10:19:56 +00:00
Antoine Levy-Lambert
35845f7053 This change allows exec to start a process which will run independently of ant.
I have used the patch prepared by Charles Hudak and Peter Nimmervoll, but made it even
simpler, in the sense that I do not connect at all the new process to stream handlers
and the ant logging system, disabling input, output, error, and return exec attributes
in the case of spawn.
Strangely, it works well on Windows if one puts a sleep of one second after having spawned
the process. Why ? No idea.
PR: 5907
Submitted by: Charles Hudak ( CHudak at arrowheadgrp dot com)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274963 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 10:39:31 +00:00
Antoine Levy-Lambert
e0b6e804f0 XSLT/param@expression used as string instead of as expression as documented
There were 2 options to fix the bugreport :
- change the code
- change the documentation
I hope that the option to change the documentation is OK.
Thanks for the bug report.
PR: 21525


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274957 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 16:40:08 +00:00
Stefan Bodewig
96404f8700 Add support for OpenVMS logicals as "environment variables".
Submitted by:	Knut Wannheden <knut dot wannheden at paranor dot ch>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274952 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 14:06:36 +00:00
Conor MacNeill
db75fcb34e Add <daemons> element to <parallel> to start <daemon> threads which
continue to run after the <parallel> task has completed.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274950 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 11:02:53 +00:00
Stefan Bodewig
f30f3d21cb Add OpenVMS support to <exec>.
PR: 21877
Submitted by:	Knut Wannheden <knut at paranor dot ch>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274949 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 10:06:32 +00:00
Conor MacNeill
89847cdf7d Rework parallel
Remove need for poll interval (only covered race condition between isAlive
and notifyAll calls
Add timeout capability
Add flag to fail if any nested task fails without waiting for other tasks
to complete.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274937 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 14:24:07 +00:00
Peter Reilly
f3e3462d86 Add antlib xml functionality
This is patch 7204 the fourth patch of the antlib + ns enhancement. The
issues reported by Stephan will need be
addressed, so the implementation may change
before ant 1.6 is released.
PR: 19897


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274930 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 13:48:45 +00:00
Peter Reilly
99067d0607 Add multimapping to the copy and move task
Some slight changes from the orignal patch - rename
of ignoremultiplemapping to enablemultiplemapping and
some checkstyle changes
PR: 21320
Obtained from: Evan Easton


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274923 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 13:14:21 +00:00
Stefan Bodewig
2366612c9c New task <jjdoc>.
New attribute outputfile for <jjtree>.

PR: 21526
Submitted by:	Jene Jasper <jjasper at abz dot nl>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274913 13f79535-47bb-0310-9956-ffa450edef68
2003-07-23 14:12:12 +00:00
Stefan Bodewig
f987ed2417 steal a paragraph from <fixcrlf>'s docs.
PR: 21658


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274911 13f79535-47bb-0310-9956-ffa450edef68
2003-07-23 12:57:18 +00:00
Peter Reilly
149ce34431 Refactor: move LineTokenizer out of TokenFilter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274905 13f79535-47bb-0310-9956-ffa450edef68
2003-07-23 11:32:13 +00:00
Antoine Levy-Lambert
f62487dd91 missing closing / in XML filelist element
PR: 21784
Submitted by: aledonne at yahoo dot com


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274879 13f79535-47bb-0310-9956-ffa450edef68
2003-07-22 05:52:36 +00:00
Antoine Levy-Lambert
5ac6359a7a Add a method in DirectoryScanner to reset the default exclude patterns
Add corresponding functionality in <defaultexcludes>
Update tests


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274877 13f79535-47bb-0310-9956-ffa450edef68
2003-07-21 10:52:20 +00:00
Stefan Bodewig
4a1ac5da9c fix the fixed spelling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274875 13f79535-47bb-0310-9956-ffa450edef68
2003-07-21 09:18:08 +00:00
Peter Reilly
a60f74fde4 typeo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274873 13f79535-47bb-0310-9956-ffa450edef68
2003-07-21 09:06:45 +00:00
Antoine Levy-Lambert
bc4909539a Document the preservation of lineendings in Translate
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274862 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 14:58:48 +00:00
Antoine Levy-Lambert
7cce31d892 added dependency to log4j.jar for the Log4jListener
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274855 13f79535-47bb-0310-9956-ffa450edef68
2003-07-17 23:06:36 +00:00
Antoine Levy-Lambert
9866cd8de3 added a pointer to commons-logging.jar in the build/install dependencies list because of the CommonsLoggingListener.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274853 13f79535-47bb-0310-9956-ffa450edef68
2003-07-17 22:43:20 +00:00
Stefan Bodewig
2c9290b454 Point to Benoit's FAQ
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274844 13f79535-47bb-0310-9956-ffa450edef68
2003-07-17 11:05:16 +00:00
Peter Reilly
7b6a46d131 get the tasks imported using <import> to be placed
in-line and not at the end of the current tasks
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274836 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 14:39:44 +00:00
Peter Reilly
b7c2f5f643 Add make's keep-going feature into ANT.
PR: 21144
Obtained from: Alexey Solofnenko


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274834 13f79535-47bb-0310-9956-ffa450edef68
2003-07-16 14:14:38 +00:00
Stefan Bodewig
7411138e08 Detect OpenVMS as <os family>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274803 13f79535-47bb-0310-9956-ffa450edef68
2003-07-10 11:52:50 +00:00
Stefan Bodewig
b6cfe646d5 Don't think you can claim copyright for something that didn't exist.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274800 13f79535-47bb-0310-9956-ffa450edef68
2003-07-10 07:27:20 +00:00
Steve Loughran
238a51ea12 documenting the import task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274798 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 16:24:38 +00:00
Stefan Bodewig
2a0dc6e022 Add destfile attribute to patch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274783 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 13:05:03 +00:00
Stefan Bodewig
b3daf333da Clarify documentation, PR 18007
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274778 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 07:24:53 +00:00
Stefan Bodewig
f2eb856ffd Add support for filename-encodings other than UTF8 to <untar>.
PR: 10504


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274746 13f79535-47bb-0310-9956-ffa450edef68
2003-07-03 13:02:01 +00:00
Peter Reilly
581c1aa795 Remove "outside of target" as this restriction is not
the case for ant 1.6.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274740 13f79535-47bb-0310-9956-ffa450edef68
2003-07-02 14:25:59 +00:00
Stefan Bodewig
19ddd4efbd Typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274732 13f79535-47bb-0310-9956-ffa450edef68
2003-06-30 12:11:41 +00:00
Stefan Bodewig
e3994560a1 Clarify the BSF/Rhino problem
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274731 13f79535-47bb-0310-9956-ffa450edef68
2003-06-30 12:10:36 +00:00
Antoine Levy-Lambert
4f13f33c39 Added the IContract.jar file in the installation dependencies.
Added recommended versions of bsf.jar and js.jar (Rhino)
coming from an email of Peter Reilly.
http://article.gmane.org/gmane.comp.jakarta.ant.user/13887


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274729 13f79535-47bb-0310-9956-ffa450edef68
2003-06-28 15:43:43 +00:00
Peter Reilly
8701272b24 Second patch from antlib update as described in
http://issues.apache.org/bugzilla/show_bug.cgi?id=19897
This patch
   * unifies the type and task definitions into one table
   * types and tasks are represented by a AntTypeDefinition object
   * taskadapter has been generalized to a typeadapter
   * <typedef/> has a number of new attributes:
       - adapter
       - adaptto
       - onerror
   * <taskdef/> html page updated to refer to <typedef/> page

PR: 19897
Submitted by:	Peter Reilly
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274718 13f79535-47bb-0310-9956-ffa450edef68
2003-06-26 08:54:29 +00:00
Stefan Bodewig
a1f6b5b24b Fix typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274707 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 16:07:32 +00:00
Stefan Bodewig
db672be888 2003 and some 'since' information
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274704 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 15:28:23 +00:00
Erik Hatcher
931a037496 #20767 - adding totalproperty and todir attributes to checksum task - submitted by Aslak Hellesoy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274702 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 15:06:12 +00:00