[root]/proposal/myrmidon/src/test/org/apache/myrmidon/components/classloader/test
libs
(0 files, 0 lines)
extn
(0 files, 0 lines)
shared
(0 files, 0 lines)
unshared
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 4 (100.0%) | 13 (100.0%) | 3.2 |
adammurdoch | 3 (75.0%) | 13 (100.0%) | 4.3 |
donaldp | 1 (25.0%) | 0 (0.0%) | 0.0 |
zappity zap
0 lines of code changed in:
Changed container config from Parameters to Context, to allow Objects to
be used in the config:
* All services that used to implement Parameterizable now implement Contextualizable.
* Changed 'myrmidon.home' to a File, and the paths to File[].
* DefaultEmbeddor now deploys Antlibs from all directories in 'myrmidon.lib.path',
rather than just a single dir. Can't specify alternative service
implementations (temporarily broken).
* Added 'myrmidon.antlib.path', which DefaultWorkspace uses to search for <import>-ed
antlibs.
* Replaced --task-lib-dir with --antlib-path, which appends directories to
'myrmidon.antlib.path'
* Added --ext-path, which appends directories to 'myrmidon.ext.path'.
* DefaultClassLoaderManager now uses the container config to locate the shared
classloader, rather than using the context classloader.
6 lines of code changed in:
VFS Additions:
* Added FileSelector, which allows files to be chosen when doing recursive
operations. Added a couple of implementations. Added a selector parameter
to FileObject.delete() and copy().
* Added FileObject.replicateFile(), which converts a FileObject into a local File.
* Moved replication code out of the Zip provider, into a shared FileReplicator
component. The implemenation is pretty brain-dead, but at very least should
properly clean up temporary files in ant_vfs_cache. Also, local files will
no longer be replicated, but used directly.
* Added FileName.getRelativeName(), and NameScope.DESCENDENT_OR_SELF.
* Now handles providers which are LogEnabled and Disposable.
* Made the local file provider pluggable.
* Providers are now responsible for thier own caching.
* FTP and Zip providers clean up properly. Fixed FTP directory delete.
1 lines of code changed in:
ClassLoader hierarchy changes:
* Use multi-parent ClassLoaders for antlibs and extensions, so that each
extension jar is loaded by a single ClassLoader in the hierarchy. Allows
classes from extensions to be shared across dependent antlibs and extensions.
* Changed contract of ClassLoaderManager.createClassLoader( File[] ), so that
it creates a new ClassLoader each time it is called.
* Changed ExtensionManager, so that it no longer extends PackageRepository.
* Added a few test cases for DefaultClassLoaderManager.
* Moved responsibility for checking myrmidon.home and building the various paths,
from DefaultEmbeddor and DefaultExtensionManager to EmbeddedAnt. Use the
platform path separator for the paths, rather than the | char.
* Use EmbeddedAnt in AbstractProjectTest, rather than using an Embeddor directly.
* AbstractComponentTest was not parameterising or initialising the test
components.
6 lines of code changed in: