Peter Donald
fa9401b00e
Some cleanups suggested by audit task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271187 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b73026d50f
Simple test for the if task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271186 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d58f3cf424
Add a simple if task that will eventually help with ant1.x compat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271185 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
52c8bfeecf
Make all roles exposed as the classname via runtime lookup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271184 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6eff531b8d
Make role exposed as the classname
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271183 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a13868434f
Expose Roles that are the same as the classname
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271182 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
014cf44f15
Put frame into CM making it accessible as a Service.
This is an ugly hack to enable faster evolution. Will be removed in the future.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271181 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e8e790834d
Made frame implement Component
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271180 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
70d058372a
Avoid audit violation by removing unused field
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271179 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
06ea1d271a
Pass in ExecManager via constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271177 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
87c6f1a9ce
Move patch task into a type library
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271176 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
343325b50f
Remove unused task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271175 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
2b0c8d45ef
Got rid of some audit violations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271170 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
628681c0ca
Make accessor method public (UGLY HACK WARNING!) for time being until tasks are more fully migrated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271121 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
04d2203de8
zap whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271120 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f20fc56a10
Add a constructor to Execute2 that takes the ExecManager service
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271119 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8949b8d6fd
Add in some documentation stuff
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271116 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
27b4ff64f0
Move the delete, touch and mkdir tasks into antlib. CLean and refactor each task to make sure is closer to code-normalized. Also make sure all the messages are capable of being i18n'ed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271115 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2f882dd463
Inline some methods to reduce chance of conflicts with tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271114 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ed9fb8b039
Update test to correct bug introduced
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271113 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a359fcb334
Inline some method that were causing issues with some tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271112 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d79128e782
Convert to use immutable type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271111 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a133994e0a
type -> role for attribute name
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271110 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8ddcf3388a
Minor touchups
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271109 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0f4ea3d22b
Reworked TypeDef classes to work with immutable TypeDefinition objects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271108 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0e949f7027
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271107 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ccdeef5fa0
Merged GeneralTypeDefinition and TypeDefinition into one class.
Made all the TypeDefinition and ConverterTypeDefinition immutable objects as that eases evolution. See mailing list for more explanation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271106 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4c0dbfa05f
Inline getName() method as it was causing conflicts with some tasks.
SO instead of going getName() need to go getContext().getName()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271105 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ad3138e6a1
Include a dummy roles file for testing purposes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271103 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
bbb41d5a55
Renamed abstract VFS tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271101 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b429428ae6
Rename ComponentTestBase to AbstractComponentTest and make AbstractComponentTest abstract.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271099 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
135b671dc7
* Changed typelib descriptor template, to generate definitions for
classes that implement DataType. Generates a <data-type> and
a <task> definition for each DataType.
* Include ant-roles.xml in generated typelibs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271096 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
2705071ab4
Move DefaultFileSystemManager to impl package, to get rid of circular package dependency.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271094 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
25ee1c57c0
Fix NPE when Jar does not contain a typelib descriptor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271092 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
73b65edb32
Change <typedef> -> <type-def>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271091 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9d8b499b75
Update to latest task names as generated via xdoclet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271087 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
faefebd003
Remove descriptors that are no longer needed given the presence of xdoclet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271086 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1de83a9a90
Make sure the security tasks declare their tasks so that xdoclet can pick up the meta-data
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271085 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
76a301989f
Make sure the runtime tasks declare their tasks so that xdoclet can pick up the meta-data
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271084 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d9c0723da0
Make sure the nativelib tasks declare their tasks so that xdoclet can pick up the meta-data
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271083 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
406533f617
Make sure the cvslib tasks declare their tasks so that xdoclet can pick up the meta-data
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271082 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
db80ce0104
Make sure the archive tasks declare their tasks so that xdoclet can pick up the meta-data
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271081 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
050083f8cf
Add in files used to test bzip functionality
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271075 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
021c159b9d
Add in unit test for bzip input/output streams
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271074 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
87ceed8170
* Added TypeDefinition and sub-classes, which are passed to TypeDeployer to
explicitly deploy a type. These replace the multi-arg deployX() methods.
* ConverterDef now sub-classes AbstractTypeDef.
* Changed AbstractTypeDef to use TypeDefinition objects, and to configure
them using the configurer. Removed all setX() methods from AbstractTypeDef
and sub-classes.
* Added some units tests for DefaultDeployer.
* Moved component set-up from DefaultConfigurerTest -> super class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271072 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
04e443acbe
Move across Stefans zip unit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271065 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e05e852a39
Add in a unit test that validates the dependency relationships between different packages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271064 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6679566cca
Rework Environment implementation so that it is part of the ExecManager service. This makes it less coupled to bad practices and also merges all the native execution code into a central place.
Detected by JDepend
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271062 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4c429d5df3
Move environment into impl package as it has several characteristerics that indicate it should be provided by the ExecManager service
Detected by JDepend
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271060 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
819831f11e
Move DefaultProject into builder directory as that is the only place it is used. This is cleaning up the interdependencies between container components..
Detected by JDepend
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271059 13f79535-47bb-0310-9956-ffa450edef68
24 years ago