[jboss-dev] Further profling: Where should I focus?
Brian Stansberry
brian.stansberry at redhat.com
Tue Jan 5 10:47:22 EST 2010
On 01/05/2010 09:24 AM, Bill Burke wrote:
>
>>> Instead of a jboss-classloading.xml, why not reading the manifest? Or
>>> is somebody working on that?
>>
>> This is something we're definitely planning.
>> I once discussed it with Scott what we should support.
>> Afair, we agreed on supporting both.
>> But as you can see from SS+OSGi_repo story, this is not as trivial as it
>> looks.
>>
>> Once we have this fully in place, DML's modularization, etc,
>> we should make sure we can re-use stuff from SS's repo.
>
>
> There's already a osgi maven bundle plugin. Why not use it?
>
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
>
> Why not use that to generate exported packages? Just tried it out.
> Pretty cool.
>
Looks like that can handle exporting all packages via a simple wildcard.
<build>
<plugins>
<plugin>
....
<configuration>
<instructions>
<Export-Package>*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
--
Brian Stansberry
Lead, AS Clustering
JBoss by Red Hat
More information about the jboss-development
mailing list