This content has been marked as final.
Show 6 replies
-
1. Re: jboss-classloading.xml module names
alesj Oct 17, 2008 5:32 PM (in response to dmlloyd)"david.lloyd@jboss.com" wrote:
How are you guys naming your modules?
Dividing code into 3 pieces:
- contract; jboss-xyz-spi
- user usage; jboss-xyz-api
- impl detail; jbos-xyz-plugins
Not every sub-project has api, but we have spi and plugins for all.
We're also letting maven know about the split, hence making it possible for
super advanced users to change impl on top of spi. :-) -
2. Re: jboss-classloading.xml module names
dmlloyd Oct 17, 2008 5:51 PM (in response to dmlloyd)OK, so lowercase names, separated by hyphens ("-") is the convention then. I'll update my projects to match...
-
3. Re: jboss-classloading.xml module names
dmlloyd Oct 17, 2008 5:52 PM (in response to dmlloyd)One more related question... when following the future library deployment model outlined by Sacha and Adrian, are we going to fit existing JARs with jboss-classloading.xml files, or make "wrapper" deployment units for each library that gets deployed?
-
4. Re: jboss-classloading.xml module names
alesj Oct 17, 2008 6:02 PM (in response to dmlloyd)"david.lloyd@jboss.com" wrote:
are we going to fit existing JARs with jboss-classloading.xml files, or make "wrapper" deployment units for each library that gets deployed?
I had this discussion with Scott in Neuchatel a few weeks ago,
and we agreed that we should have both notions available for jboss artifacts:
- (default) jboss-classloading.xml; to have custom control == some additional features
- osgi manifest.mf
The files should be mostly build by some tool, e.g. maven or ivy,
in rare/custom cases we should provide some exception.
For the external libs, we should first look into existing repos
if they perhaps already exist in some osgi-ish form,
else think of some mechanism.
e.g. mapping module/jar name with predetermined CLMD -
5. Re: jboss-classloading.xml module names
dmlloyd Oct 21, 2008 10:45 AM (in response to dmlloyd)Am I correct in assuming that if jboss-classloading.xml is present, any osgi manifest will be ignored?
-
6. Re: jboss-classloading.xml module names
alesj Oct 21, 2008 10:51 AM (in response to dmlloyd)"david.lloyd@jboss.com" wrote:
Am I correct in assuming that if jboss-classloading.xml is present, any osgi manifest will be ignored?
It's all about how we write and order deployers at the end. ;-)
But yes, if you ask me, we should consider our CLMD before anything else.