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
Stefan Bodewig
1aca5cf036
Avoid reusing StringBuffers to work around JDK 1.4.1 memory leak.
I'm sure that my changes in most cases are of the paranoid type,
ResourceUtils and FixCRLF look as if they really had a chance of
running into trouble.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274397 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
24436a1c92
Remove email address from sources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274203 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
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
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
Conor MacNeill
bd1810c953
Some simple Javadocs - also reduce scope of Javadoc work to public
for now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272450 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0e1127c22c
Fix up style issues
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272409 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9fb2961443
Adding some @since tags.
cleanups.
Make sure <uptodate> honors property immutability rules.
Remove redundant Enumeration class from ConditionBase
(IntrospectionHelper will have taken care of it now).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272364 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
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
23 years ago
Erik Hatcher
7fec7616d1
Changing "ant:task" to "ant.task" to avoid JDK 1.4 javadoc warnings (XDoclet has been modified to handle this separator too).
Updating the majority of the rest of the tasks with the XDoclet tags. The generated defaults.properties is *almost* the same as the current hand maintained one!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
10aeeab05b
XDoclet fun!
These are harmless Javadoc comment additions for use with the proposal/xdocs runs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271582 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
00013b4e5c
Name is optional for <project>
PR: 5028
Submitted by: jesse.glick@netbeans.com (Jesse Glick)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271052 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
3c7ae9e725
Fix violations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270906 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f3577cdb5c
License police on task definitions:
(1) Make sure there is a Copyright notice on all files.
(2) Make sure all years in which a file has been modified are
listed.
(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
(4) Change some references from Tomcat to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270658 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
7a4e9ca227
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270630 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bec2a0777e
Merge of 1.4.1 changes into Main truck for Gump testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269745 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6c36c507ed
Adapt DTD to recent changes (types can be specified in targets and the
TaskContainer concept).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269390 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c31e31c52a
Make usage of my email address consistent (probably going to change
home provider).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269046 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4053c68fd7
Make antstructure ommit tasks it cannot load properly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268786 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e65f093c8c
Make <antstructure> deal with EnumeratedAttribute attributes whose
values don't match the NMTOKEN production.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268785 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6c287080d4
Make licence statements mention Ant in place of Tomcat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268392 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
8c59db7895
Allow tasks to be added at runtime and only fail if they cannot be
found at runtime.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268005 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a8387980f9
Make the description attribute of Task accesible to build files
(that's what it has been intended for I guess). Add the one for Target
to <anstructure>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267972 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7d54561b80
Added support for data types to be defined at the project level. The
currently implemented data types are <path>, <fileset> and
<patternset>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267959 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2f546331b3
Used the deprecated version of EnumeratedAttribute.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267830 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
1f7eed82cc
Moved EnumeratedAttribute to types as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267828 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2054505cbb
Added a nested patternsetref element to fileset.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267812 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
0325431a65
Make AntStructure compile under 1.1.
Submitted by: Andrew B. Sudell <asudell@acm.org>,
<Glen_Stampoultzis@ansett.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267779 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f04102f8bd
First cut at a task that generates a DTD for the currently running Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267768 13f79535-47bb-0310-9956-ffa450edef68
25 years ago