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
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
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
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
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
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
Peter Donald
d4bf78d252
Dont reference DefaultEmbeddor directly but via reflection so that the frontend is not directly referencing any objects in component hierarchy.
Detected by JDepend
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271058 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c8fe4cd364
Move DefaultExecutionFrame into workspace package as it is only used from within this package.
Detected by JDepend
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271057 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0c6f46d685
Move CommandLauncher into Launchers package to remove circular dependency between impl and impl.launchers packages.
Detected by JDepend
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271056 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
1e702432eb
Added VFS proposal.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271053 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
0061dd12cf
Got rid of some detail from an error message, so that the mesage
is independent of the method introspection order. This is to get
the unit tests to pass with the IBM JVM.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271031 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
bc34bb06ca
Allow typelibs to define custom roles:
* Add TypeDeployer interface, which allows control over the deployment of
types from a typelib.
* Add RoleManager.addNameRoleMapping().
* TypeManager methods now take a role Class object, rather than role name.
* Replace implicit role and type deployment in DefaultRoleManager.initialize()
and DefaultDeployer.initialize() with explicit createDeployer( ClassLoader )
method.
* DefaultDeployer now keeps track of the ClassLoader created for each typelib.
* Moved all ClassLoader creation to DefaultDeployer, for the time being.
* ConverterDef and AbstractTypeDef now use Deployer, rather than
deploying manually.
* Fixed DefaultMasterConverter for the case where destination is an interface,
and there is no appropriate converter registered.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271030 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
44238fbb62
Added missing messages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271026 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
20ab59bff5
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270989 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
93db46be11
Xalan1 prolly wont be supported in next Ant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270988 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e01513fc37
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270987 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
989d5b31d7
Remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270986 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0999dac1e2
Correct specifier ordering
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270985 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fcf8af1e3c
Dont modify loop counters in for loops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270984 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8c81fc2613
Make sure that the modifiers are in correct order
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270983 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
317e5fa1d0
The audit tool is not fully JLS compliant - wierd that ;)
So need to add in public specifier
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270982 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
89636a5338
Remove test tasks that are no longer relevent given new unit test infrastructure
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270979 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f9f5baaf28
No need to have a test task now that we have junit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270977 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ed7685cd6f
Add in the ability for types to automagicall instantiated based on registration into TypeManager as previously discussed.
Also added unit tests to verify everything works as expected
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270976 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5151a3152d
Reverse logic so that if duplicated typed adders are present then a different message is issued
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270975 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c0aae88c47
Added a simple class to help test the typed adder construct
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270970 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5720f1ccba
Added some extra error messages
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270969 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0fdacdfc1a
Removed "nasty hack-o-rama" by re-catching and re-throwing ConfigurationExceptions up call stack.
Added support for reflection picking up typed adders
Added suppot for adders that tak a Configuration object
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270968 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ff8b6709bc
Made class package access until such a time when it is needed outside package
Added support for reflection picking up typed adders
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270967 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8c9e30ccc9
Made class package access until such a time when it is needed outside package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270965 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9eca90e207
Restyled
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270964 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e29065397c
Add a basic class for fileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270935 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d20cd4d2dd
Add an abstract base class for all file sets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270934 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bab9e2d799
Fixup location of []s
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270933 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ad91082694
Made Execute2 only take Commandlin objects rather than an arrya of strings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270932 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1447e596aa
Cleaned up code and made some violations go away
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270928 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0b93bdd7cd
Made class package access and cleaned up code a little
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270927 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1ec104d65d
Moved NAMELEN constant to TarEntry and made class package access
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270925 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
501b8512d7
Made class package access as it does not need to be accessed outside this package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270924 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
293685575c
Remove unused local variable
Fixing a audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270923 13f79535-47bb-0310-9956-ffa450edef68
24 years ago