Olaf Bergner [
http://community.jboss.org/people/O.Bergner] created the discussion
"[jboss-modules] Volunteering to work on MODULES-3"
To view the discussion, visit:
http://community.jboss.org/message/579882#579882
--------------------------------------------------------------
I recently discovered jboss-modules and instantly liked it. Having been looking around for
some open source project to contribute to I searched jboss-modules' JIRA instance and
chose [MODULES-3|
https://issues.jboss.org/browse/MODULES-3
https://issues.jboss.org/browse/MODULES-3 - Support loading modules from a single jar. The
preliminary results can be viewed at [
https://github.com/obergner/jboss-modules/tree/ob-modules-3
https://github.com/obergner/jboss-modules/tree/ob-modules-3], i.e. I developed my solution
in a topic branch called +ob-modules-3+.
Current status:
1. I implemented JarRepositoryResourceLoader, a ResourceLoader implementation for loading
resource from - you guessed it - a repository that has been compressed into a jar. Taking
the existing JarResourceLoaderTest as a blueprint I implemented
JarRepositoryResourceLoaderTest. This test passes.
2. I implemented JarRepositoryModuleLoader, a ModuleLoader for loading modules from a
repository that has been compressed into a jar. Again, I took the LocalModuleLoaderTest as
a blueprint and implemented JarRepositoryModuleLoaderTest. This test passes.
3. To avoid code duplication I extracted an abstract base class out of
JarFileResourceLoader. Now, JarFileResourceLoader and JarRepositoryResourceLoader derive
from this common base class.
4. To avoid confusion between JarFileResourceLoader and JarRepositoryResourceLoader I
renamed JarResourceLoaderTest to JarFileResourceLoaderTest.
5. In order to be able to reuse ModuleXmlParser I modified it so that most of its methods
now take an URL instead of a File in their parameter list.
6. The JIRA task mentions maven plugins, ant and gradle tasks for converting a file based
repository into a jar repository. I haven't started working on those yet.
So if someone from the core developers could have a look at what little I have so far and
give me some feedback I would be more than happy to continue working on jboss-modules.
Regards,
Olaf
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/579882#579882]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]