410 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Stefan Bodewig
ab8b8ef566 Allow <touch>'s datetime attribute to accept seconds as well.
PR: 21014


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274700 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 12:46:57 +00:00
Stefan Bodewig
e4f004d939 Add support for nested dirsets to <apply> and thus to a couple of
subclass-tasks as well.

PR: 20687
Submitted by:	Gus Heck <gus dot heck at olin dot edu>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274696 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 09:16:10 +00:00
Peter Reilly
a812b0a411 Add url attribute to the properties task
PR: 20749
Obtained from: Andrew Ferguson


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274675 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 08:10:21 +00:00
Antoine Levy-Lambert
0b4c9ae65f add cvsroot and package attributes to the output of <cvstagdiff/>
PR: 16081
Submitted by: Rob van Oostrum (rob at springwellfarms dot ca)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274670 13f79535-47bb-0310-9956-ffa450edef68
2003-06-15 20:26:57 +00:00
Antoine Levy-Lambert
348695b35e add a shout of victory against this bug in WHATSNEW and a hint in the doc
(bug was that date specs with spaces in them did not work in cvstagdiff)
PR: 15995


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274669 13f79535-47bb-0310-9956-ffa450edef68
2003-06-15 20:03:03 +00:00
Antoine Levy-Lambert
2bbb06868a Support for SMTP over TLS/SSL in the mail task
PR: 19180


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274636 13f79535-47bb-0310-9956-ffa450edef68
2003-05-28 20:58:03 +00:00
Antoine Levy-Lambert
568d1d1c89 had forgotten to submit manual pages, oops
PR: 5969


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274625 13f79535-47bb-0310-9956-ffa450edef68
2003-05-27 15:33:25 +00:00
Stefan Bodewig
b5bd5af059 Add a nested <bootclasspath> to <java>.
Submitted by:	W. Craig Trader <craig dot trader at lmco dot com>

Do the same for <junit>.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274621 13f79535-47bb-0310-9956-ffa450edef68
2003-05-27 08:49:42 +00:00
Conor MacNeill
38130f9ff1 Update documentation to reflect change in inline manifest regeneration
policy

PR:	20179


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274620 13f79535-47bb-0310-9956-ffa450edef68
2003-05-27 04:40:10 +00:00
Stefan Bodewig
ed475344e7 NonStop Kernel is Unix as far as Ant is concerned.
<attrib> doesn't like to be called with parallel.

<chgrp> and <chown> should also disable the addsourcefile attribute.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274607 13f79535-47bb-0310-9956-ffa450edef68
2003-05-23 13:40:37 +00:00
Antoine Levy-Lambert
944ad04200 Removed ignoremissingbuildfile, following a remark of DD (Dominique Devienne)
in bugzilla.
fileset(s) should be used in the case where some directories do not contain a build file.
PR: 18715


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274606 13f79535-47bb-0310-9956-ffa450edef68
2003-05-22 07:27:51 +00:00
Stefan Bodewig
ecf85b3eb6 Update docs of tasks that inherit new features of <apply> - PR: 20079
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274602 13f79535-47bb-0310-9956-ffa450edef68
2003-05-21 08:55:35 +00:00
Antoine Levy-Lambert
ea42c65bec changes in subant mainly concerning iterations done inside a dirset
new attributes ignoremissingbuildfiles and genericantfile
genericantfile allows to run the same build file with different base dirs
it is not compulsory any more to set the attribute target to quote quote to run the default target
PR: 18715
Submitted by: Andreas Ames (Andreas dot Ames at tenovis dot com)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274600 13f79535-47bb-0310-9956-ffa450edef68
2003-05-21 07:27:26 +00:00
Stefan Bodewig
194f9cafed Make <copy>'s failonerror attribute swallow exception while copying as
well.
PR: 12999


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274594 13f79535-47bb-0310-9956-ffa450edef68
2003-05-19 15:37:31 +00:00
Stefan Bodewig
0d7f1ce40f You can now limit the parallelism of <apply> and <chmod> by using the
new maxparallel attribute.
Submitted by:	Frank A. Hunleth <fhunleth at cs dot wustl dot edu>
used in build.xml to fix PR: 17640

With the new addsourcefile attribute, you can make <apply> ommit the
source file names from the command line.
PR: 13654

<apply> and <chmod> now support nested <filelist>s as well.
PR: 15929

<apply> and <chmod> will display a summary if you set the new verbose
attribute to true.
PR: 19883


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274587 13f79535-47bb-0310-9956-ffa450edef68
2003-05-19 12:18:08 +00:00
Stefan Bodewig
ae4c060035 Skip <input> if it is asked to set a property that has already been set.
PR: 19967


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274585 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 09:22:29 +00:00
Stefan Bodewig
f0c61ad2f5 <javac>'s executable attribute can now also be used to specify the
executable for jikes, jvc, sj or gcj.
PR: 13814

<javac> has a new attribute tempdir that can control the placement of
temporary files.
PR: 19765

A new magic property build.compiler.jvc.extensions has been added that
can be used to turn of Microsoft extensions while using the jvc
compiler.
PR: 19826
Submitted by:	Joseph Walton <joe at kafsemo dot org>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274584 13f79535-47bb-0310-9956-ffa450edef68
2003-05-15 12:44:01 +00:00
Antoine Levy-Lambert
27b9f24bf2 implemented replyto in the EmailTask and the MailLogger.
I have implemented it similarly to the other lists of email addresses (To, CC, Bcc)
because it might actually be easier that way
We might still need a generic parameter collection for other header elements
PR: 19141
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274582 13f79535-47bb-0310-9956-ffa450edef68
2003-05-15 11:30:27 +00:00
Antoine Levy-Lambert
8d0a7dc50a added an example usage of subant with propertyset - request of Dominique Devienne
PR:19181


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274581 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 20:19:14 +00:00
Antoine Levy-Lambert
409a78c704 change the example provided in the subant documentation to subant on a
fileset without failonerror, rather than a subant on a dirset
Submitted by:	Dominique Devienne


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274579 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 15:04:07 +00:00
Stefan Bodewig
05a1f53cbd Similar to PR: 10499, filenames passed in via @argfile needs to be
quoted if they contain spaces in JDK 1.4's javadoc.
PR: 16871

Enable usage of standard tags in <tag> by making description optional.
PR: 18912

Support the -noqualifier switch.
PR: 19288

Add nested <arg> as a more convenient alternative to additionalparams.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274578 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 15:01:12 +00:00
Stefan Bodewig
5f705b8fd7 typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274573 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 11:58:18 +00:00
Stefan Bodewig
f24fd222dd failonerror in <copy> has learned some new tricks a while ago
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274572 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 11:53:41 +00:00
Stefan Bodewig
3f301fd4e5 Remove *encoding attributes from <sync> as they are meaningless when
we are not filtering in <copy>.

Add documentation for <sync>.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274571 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 11:52:08 +00:00
Antoine Levy-Lambert
91a4658afb added a merge point in xdocs for SubAnt and regenerated corresponding manual page
PR:19181 docs of subant task


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274569 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 09:57:38 +00:00
Stefan Bodewig
1b88e53674 Add documentation for propertyset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274564 13f79535-47bb-0310-9956-ffa450edef68
2003-05-12 15:19:18 +00:00
Stefan Bodewig
cf0cc8dc4e Spelling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274558 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 13:41:04 +00:00