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
Peter Donald
90ff09d91d
Made sure signjar was actually executing command
Fixing a audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270920 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
126ad7cd05
Remove unused member variables
Fixing a audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270919 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
aac16db25b
Made loop expression a simple value rather than a complex expression
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270886 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7d9692d725
Move []s to component type and not postfix variable (like icky c programmers do)
Removed a few unecessary casts
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270885 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1b022c8fbe
Move []s to component type and not postfix variable (like icky c programmers do)
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270884 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3aa4a41c64
Remove unused variable
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270883 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1a3090627d
Made complex loop counter a simple constant
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270882 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
daf1138400
Remove unused method and variables
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270881 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
179cea7fdd
Remove localization stuff as it is unused
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270880 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ac36bf7f96
Don't compare to true in a condition stattement
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270879 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b5b9ac55e8
Reorder declarations for JLS compliance
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270878 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8f2a238c2d
Remove unused local and class variables
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270877 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bc848b4fe1
Dont modify parameters
Remove unused local variable
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270876 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
46dfd8b130
Reorder qualifiers for JLS compliance
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270875 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
12438f83eb
Make sure loop counter not misused
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270874 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ac3448e9c2
Don't use compare to false in conition
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270873 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8e89e1b214
Use StringBuffer in inner loop rather than string
Removing a Audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270872 13f79535-47bb-0310-9956-ffa450edef68
24 years ago