[jboss-as7-dev] How to add a jar to classpath for all modules?

David M. Lloyd david.lloyd at redhat.com
Wed Nov 23 12:25:45 EST 2011


On 11/23/2011 11:25 AM, Ondřej Žižka wrote:
> Hi,
>
> Hi, I'd like to add some jar to classpath in all AS modules; how can I
> do that? (Except adding it to all mnodules.)
> It's coverage report tool - Emma.
>
> It would only be added for a custom run - hudson job.

What you have to do is put the JAR on the app classpath or the boot 
classpath, and then use -Djboss.modules.system.pkgs to add the relevant 
packages.  See standalone.conf for more information.


-- 
- DML


More information about the jboss-as7-dev mailing list