Hi,
I'm finding a way to configure a global module dependcy programmatically through ant. Does anyone know how to do this? Command line would be ok too.
For example, in order to add "org.javassist" module as global module, I need to modify standalone.sh and add below lines to declare it explicitly :
<
subsystem
xmlns
=
"urn:jboss:domain:ee:1.0"
>
<
global-modules
>
<
module
name
=
"org.javassist"
slot
=
"main"
/>
</
global-modules
>
</
subsystem
>
I'd like it to be configurable in ant task, so that all copying of jars, creating of module.xml and module configuration can be achieved programmatically.
Thanks for your help,
Gan
Forgot to mention that I'm using JBoss 7.1.1.
Thanks