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 :
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,
Forgot to mention that I'm using JBoss 7.1.1.