Matthew Jason Benson
c672e8778e
Added multiple targets to <ant> and <antcall> using nested <target> elements.
PR: 5270, 8148, 17071, 6368, 29623
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276629 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
b423ccde3b
Some cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276623 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a22c8c09c8
Follow Conor's and Jose Alberto's advice - improved fix for PR 8689
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276622 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
8d4197a222
Preliminary fix for 8689
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276617 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
89ab1168c9
Don't die if the ant.file property hasn't been set.
Jelly's Ant tag library currently doesn't set this property and each
<ant> task used in Jelly will result in an NPE otherwise.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276290 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
e435980752
Cause AntLikeTasksAtTopLevelTest to pass on cygwin.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276131 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
b5c4bdbec2
Provide error stack for [*]ant[*] and macro call
use same code for import and antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275621 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
048afe4c9c
<ant> with more than one <property file="..."/> child didn't work, PR 23601
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275439 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
74f58bf0f8
Typos
Submitted by: Larry Shatzer (larry dot shatzer at servent dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275232 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
9e7f7bf7be
Verbose it is ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275230 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
d189eb07a3
Mark entry and exit of <ant> and <antcall>
PR: 22718
Submitted by: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275227 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
2ae23a6a4b
Changes to <ant>
do not call the "" target (it gets run anyway)
allow duplicate params with the same name, last
param will be used.
Test cases for above
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275212 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
7b90e493e8
It is legal to omit the target attribute in <ant>, don't die with a NPE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275211 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
03d8b12829
Catch another simple to detect case of infinite antcall loops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275186 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
451172e226
Throw an exception instead of looping forever in top-level <*ant*> task.
PR: 22759
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275176 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9434671efa
removing enum variable
PR: 22345
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275074 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c74c1765b1
Remove unneeded setting of properties in reinit()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
6a434928c1
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274934 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
24eb5693d6
Coding conventions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274859 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
410129735b
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274851 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
4ac04f30c2
Ensure all generated output gets through the output system to the
generating task
PR: 21636
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274840 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e580392c2d
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274776 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
22 years ago
Stefan Bodewig
56d0ca9a29
Add nested <propertyset>s to <ant>, <antcall> and <subant>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274561 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
a88ec34a6e
Fix up handling of input in nested builds.
PR: 18642
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274388 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
dd5a678d41
Javadocing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274022 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
4a9153f9f2
Input handling framework
Non-forked Java tasks can now have their input redirected.
Note that it would be possible to add a noninteractive flag to
Ant preventing any input from System.in in any java classes
druing a build. Would prevent locking up waiting for input
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274021 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
6ceeb5d3da
Much better solution to unterminated output - better backward compat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273938 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
987c943d07
Flush output of Java task when finished.
Propagate indication of whether line is terminated or not
through to project and tasks
PR: 16555
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273930 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2c77b2df1b
Keep track of fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273765 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c38217dcc3
Happy New Year ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273757 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
71bdf3e03d
Ant will try to copy all inheritedReferences. Some may not exist.
Display a warning.
I don't understand very well the code - but we take the name from
"references" ( which is specified by the user ), and assume that
all of them exist. For some reason that's not allways true.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273734 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
387d93e6ec
Make <ftp>'s MKDIR action work recursively (if necessary).
PR: 12576
Submitted by: Kyle Adams <kadams at gfs.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273352 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
38495bec11
Release references to the child project when <ant*> has been done.
PR: 12499
Submitted by: <gregm at bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273321 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
f9121ee81e
Encapsulate some fields in Task and add some deprecation warnings to coresponding fields.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273157 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
28b68ab7d0
Encapsulate usage of project object rather than allowing objects 7 subclasses acessing a protected variable of their super super super .... class.
Deprecated the variable so that that anyone directly referencing variable will get warning and suggestion to use the accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273155 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
706007fa7f
Move all top level elements to an implicit target named "" and make
all othere targets depend on that one.
As a side effect, <description> is now handled by ProjectHelperImpl,
the data type has become unused.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273116 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1c960e7c14
Allow target-less build files by
(1) making project's default attribute optional.
(2) don't run executeTarget(s) if not asked for one
Adapt documentation and <antstructure>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273111 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
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
23 years ago
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
23 years ago
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
23 years ago
Stefan Bodewig
c09d386575
Make sure user-properties remain user-properties.
This is a partial merge of Ant.java from the 1.5 branch (only partial,
sorry Magesh) that is required to avoid a Gump build failure of
avalon-phoenix (which does several nested <ant>'s with varying
inheritall values and ends up with relying on a property that has been
set on the command line but has disappeared).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272796 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
01b5ce6c03
Inherit input handlers in <ant*>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272548 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
9a82620775
Javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272455 13f79535-47bb-0310-9956-ffa450edef68
23 years ago